This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
vimfiles/plugin/00-dustin.vim

30 lines
841 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
" For the GUI, use a lower contrast theme from
" http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/
if has('gui_running')
colorscheme wombat
endif
" Nice font and size (escape spaces) (GUI only)
set guifont=Luxi\ Mono\ 10
" Set GUI size for side-by-side editing
autocmd GUIEnter * set lines=60 columns=169
" 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>