diff --git a/_config/nvim/init.vim b/_config/nvim/init.vim index 7588ca9..cbe2f15 100644 --- a/_config/nvim/init.vim +++ b/_config/nvim/init.vim @@ -11,7 +11,7 @@ Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } " Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'} " Plug 'carlitux/deoplete-ternjs', { 'do': 'npm install tern'} Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' } -Plug 'terryma/vim-multiple-cursors' +Plug 'mg979/vim-visual-multi' " Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } " Plug 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' } Plug 'luochen1990/rainbow' @@ -19,21 +19,6 @@ Plug 'luochen1990/rainbow' Plug 'sirver/ultisnips' call plug#end() -let g:deoplete#enable_at_startup = 1 -func! Multiple_cursors_before() - if deoplete#is_enabled() - call deoplete#disable() - let g:deoplete_is_enable_before_multi_cursors = 1 - else - let g:deoplete_is_enable_before_multi_cursors = 0 - endif -endfunc -func! Multiple_cursors_after() - if g:deoplete_is_enable_before_multi_cursors - call deoplete#enable() - endif -endfunc - set completeopt-=preview function! s:insert_gates() @@ -44,10 +29,14 @@ function! s:insert_gates() normal! kk endfunction +let g:mapleader = ',' +let g:VM_leader = ',' let g:rainbow_active = 1 let g:syntastic_enable_racket_racket_checker = 1 +let g:syntastic_cpp_compiler_options = '-std=c++20' let g:syntastic_nasm_nasm_args = '-f elf64' let g:syntastic_python_checkers = ['python'] +let g:syntastic_tex_lacheck_quiet_messages = { 'regex': '\Vpossible unwanted space at' } let g:lsc_auto_map = { \ 'GoToDefinition': '', \ 'GoToDefinitionSplit': [']', ''], @@ -89,11 +78,11 @@ autocmd BufNewFile,BufRead *.asm set filetype=nasm set spelllang=de,en set complete+=kspell -nnoremap :make! -nnoremap :! ./% -nnoremap :Files -nnoremap :terminal -nnoremap :Buffers -nnoremap :Git +noremap :make! +noremap :! ./% +noremap :Files +noremap :terminal +noremap :Buffers +noremap :Git tnoremap