dotfiles/.vimrc

35 lines
704 B
VimL
Raw Permalink Normal View History

2010-09-27 09:20:00 -05:00
set nobackup
2010-09-26 14:50:47 -05:00
set autoindent
set tabstop=4
set shiftwidth=4
set expandtab
syntax enable
set number
set hlsearch
set incsearch
autocmd BufRead *.java set makeprg=ant
autocmd BufRead *.java set efm=%A\ %#[javac]\ %f:%l:\ %m,%-Z\ %#[javac]\ %p^,%-C%.%#
source ~/.vim/.jdb_java.vim
inoremap <Nul> <C-x><C-o>
"Highlight lines past 80 characters long
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
noremap <F2> :match OverLength /\%80v.\+/
2010-09-27 09:20:00 -05:00
"disable mouse in terminal
se mouse=
"disable arrow keys (force myself to use hjkl
"noremap <Up> ""
"noremap! <Up> <Esc>
"noremap <Down> ""
"noremap! <Down> <Esc>
"noremap <Left> ""
"noremap! <Left> <Esc>
"noremap <Right> ""
"noremap! <Right> <Esc>