Remaps leader key to C-w for window mgt
This commit is contained in:
parent
1870aadddb
commit
ce6d38c5e8
1 changed files with 11 additions and 2 deletions
|
@ -123,6 +123,17 @@ nnoremap sp <Esc>:sp<CR>
|
||||||
nnoremap ss <Esc>:sp<CR>
|
nnoremap ss <Esc>:sp<CR>
|
||||||
|
|
||||||
|
|
||||||
|
" Move around splits with <leader>
|
||||||
|
nnoremap <leader>h <C-w>h
|
||||||
|
nnoremap <leader>j <C-w>j
|
||||||
|
nnoremap <leader>k <C-w>k
|
||||||
|
nnoremap <leader>l <C-w>l
|
||||||
|
|
||||||
|
|
||||||
|
" Fuzzy-find open buffer via CtrlP
|
||||||
|
nnoremap <leader>bg :CtrlPBuffer<CR>
|
||||||
|
|
||||||
|
|
||||||
" Buffer creation and management
|
" Buffer creation and management
|
||||||
" Buffer movement
|
" Buffer movement
|
||||||
nnoremap <C-l> :1bnext<CR>
|
nnoremap <C-l> :1bnext<CR>
|
||||||
|
@ -335,8 +346,6 @@ nnoremap <leader>p :CtrlP<CR>
|
||||||
|
|
||||||
" Fuzzy-finds files within cwd.
|
" Fuzzy-finds files within cwd.
|
||||||
" nnoremap <leader>pf :CtrlP<CR>
|
" nnoremap <leader>pf :CtrlP<CR>
|
||||||
" Fuzzy-finds files within open buffers.
|
|
||||||
" nnoremap <leader>pb :CtrlPBuffer<CR>
|
|
||||||
|
|
||||||
" Ignores dirs and files
|
" Ignores dirs and files
|
||||||
let g:ctrlp_custom_ignore = {
|
let g:ctrlp_custom_ignore = {
|
||||||
|
|
Loading…
Reference in a new issue