From 9335d7c60ba9c669dc84c043a0a567ab32e023da Mon Sep 17 00:00:00 2001 From: yan Date: Wed, 7 Dec 2011 13:40:39 -0800 Subject: [PATCH] Added Command-Space for completions --- README.md | 1 + vimrc | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index eb037fca..d00d4c18 100644 --- a/README.md +++ b/README.md @@ -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
, 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 diff --git a/vimrc b/vimrc index 56c0295a..29ea075a 100644 --- a/vimrc +++ b/vimrc @@ -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 pumvisible() ? "\" : "\"