Vimrc updates
This commit is contained in:
Submodule vim.symlink/bundle/Vundle.vim deleted from 5f70ae6025
+24
-2
@@ -13,6 +13,7 @@ function! DoRemote(arg)
|
|||||||
endfunction
|
endfunction
|
||||||
" let Vundle manage Vundle, required
|
" let Vundle manage Vundle, required
|
||||||
" Plug 'Valloric/YouCompleteMe'
|
" Plug 'Valloric/YouCompleteMe'
|
||||||
|
Plug 'sudar/vim-arduino-syntax'
|
||||||
Plug 'bling/vim-airline'
|
Plug 'bling/vim-airline'
|
||||||
Plug 'docunext/closetag.vim'
|
Plug 'docunext/closetag.vim'
|
||||||
Plug 'rizzatti/dash.vim'
|
Plug 'rizzatti/dash.vim'
|
||||||
@@ -20,7 +21,8 @@ Plug 'terryma/vim-expand-region'
|
|||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'othree/html5.vim'
|
Plug 'othree/html5.vim'
|
||||||
Plug 'klen/python-mode'
|
Plug 'klen/python-mode'
|
||||||
Plug 'altercation/vim-colors-solarized'
|
Plug 'jplaut/vim-arduino-ino'
|
||||||
|
" Plug 'altercation/vim-colors-solarized'
|
||||||
Plug 'rstacruz/sparkup'
|
Plug 'rstacruz/sparkup'
|
||||||
Plug 'scrooloose/syntastic'
|
Plug 'scrooloose/syntastic'
|
||||||
Plug 'majutsushi/tagbar'
|
Plug 'majutsushi/tagbar'
|
||||||
@@ -37,6 +39,8 @@ Plug 'Yggdroot/indentLine'
|
|||||||
Plug 'mindriot101/vim-yapf'
|
Plug 'mindriot101/vim-yapf'
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
" Plug 'vim-scripts/TaskList.vim'
|
" Plug 'vim-scripts/TaskList.vim'
|
||||||
|
Plug 'xolox/vim-notes'
|
||||||
|
Plug 'xolox/vim-misc'
|
||||||
Plug 'tpope/vim-vinegar'
|
Plug 'tpope/vim-vinegar'
|
||||||
Plug 'vim-scripts/MatlabFilesEdition'
|
Plug 'vim-scripts/MatlabFilesEdition'
|
||||||
Plug 'lervag/vimtex'
|
Plug 'lervag/vimtex'
|
||||||
@@ -54,6 +58,8 @@ Plug 'jlanzarotta/bufexplorer'
|
|||||||
Plug 'chriskempson/base16-vim', { 'commit': '98aa775c5fd9156ada4f912a9af41f1c020da55d' }
|
Plug 'chriskempson/base16-vim', { 'commit': '98aa775c5fd9156ada4f912a9af41f1c020da55d' }
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
Plug 'danro/rename.vim'
|
Plug 'danro/rename.vim'
|
||||||
|
" Plug 'vim-scripts/LanguageTool'
|
||||||
|
" Plug 'vim-latex/vim-latex'
|
||||||
call plug#end() " required
|
call plug#end() " required
|
||||||
filetype on
|
filetype on
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
@@ -147,7 +153,10 @@ set autochdir
|
|||||||
let g:tex_flavor='latex'
|
let g:tex_flavor='latex'
|
||||||
let g:tex_conceal = ""
|
let g:tex_conceal = ""
|
||||||
|
|
||||||
autocmd BufWritePost *.tex Dispatch! latexmk -pdf
|
autocmd BufWritePost *.tex Dispatch! latexmk -xelatex
|
||||||
|
|
||||||
|
" Syntax highlighting for arduino files.
|
||||||
|
|
||||||
|
|
||||||
" ====================================
|
" ====================================
|
||||||
" Startify Settings
|
" Startify Settings
|
||||||
@@ -165,6 +174,8 @@ if has('autocmd')
|
|||||||
autocmd! BufReadPost,FileReadPost * Neomake
|
autocmd! BufReadPost,FileReadPost * Neomake
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
let g:neomake_cpp_enable_markers=['clang']
|
||||||
|
"let g:neomake_cpp_clang_args = ["-std=c++14"]
|
||||||
"let g:neomake_open_list = 2
|
"let g:neomake_open_list = 2
|
||||||
"
|
"
|
||||||
"let g:neomake_python_enabled_makers = ['pep8', 'pylint']
|
"let g:neomake_python_enabled_makers = ['pep8', 'pylint']
|
||||||
@@ -488,6 +499,10 @@ map <Leader>vs :VimuxInterruptRunner<CR>
|
|||||||
" Focus on tagbar when it is opened
|
" Focus on tagbar when it is opened
|
||||||
let g:tagbar_autofocus = 1
|
let g:tagbar_autofocus = 1
|
||||||
|
|
||||||
|
" ====================================
|
||||||
|
" LanguageTool Settings
|
||||||
|
" ====================================
|
||||||
|
let g:languagetool_jar=system("find $(brew --prefix)/Cellar -name \"languagetool-commandline.jar\" -print -quit | xargs echo -n")
|
||||||
" ====================================
|
" ====================================
|
||||||
" Custom key bindings
|
" Custom key bindings
|
||||||
" ====================================
|
" ====================================
|
||||||
@@ -568,6 +583,7 @@ inoremap <C-h> <ESC>:wincmd h<CR>
|
|||||||
inoremap <C-j> <ESC>:wincmd j<CR>
|
inoremap <C-j> <ESC>:wincmd j<CR>
|
||||||
inoremap <C-k> <ESC>:wincmd k<CR>
|
inoremap <C-k> <ESC>:wincmd k<CR>
|
||||||
inoremap <C-l> <ESC>:wincmd l<CR>
|
inoremap <C-l> <ESC>:wincmd l<CR>
|
||||||
|
|
||||||
" Always enter terminal windows in terminal mode
|
" Always enter terminal windows in terminal mode
|
||||||
autocmd BufWinEnter,WinEnter term://* startinsert
|
autocmd BufWinEnter,WinEnter term://* startinsert
|
||||||
|
|
||||||
@@ -728,4 +744,10 @@ nnoremap <silent> <Leader><Enter> :call fzf#run({
|
|||||||
" endif
|
" endif
|
||||||
" endif
|
" endif
|
||||||
|
|
||||||
|
if (v:version >= 700)
|
||||||
|
highlight SpellBad ctermfg=126 term=Reverse guisp=126 gui=undercurl ctermbg=None
|
||||||
|
highlight SpellCap ctermfg=Green term=Reverse guisp=Green gui=undercurl ctermbg=None
|
||||||
|
highlight SpellLocal ctermfg=Cyan term=Underline guisp=Cyan gui=undercurl ctermbg=None
|
||||||
|
highlight SpellRare ctermfg=Magenta term=underline guisp=Magenta gui=undercurl ctermbg=None
|
||||||
|
endif " version 7+
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user