Use ctrl-H ctrl-L for switching tabs to avoid interfering with rspec plugin
This commit is contained in:
parent
5423aaa052
commit
13d0e4e20f
@ -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)
|
* ,T - Tag list (list of methods in a class)
|
||||||
|
|
||||||
**File Navigation**
|
**File Navigation**
|
||||||
|
|
||||||
* ,t - Command-T fuzzy file selector
|
* ,t - Command-T fuzzy file selector
|
||||||
* ,jm jump (command-t) app/models
|
* ,jm jump (command-t) app/models
|
||||||
* ,jc app/controllers
|
* ,jc app/controllers
|
||||||
@ -223,7 +224,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
|
|||||||
|
|
||||||
**Tab Navigation**
|
**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
|
* 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**
|
**Window Navigation**
|
||||||
|
@ -86,9 +86,9 @@ nnoremap <silent> L <C-w>l
|
|||||||
nnoremap <silent> I <C-w>k
|
nnoremap <silent> I <C-w>k
|
||||||
nnoremap <silent> M <C-w>j
|
nnoremap <silent> M <C-w>j
|
||||||
|
|
||||||
" Move between tabs with Cmd-Shift-H and Cmd-Shift-L
|
" Move between tabs with Ctrl-Shift-H and Ctrl-Shift-L
|
||||||
map <silent> <D-H> :tabprevious<cr>
|
map <silent> <C-H> :tabprevious<cr>
|
||||||
map <silent> <D-L> :tabnext<cr>
|
map <silent> <C-L> :tabnext<cr>
|
||||||
|
|
||||||
" Zoom in and out of current window with ,,
|
" Zoom in and out of current window with ,,
|
||||||
map <silent> ,, <C-w>o
|
map <silent> ,, <C-w>o
|
||||||
@ -154,7 +154,7 @@ nnoremap ' `
|
|||||||
nnoremap ` '
|
nnoremap ` '
|
||||||
|
|
||||||
" ============================
|
" ============================
|
||||||
" Tabularize - alignment
|
" Tabularize - alignment
|
||||||
" ============================
|
" ============================
|
||||||
" Hit Cmd-Shift-A then type a character you want to align by
|
" Hit Cmd-Shift-A then type a character you want to align by
|
||||||
nmap <D-A> :Tabularize /
|
nmap <D-A> :Tabularize /
|
||||||
@ -180,7 +180,7 @@ nmap ,bc :ClearBookmarks<cr>
|
|||||||
" Abbreviations to use...
|
" Abbreviations to use...
|
||||||
" ============================
|
" ============================
|
||||||
" snippets that are expanded with space
|
" snippets that are expanded with space
|
||||||
abbr pry! require 'pry'; binding.pry
|
abbr pry! require 'pry'; binding.pry
|
||||||
|
|
||||||
" ============================
|
" ============================
|
||||||
" vim-rspec
|
" vim-rspec
|
||||||
|
Loading…
Reference in New Issue
Block a user