Remaps window-quit to buffer-quit; remaps NERDTree commands
This commit is contained in:
parent
dded5d6497
commit
37dcbc595d
1 changed files with 11 additions and 4 deletions
|
@ -125,6 +125,10 @@ nnoremap zk zc
|
||||||
let mapleader = " "
|
let mapleader = " "
|
||||||
|
|
||||||
|
|
||||||
|
" Switch to MRU'd buffer
|
||||||
|
nnoremap <leader><leader> <C-^>
|
||||||
|
|
||||||
|
|
||||||
" Supports mouse interaction.
|
" Supports mouse interaction.
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
|
||||||
|
@ -178,7 +182,10 @@ nnoremap <leader>h <C-w>h
|
||||||
nnoremap <leader>j <C-w>j
|
nnoremap <leader>j <C-w>j
|
||||||
nnoremap <leader>k <C-w>k
|
nnoremap <leader>k <C-w>k
|
||||||
nnoremap <leader>l <C-w>l
|
nnoremap <leader>l <C-w>l
|
||||||
nnoremap <leader>q <C-w>q
|
|
||||||
|
|
||||||
|
" Delete (i.e. "close") the currently opened buffer
|
||||||
|
nnoremap <leader>q :bdelete<CR>
|
||||||
|
|
||||||
|
|
||||||
" Fuzzy-find open buffer via CtrlP
|
" Fuzzy-find open buffer via CtrlP
|
||||||
|
@ -378,10 +385,10 @@ nnoremap <leader>v8 :resize 40<CR>
|
||||||
let NERDTreeShowHidden = 1
|
let NERDTreeShowHidden = 1
|
||||||
|
|
||||||
" View Directory tree with ctrl + n
|
" View Directory tree with ctrl + n
|
||||||
nnoremap <C-t> :NERDTreeToggle<CR>
|
nnoremap <leader>n :NERDTreeToggle<CR>
|
||||||
|
|
||||||
" View open buffer location in tree.
|
" View open buffer location in tree.
|
||||||
nnoremap <C-o> :NERDTreeFind<CR>
|
nnoremap <leader>f :NERDTreeFind<CR>
|
||||||
|
|
||||||
|
|
||||||
" Jump to the top / bottom of the Viewport
|
" Jump to the top / bottom of the Viewport
|
||||||
|
|
Loading…
Reference in a new issue