Replace vim-multi-cursors with vim-visual-multi

This commit is contained in:
Oshgnacknak 2022-01-24 16:34:30 +01:00
parent f2b7cf493e
commit 4b88d4e475
Signed by: Oshgnacknak
GPG key ID: 8CB7375654585956

View file

@ -11,7 +11,7 @@ Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
" Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'} " Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'}
" Plug 'carlitux/deoplete-ternjs', { 'do': 'npm install tern'} " Plug 'carlitux/deoplete-ternjs', { 'do': 'npm install tern'}
Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' } Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' }
Plug 'terryma/vim-multiple-cursors' Plug 'mg979/vim-visual-multi'
" Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } " Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
" Plug 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' } " Plug 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' }
Plug 'luochen1990/rainbow' Plug 'luochen1990/rainbow'
@ -19,21 +19,6 @@ Plug 'luochen1990/rainbow'
Plug 'sirver/ultisnips' Plug 'sirver/ultisnips'
call plug#end() 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 set completeopt-=preview
function! s:insert_gates() function! s:insert_gates()
@ -44,10 +29,14 @@ function! s:insert_gates()
normal! kk normal! kk
endfunction endfunction
let g:mapleader = ','
let g:VM_leader = ','
let g:rainbow_active = 1 let g:rainbow_active = 1
let g:syntastic_enable_racket_racket_checker = 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_nasm_nasm_args = '-f elf64'
let g:syntastic_python_checkers = ['python'] let g:syntastic_python_checkers = ['python']
let g:syntastic_tex_lacheck_quiet_messages = { 'regex': '\Vpossible unwanted space at' }
let g:lsc_auto_map = { let g:lsc_auto_map = {
\ 'GoToDefinition': '<C-]>', \ 'GoToDefinition': '<C-]>',
\ 'GoToDefinitionSplit': ['<C-W>]', '<C-W><C-]>'], \ 'GoToDefinitionSplit': ['<C-W>]', '<C-W><C-]>'],
@ -89,11 +78,11 @@ autocmd BufNewFile,BufRead *.asm set filetype=nasm
set spelllang=de,en set spelllang=de,en
set complete+=kspell set complete+=kspell
nnoremap <F4> :make!<cr> noremap <F4> :make!<cr>
nnoremap <F3> :! ./%<cr> noremap <F3> :! ./%<cr>
nnoremap <A-f> :Files<cr> noremap <A-f> :Files<cr>
nnoremap <A-t> :terminal<cr> noremap <A-t> :terminal<cr>
nnoremap <A-b> :Buffers<cr> noremap <A-b> :Buffers<cr>
nnoremap <A-g> :Git<cr> noremap <A-g> :Git<cr>
tnoremap <C-w> <C-\><C-n><C-w> tnoremap <C-w> <C-\><C-n><C-w>