forked from opensimrt-ros/vim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
77 lines (64 loc) · 2.08 KB
/
.vimrc
File metadata and controls
77 lines (64 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
set mouse=n
set encoding=UTF-8
syntax enable
set shell=/bin/bash
set list
set listchars=eol:⏎,tab:␉·,trail:␠,nbsp:⎵
set guifont=DroidSansMono\ Nerd\ Font\ Mono\ 11
set termguicolors
call plug#begin()
Plug 'preservim/nerdtree' |
\ Plug 'Xuyuanp/nerdtree-git-plugin' |
\ Plug 'ryanoasis/vim-devicons'
Plug 'rafi/awesome-vim-colorschemes'
Plug 'tibabit/vim-templates'
Plug 'ryanoasis/vim-devicons'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'christoomey/vim-tmux-navigator'
"Plug 'ycm-core/YouCompleteMe'
Plug 'tpope/vim-fugitive'
Plug 'junegunn/vim-easy-align'
Plug 'junegunn/vim-github-dashboard'
Plug 'lervag/vimtex'
Plug 'dense-analysis/ale'
Plug 'fbkl/ros_ale_compile'
"Plug 'LaTeX-Suite-aka-Vim-LaTeX'
call plug#end()
let g:tex_flavor='xelatex'
let g:airline_powerline_fonts = 1
let g:NERDTreeFileExtensionHighlightFullName = 1
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * NERDTree | if argc() > 0 || exists("s:std_in") | wincmd p | endif
autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif
let g:webdevicons_enable = 1
let g:webdevicons_enable_nerdtree = 1
let g:webdevicons_enable_airline_tabline = 1
let g:webdevicons_enable_airline_statusline = 1
let g:webdevicons_enable_flagship_statusline = 1
let g:tmpl_search_paths = ['~/Templates']
let g:github_dashboard = { 'username': $GITHUB_USER, 'password': $GITHUB_TOKEN }
let g:vimtex_compiler_latexmk = {
\ 'executable' : 'latexmk',
\ 'options' : [
\ '-xelatex',
\ '-file-line-error',
\ '-synctex=1',
\ '-interaction=nonstopmode',
\ ],
\}
colorscheme molokai
function Test() range
echo system('echo '.shellescape(join(getline(a:firstline, a:lastline), "\n")).'| pbcopy')
endfunction
hi Normal guibg=NONE ctermbg=NONE
filetype plugin indent on
augroup tmux_ft
au!
autocmd BufNewFile,BufRead *.tmux set syntax=bash
augroup END
augroup launch_ft
au!
autocmd BufNewFile,BufRead *.launch set syntax=xml
augroup END