27 lines
640 B
VimL
27 lines
640 B
VimL
" 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
|