-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
28 lines (22 loc) · 728 Bytes
/
Copy path.vimrc
File metadata and controls
28 lines (22 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set nocompatible
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
set nobackup
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
set tabstop=4
syntax on
autocmd Filetype java setlocal omnifunc=javacomplete#Complete
autocmd Filetype java inoremap <buffer> . .<C-X><C-O><C-P>
" Taglist plugin
map <F5> :TlistToggle<CR>
let Tlist_WinWidth = 30
let Tlist_Use_Right_Window = 1
let Tlist_Use_SingleClick = 1
map <F8> :! ctags -R .<CR>
" NERDTree plugin
map <F2> :NERDTreeMirror<CR>
map <F3> :NERDTreeToggle<CR>
map <F12> <ESC>:!ant<CR>