vim: change mappings and remove YCM
This commit is contained in:
parent
eccec234c0
commit
59862639ac
2 changed files with 10 additions and 2 deletions
|
@ -4,7 +4,11 @@ set nocompatible
|
||||||
set mouse=
|
set mouse=
|
||||||
|
|
||||||
" leader
|
" leader
|
||||||
let mapleader = ','
|
let mapleader = '\'
|
||||||
|
|
||||||
|
" save on ctrl-s
|
||||||
|
nnoremap <c-s> :w<CR>
|
||||||
|
inoremap <c-s> <Esc>:w<CR>
|
||||||
|
|
||||||
set hidden
|
set hidden
|
||||||
syntax on
|
syntax on
|
||||||
|
@ -18,6 +22,10 @@ imap lll <ESC>
|
||||||
imap hhh <ESC>
|
imap hhh <ESC>
|
||||||
set scroll=11
|
set scroll=11
|
||||||
|
|
||||||
|
" new mappings
|
||||||
|
noremap <C-j> <C-f>
|
||||||
|
noremap <C-k> <C-u>
|
||||||
|
|
||||||
noremap <C-n> :tabn<CR>
|
noremap <C-n> :tabn<CR>
|
||||||
noremap <C-p> :tabp<CR>
|
noremap <C-p> :tabp<CR>
|
||||||
let g:ctrlp_map = '<tab>'
|
let g:ctrlp_map = '<tab>'
|
||||||
|
|
|
@ -24,7 +24,7 @@ pkgs.vim_configurable.customize {
|
||||||
"vim-colorschemes"
|
"vim-colorschemes"
|
||||||
"vim-colorstepper"
|
"vim-colorstepper"
|
||||||
"vim-signify"
|
"vim-signify"
|
||||||
"youcompleteme"
|
# "youcompleteme"
|
||||||
] ++ additionalPlugins;
|
] ++ additionalPlugins;
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue