[NVIM] VSCode config
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user