[NVIM] VSCode config

This commit is contained in:
Fabian Ising
2024-10-05 10:56:06 +02:00
parent cb58e2601b
commit 1a34f11484

View File

@@ -30,6 +30,7 @@ let g:loaded_perl_provider = 0
call plug#begin()
if !exists('g:vscode')
" Warn about plugin updates
Plug 'semanser/vim-outdated-plugins'
@@ -74,12 +75,6 @@ Plug 'rdnetto/YCM-Generator'
" Git
Plug 'tpope/vim-fugitive'
" Comments
Plug 'scrooloose/nerdcommenter'
" Surround
Plug 'tpope/vim-surround'
" Snippets
" Track the engine.
Plug 'SirVer/ultisnips'
@@ -106,6 +101,13 @@ Plug 'fatih/vim-go'
if has("macunix")
Plug 'hashrocket/vim-macdown'
endif
" Comments
Plug 'scrooloose/nerdcommenter'
" Surround
Plug 'tpope/vim-surround'
endif
call plug#end()
@@ -153,11 +155,13 @@ nmap <Leader>mt :tab sp<CR> | " maximize window to new tab
nmap <Leader>. <C-w>= | " Split windows equally
map gb :bnext<CR>
map gB :bNext<CR>
if !exists('g:vscode')
call submode#enter_with('grow/shrink', 'n', '', '<Leader>r', '<Nop>')
call submode#map('grow/shrink', 'n', '', '+', '<C-w>+')
call submode#map('grow/shrink', 'n', '', '-', '<C-w>-')
call submode#map('grow/shrink', 'n', '', '<', '<C-w><')
call submode#map('grow/shrink', 'n', '', '>', '<C-w>>')
endif
set splitbelow
set splitright