Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove tab autocompletion

Not worth the hassle. To reintroduce, have a better look at
https://github.com/thoughtbot/dotfiles/blob/master/vimrc
  • Loading branch information...
commit 8b602df58c081b40aac212d359cc5f4cdecae774 1 parent 036b2b5
@matijs authored
Showing with 0 additions and 12 deletions.
  1. +0 −12 .vimrc
View
12 .vimrc
@@ -84,18 +84,6 @@ set incsearch
set hlsearch
" Clear last found search results
nnoremap <leader><space> :nohlsearch<CR>
-" Tab autocompletion from
-" https://github.com/thoughtbot/dotfiles/blob/master/vimrc
-function InsertTabWrapper()
- let col = col('.') - 1
- if !col || getline('.')[col - 1] !~ '\k'
- return "\<Tab>"
- else
- return "\<C-p>"
- endif
-endfunction
-inoremap <Tab> <C-r>=InsertTabWrapper()<CR>
-inoremap <S-Tab> <C-n>
" Show commands as they are typed
set showcmd
" Show the current mode

0 comments on commit 8b602df

Please sign in to comment.
Something went wrong with that request. Please try again.