Browse files

Tab completion

  • Loading branch information...
1 parent 3e15875 commit d6d98b07ee2aac11e9f24c04ba80cba44f85c314 @pfhayes committed Jul 16, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 .vimrc
View
5 .vimrc
@@ -67,6 +67,11 @@ inoremap <Right> <nop>
autocmd vimenter * if !argc() | NERDTree | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
+" Trying to use completion
+set complete=.,b,u,]
+imap <Leader><Tab> <C-P>
+inoremap <C-Tab> <C-X> <C-L>
+
" Handles lines that are too big for the screen
let &showbreak = '> '
set cpo=n

0 comments on commit d6d98b0

Please sign in to comment.