Permalink
Browse files

using CTRL+Space as Snipmate completion

  • Loading branch information...
1 parent 4b16002 commit 69bd98e14c3988d9f6e6521f939ee9852fdd1bc8 Yodi aditya committed Aug 23, 2011
Showing with 13 additions and 1 deletion.
  1. +1 −1 .vimrc
  2. +12 −0 README.md
View
2 .vimrc
@@ -305,7 +305,7 @@ set backspace=eol,start,indent
"\ "\<lt>C-x>\<lt>C-o><c-r>=pumvisible() ?" .
"\ "\"\\<lt>c-n>\\<lt>c-p>\\<lt>c-n>\" :" .
"\ "\" \\<lt>bs>\\<lt>C-n>\"\<CR>"
-"imap <C-@> <C-Space>
+imap <C-@> <C-Space>
"---- PHP executing shortcut --"
View
12 README.md
@@ -35,6 +35,18 @@ Change your TAB behaviour between PyDiction and Snipmate by follow this link :
http://stackoverflow.com/questions/1687252/with-vim-use-both-snipmate-and-pydiction-together-share-the-tab-key
+But i prefer using CTRL+Space as Snipmate Completion by :
+
+vim .vim/bundle/snipmate.vim/after/plugin/snipMate.vim
+
+Edit start from line 15 :
+
+"ino <silent> <tab> <c-r>=TriggerSnippet()<cr>
+"snor <silent> <tab> <esc>i<right><c-r>=TriggerSnippet()<cr>
+ino <silent> <C-Space> <c-r>=TriggerSnippet()<cr>
+snor <silent> <C-Space> <esc>i<right><c-r>=TriggerSnippet()<CR>
+
+
Dependencies
------------

0 comments on commit 69bd98e

Please sign in to comment.