projects
/
dotfiles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bfe2958
)
De-crufted the .vimrc.
author
David Kerkeslager
<kerkeslager@gmail.com>
Tue, 7 May 2013 04:09:53 +0000
(
00:09
-0400)
committer
David Kerkeslager
<david.kerkeslager@globalpovertyproject.com>
Tue, 4 Aug 2015 15:01:20 +0000
(15:01 +0000)
.vimrc
patch
|
blob
|
history
diff --git
a/.vimrc
b/.vimrc
index
eac5995
..
8bb879a
100644
(file)
--- a/
.vimrc
+++ b/
.vimrc
@@
-11,6
+11,9
@@
set wildignore=*.swp,*.bak,*.pyc,*.class,*.o,*.exe
" Set filetype stuff to on.
filetype on
filetype plugin on
" Set filetype stuff to on.
filetype on
filetype plugin on
+
+" Set up autoindentation.
+set smartindent
filetype indent on
" Example filetype-specific setting:
filetype indent on
" Example filetype-specific setting:
@@
-33,10
+36,6
@@
set scrolloff=5
" Turn off error bells and visual bell
set noeb vb t_vb=
" Turn off error bells and visual bell
set noeb vb t_vb=
-" Set up autoindentation.
-set smartindent
-filetype indent on
-
" Set tabs to width 4.
set softtabstop=4
set tabstop=4
" Set tabs to width 4.
set softtabstop=4
set tabstop=4
@@
-56,9
+55,6
@@
augroup Spacing
autocmd FileType help,make match BadSpacing / *$/
augroup END
autocmd FileType help,make match BadSpacing / *$/
augroup END
-" Highlight search terms.
-set hlsearch
-
" Search as you type.
set incsearch
" Search as you type.
set incsearch
@@
-101,14
+97,5
@@
noremap! <Left> <Esc>
noremap <Right> ""
noremap! <Right> <Esc>
noremap <Right> ""
noremap! <Right> <Esc>
-" Map open and close items in insert mode.
-" Keep this commented out until I can get it working better.
-"inoremap { {<CR>}<Esc>O
-"inoremap [ []<Esc>i
-"inoremap ( ()<Esc>i
-"inoremap } <Esc>/}<CR>o
-"inoremap ] <Esc>/]<CR>a
-"inoremap ) <Esc>/)<CR>a
-
" Automatically reload the .vimrc when changes are made to it
au! BufWritePost .vimrc source %
" Automatically reload the .vimrc when changes are made to it
au! BufWritePost .vimrc source %