Permalink
Browse files

use omnicomplete

  • Loading branch information...
1 parent 8ff0437 commit 091fd40c312a789f5fd7ebe1474d7e554a6d493b @matzko committed Dec 27, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 plugin/vimrc.vim
View
@@ -9,6 +9,13 @@ set tabstop=4
set shiftwidth=4
set expandtab
+" omnicomplete
+filetype plugin on
+set ofu=syntaxcomplete#Complete
+" choose omnicomplete option with jk keys instead of <C-n> and <C-p>
+inoremap <expr> j ((pumvisible())?("\<C-n>"):("j"))
+inoremap <expr> k ((pumvisible())?("\<C-p>"):("k"))
+
syntax on
set foldmethod=indent

0 comments on commit 091fd40

Please sign in to comment.