Improve some keymaps, instead of overriding standard keys.

Added many convenience mappings for LustyJuggler such as
,lm for rails models, ,lc for controllers, etc
This commit is contained in:
yan
2011-12-12 20:42:54 -08:00
committed by Yan Pritzker
parent 41c6546332
commit 2d8f106d43
10 changed files with 86 additions and 35 deletions

View File

@@ -3,7 +3,16 @@
let g:neocomplcache_enable_at_startup = 1
let g:neocomplcache_enable_camel_case_completion = 1
let g:neocomplcache_enable_underbar_completion = 1
let g:neocomplcache_min_syntax_length = 5
let g:neocomplcache_enable_smart_case = 1
" default # of completions is 100, that's crazy
let g:neocomplcache_max_list = 5
" words less than 3 letters long aren't worth completing
let g:neocomplcache_auto_completion_start_length = 3
" tab completion (from neocomplcache docs)
imap <expr><TAB> neocomplcache#sources#snippets_complete#expandable() ? "\<Plug>(neocomplcache_snippets_expand)" : pumvisible() ? "\<C-n>" : "\<TAB>"
" Choose completions using Apple-Space
inoremap <expr><D-Space> pumvisible() ? "\<C-n>" : "\<TAB>"