[NVIM] VSCode config
This commit is contained in:
@@ -30,6 +30,7 @@ let g:loaded_perl_provider = 0
|
|||||||
|
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
|
|
||||||
|
if !exists('g:vscode')
|
||||||
" Warn about plugin updates
|
" Warn about plugin updates
|
||||||
Plug 'semanser/vim-outdated-plugins'
|
Plug 'semanser/vim-outdated-plugins'
|
||||||
|
|
||||||
@@ -74,12 +75,6 @@ Plug 'rdnetto/YCM-Generator'
|
|||||||
" Git
|
" Git
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
|
|
||||||
" Comments
|
|
||||||
Plug 'scrooloose/nerdcommenter'
|
|
||||||
|
|
||||||
" Surround
|
|
||||||
Plug 'tpope/vim-surround'
|
|
||||||
|
|
||||||
" Snippets
|
" Snippets
|
||||||
" Track the engine.
|
" Track the engine.
|
||||||
Plug 'SirVer/ultisnips'
|
Plug 'SirVer/ultisnips'
|
||||||
@@ -106,6 +101,13 @@ Plug 'fatih/vim-go'
|
|||||||
if has("macunix")
|
if has("macunix")
|
||||||
Plug 'hashrocket/vim-macdown'
|
Plug 'hashrocket/vim-macdown'
|
||||||
endif
|
endif
|
||||||
|
" Comments
|
||||||
|
Plug 'scrooloose/nerdcommenter'
|
||||||
|
|
||||||
|
" Surround
|
||||||
|
Plug 'tpope/vim-surround'
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
call plug#end()
|
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
|
nmap <Leader>. <C-w>= | " Split windows equally
|
||||||
map gb :bnext<CR>
|
map gb :bnext<CR>
|
||||||
map gB :bNext<CR>
|
map gB :bNext<CR>
|
||||||
|
if !exists('g:vscode')
|
||||||
call submode#enter_with('grow/shrink', 'n', '', '<Leader>r', '<Nop>')
|
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>-')
|
||||||
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 splitbelow
|
||||||
set splitright
|
set splitright
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user