Use ctrl-H ctrl-L for switching tabs to avoid interfering with rspec plugin

This commit is contained in:
yan 2011-12-27 10:43:38 -08:00
parent 5423aaa052
commit 13d0e4e20f
2 changed files with 7 additions and 6 deletions

View File

@ -201,6 +201,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* ,T - Tag list (list of methods in a class)
**File Navigation**
* ,t - Command-T fuzzy file selector
* ,jm jump (command-t) app/models
* ,jc app/controllers
@ -223,7 +224,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
**Tab Navigation**
* Cmd-H and Cmd-L - left an right on tabs
* Ctrl-H and Ctrl-L - left an right on tabs
* Use Cmd-1..Cmd-0 to switch to a specific tab number (like iTerm) - and tabs have been set up to show numbers
**Window Navigation**

View File

@ -86,9 +86,9 @@ nnoremap <silent> L <C-w>l
nnoremap <silent> I <C-w>k
nnoremap <silent> M <C-w>j
" Move between tabs with Cmd-Shift-H and Cmd-Shift-L
map <silent> <D-H> :tabprevious<cr>
map <silent> <D-L> :tabnext<cr>
" Move between tabs with Ctrl-Shift-H and Ctrl-Shift-L
map <silent> <C-H> :tabprevious<cr>
map <silent> <C-L> :tabnext<cr>
" Zoom in and out of current window with ,,
map <silent> ,, <C-w>o
@ -154,7 +154,7 @@ nnoremap ' `
nnoremap ` '
" ============================
" Tabularize - alignment
" Tabularize - alignment
" ============================
" Hit Cmd-Shift-A then type a character you want to align by
nmap <D-A> :Tabularize /
@ -180,7 +180,7 @@ nmap ,bc :ClearBookmarks<cr>
" Abbreviations to use...
" ============================
" snippets that are expanded with space
abbr pry! require 'pry'; binding.pry
abbr pry! require 'pry'; binding.pry
" ============================
" vim-rspec