Attempting to eliminate the need for ~/.vimrc and ~/.gvimrc

This commit is contained in:
Dustin C. Hatch
2011-12-15 11:07:15 -06:00
parent d383b7f11d
commit 348005d07a
2 changed files with 8 additions and 7 deletions

26
plugin/00-dustin.vim Normal file
View File

@@ -0,0 +1,26 @@
" enble modelines (i.e. `# vim: set ft=rst`, etc.)
set modeline
" Need line numbers, of course
set number
" Incremental search (i.e. find-as-you-type)
set incsearch
" Big fat red bar telling you your lines are too long
set colorcolumn=80
" Open windows with `:vsplit` on the right instead of the left
set splitright
" Use a dark theme for console editing
colorscheme torte
" The ESC key is way out of the way. Use jj to switch to normal mode
inoremap jj <esc><right>
" Shift+Tab to un-indent
inoremap <S-TAB> <C-D>
if has('gui_running')
colorscheme wombat
endif
autocmd GUIEnter * set lines=60 columns=169
set guifont=Luxi\ Mono\ 10