Added Command-Space for completions

This commit is contained in:
yan
2011-12-07 13:40:39 -08:00
parent cf732d92d0
commit 9335d7c60b
2 changed files with 2 additions and 0 deletions

View File

@@ -161,6 +161,7 @@ Included vim plugins
* tComment - gcc to comment a line, gcp to comment blocks, nuff said
* sparkup - div.foo#bar - hit ctrl-e, expands into <code><div class='foo' id#bar/></code>, and that's just the beginning
* rails.vim - syntax highlighting, gf (goto file) enhancements, and lots more. should be required for any rails dev
* necomplcache - automatic completion showing, and added Command-Space to select a completion (same as Ctrl-N)
Utils

1
vimrc
View File

@@ -411,3 +411,4 @@ 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
inoremap <expr><D-Space> pumvisible() ? "\<C-n>" : "\<TAB>"