projects
/
dotfiles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1c26f72
)
Adding in some bash-style tab completion.
author
David Kerkeslager
<kerkeslager@gmail.com>
Tue, 14 Sep 2010 15:59:58 +0000
(08:59 -0700)
committer
David Kerkeslager
<david.kerkeslager@globalpovertyproject.com>
Tue, 4 Aug 2015 14:54:26 +0000
(14:54 +0000)
.vimrc
patch
|
blob
|
history
diff --git
a/.vimrc
b/.vimrc
index
10703a9
..
b17c535
100644
(file)
--- a/
.vimrc
+++ b/
.vimrc
@@
-1,10
+1,14
@@
" Don't imitate vi.
set nocompatible
" Don't imitate vi.
set nocompatible
+" Make tab-completion work more like bash.
+set wildmenu
+set wildmode=list:full
+
" Ignore certain file extensions when tab-completing.
" Ignore certain file extensions when tab-completing.
-set wildignore=*.swp,*.bak,*.pyc,*.class,*.o
+set wildignore=*.swp,*.bak,*.pyc,*.class,*.o
,*.exe
-"
set filetype stuff to on
+"
Set filetype stuff to on.
filetype on
filetype plugin on
filetype indent on
filetype on
filetype plugin on
filetype indent on
@@
-31,10
+35,10
@@
set tabstop=4
set shiftwidth=4
set expandtab
set shiftwidth=4
set expandtab
-" Allow backspacing over everything in insert mode
+" Allow backspacing over everything in insert mode
.
set backspace=indent,eol,start
set backspace=indent,eol,start
-"Highlight bad spacing
+"Highlight bad spacing
.
highlight BadSpacing term=standout ctermbg=cyan
augroup Spacing
autocmd!
highlight BadSpacing term=standout ctermbg=cyan
augroup Spacing
autocmd!
@@
-61,7
+65,7
@@
set splitbelow splitright
" Line wrapping off
set nowrap
" Line wrapping off
set nowrap
-" Enlarge history and undo/redo buffers
+" Enlarge history and undo/redo buffers
.
set history=1000
set undolevels=1000
set history=1000
set undolevels=1000