36 lines
736 B
VimL
Executable File
36 lines
736 B
VimL
Executable File
set nobackup
|
|
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
|
|
match OverLength /\%80v.\+/
|
|
autocmd BufAdd .* match OverLength /\%80v.\+/
|
|
|
|
"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>
|
|
|