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=
|
||||
|
||||
" leader
|
||||
let mapleader = ','
|
||||
let mapleader = '\'
|
||||
|
||||
" save on ctrl-s
|
||||
nnoremap <c-s> :w<CR>
|
||||
inoremap <c-s> <Esc>:w<CR>
|
||||
|
||||
set hidden
|
||||
syntax on
|
||||
|
@ -18,6 +22,10 @@ imap lll <ESC>
|
|||
imap hhh <ESC>
|
||||
set scroll=11
|
||||
|
||||
" new mappings
|
||||
noremap <C-j> <C-f>
|
||||
noremap <C-k> <C-u>
|
||||
|
||||
noremap <C-n> :tabn<CR>
|
||||
noremap <C-p> :tabp<CR>
|
||||
let g:ctrlp_map = '<tab>'
|
||||
|
|
|
@ -24,7 +24,7 @@ pkgs.vim_configurable.customize {
|
|||
"vim-colorschemes"
|
||||
"vim-colorstepper"
|
||||
"vim-signify"
|
||||
"youcompleteme"
|
||||
# "youcompleteme"
|
||||
] ++ additionalPlugins;
|
||||
}];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue