Make Cmd-Space work for completion always. Display tab numbers
This commit is contained in:
parent
83ad068ad2
commit
8f193284a9
@ -136,7 +136,6 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
|
|||||||
* ,f - instantly Find definition of class (must have exuberant ctags installed)
|
* ,f - instantly Find definition of class (must have exuberant ctags installed)
|
||||||
* ,z - jump back and forth between last two buffers
|
* ,z - jump back and forth between last two buffers
|
||||||
* ,, or z,, - use EasyMotion - type that and then type one of the highlighted letters.
|
* ,, or z,, - use EasyMotion - type that and then type one of the highlighted letters.
|
||||||
|
|
||||||
* Ctrl-j and Ctrl-k to move up and down roughly by functions
|
* Ctrl-j and Ctrl-k to move up and down roughly by functions
|
||||||
* Ctrl-\ - Show current file in nerd tree
|
* Ctrl-\ - Show current file in nerd tree
|
||||||
* Ctrl-O - Old cursor position - this is a standard mapping but very useful, so included here
|
* Ctrl-O - Old cursor position - this is a standard mapping but very useful, so included here
|
||||||
@ -148,11 +147,11 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
|
|||||||
* ,s - Show buffers in LustyJuggler (use asdfjkl home row keys to then select buffer)
|
* ,s - Show buffers in LustyJuggler (use asdfjkl home row keys to then select buffer)
|
||||||
* ,lf - lusty file finder
|
* ,lf - lusty file finder
|
||||||
* ,lr - lusty file finder from current folder
|
* ,lr - lusty file finder from current folder
|
||||||
|
* ,lm ,lc ,ls - rails specific lusty juggler file finders (models, controllers, specs, etc) - just use the letter for what you want after ,l
|
||||||
|
|
||||||
Rails
|
Rails
|
||||||
|
|
||||||
* ,ru - Rails Unittest - synonym for :AV from rails.vim, opens up the corresponding test/spec to the file you're looking for, in a vertical split
|
* ,ru - Rails Unittest - synonym for :AV from rails.vim, opens up the corresponding test/spec to the file you're looking for, in a vertical split
|
||||||
* ,lm ,lc ,ls - rails specific lusty juggler file finders (models, controllers, specs, etc) - just use the letter for what you want after ,l
|
|
||||||
* \ss to run specs, \ll to run a given spec on a line - using my vim-ruby-conque plugin (https://github.com/skwp/vim-ruby-conque)
|
* \ss to run specs, \ll to run a given spec on a line - using my vim-ruby-conque plugin (https://github.com/skwp/vim-ruby-conque)
|
||||||
|
|
||||||
Search
|
Search
|
||||||
@ -181,7 +180,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
|
|||||||
* vv and ss - vertical and horizontal split windows by double tapping
|
* vv and ss - vertical and horizontal split windows by double tapping
|
||||||
* H,L,I,M - to move left, right, up, down between windows
|
* H,L,I,M - to move left, right, up, down between windows
|
||||||
* Cmd-H and Cmd-L - left an right on tabs
|
* Cmd-H and Cmd-L - left an right on tabs
|
||||||
* Use Cmd-1..Cmd-0 to switch to a specific tab number (like iTerm)
|
* Use Cmd-1..Cmd-0 to switch to a specific tab number (like iTerm) - and tabs have been set up to show numbers
|
||||||
|
|
||||||
Utility
|
Utility
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@ let g:neocomplcache_max_list = 5
|
|||||||
" words less than 3 letters long aren't worth completing
|
" words less than 3 letters long aren't worth completing
|
||||||
let g:neocomplcache_auto_completion_start_length = 3
|
let g:neocomplcache_auto_completion_start_length = 3
|
||||||
|
|
||||||
" Choose completions using Apple-Space
|
" Map standard Ctrl-N completion to Cmd-Space
|
||||||
inoremap <expr><D-Space> pumvisible() ? "\<C-n>" : "\<TAB>"
|
inoremap <D-Space> <C-n>
|
||||||
|
|
||||||
" This makes sure we use neocomplcache completefunc instead of
|
" This makes sure we use neocomplcache completefunc instead of
|
||||||
" the one in rails.vim, otherwise this plugin will crap out
|
" the one in rails.vim, otherwise this plugin will crap out
|
||||||
|
3
vimrc
3
vimrc
@ -101,7 +101,8 @@ if has("gui_running")
|
|||||||
colorscheme solarized
|
colorscheme solarized
|
||||||
set background=dark
|
set background=dark
|
||||||
|
|
||||||
set guitablabel=%M%t
|
" Show tab number (useful for Cmd-1, Cmd-2.. mapping)
|
||||||
|
set guitablabel=%N:\ %t\ %M
|
||||||
set lines=60
|
set lines=60
|
||||||
set columns=190
|
set columns=190
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user