Removed adding/changing tabs while not in normal mode, and changed the

unintuitive key combos to Alt-[t,n,p,d,f]
This commit is contained in:
Kevin MacMartin 2014-06-03 22:07:16 -04:00
parent 12f325d11e
commit abcdc6e870

View file

@ -63,11 +63,11 @@
" <Ctrl-Alt-LeftClick> | (A) -> select the paragraph being clicked " <Ctrl-Alt-LeftClick> | (A) -> select the paragraph being clicked
" "
" (tabs) " (tabs)
" <Leader>9 | (A) -> go to the next open tab " <Alt-n> | (N) -> go to the next open tab
" <Leader>0 | (A) -> go to the previous open tab " <Alt-p> | (N) -> go to the previous open tab
" <Leader>- | (A) -> open a new tab " <Alt-t> | (N) -> open a new tab
" <Leader>= | (A) -> create a new tab with vimfiler " <Alt-f> | (N) -> create a new tab with vimfiler
" <Leader>+ | (A) -> create a new tab with a double pane vimfiler " <Alt-d> | (N) -> create a new tab with a double pane vimfiler
" "
" (toggles) " (toggles)
" ?? | (N) -> toggle the quick reference sidebar " ?? | (N) -> toggle the quick reference sidebar
@ -332,21 +332,11 @@
"} "}
"TABS:{ "TABS:{
nnoremap <silent><expr> <Leader>0 ':tabnext<CR>' nnoremap <silent><expr> <A-n> ':tabnext<CR>'
inoremap <silent><expr> <Leader>0 '<C-O>:tabnext<CR>' nnoremap <silent><expr> <A-p> ':tabprev<CR>'
xnoremap <silent><expr> <Leader>0 '<Esc>:tabnext<CR>' nnoremap <silent><expr> <A-t> ':tabnew<CR>'
nnoremap <silent><expr> <Leader>9 ':tabprev<CR>' nnoremap <silent><expr> <A-f> ':VimFiler -tab -project<CR>'
inoremap <silent><expr> <Leader>9 '<Esc>:tabprev<CR>' nnoremap <silent><expr> <A-d> ':VimFiler -tab -project -double<CR>'
xnoremap <silent><expr> <Leader>9 '<Esc>:tabprev<CR>'
nnoremap <silent><expr> <Leader>- ':tabnew<CR>'
inoremap <silent><expr> <Leader>- '<Esc>:tabnew<CR>'
xnoremap <silent><expr> <Leader>- '<Esc>:tabnew<CR>'
nnoremap <silent><expr> <leader>= ':VimFiler -tab -project<CR>'
inoremap <silent><expr> <leader>= '<Esc>:VimFiler -tab -project<CR>'
xnoremap <silent><expr> <leader>= '<Esc>:VimFiler -tab -project<CR>'
nnoremap <silent><expr> <leader>+ ':VimFiler -tab -project -double<CR>'
inoremap <silent><expr> <leader>+ '<Esc>:VimFiler -tab -project -double<CR>'
xnoremap <silent><expr> <leader>+ '<Esc>:VimFiler -tab -project -double<CR>'
"} "}
"TOGGLES:{ "TOGGLES:{