Skip to content

Instantly share code, notes, and snippets.

@keithkim
Created March 12, 2013 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keithkim/5144584 to your computer and use it in GitHub Desktop.
Save keithkim/5144584 to your computer and use it in GitHub Desktop.
.vimrc
colorscheme ron
set nu
set ai
set tabstop=4
set ruler
set laststatus=2
set showmode
set paste
set expandtab
let loaded_matchparen=1
syntax on
let java_highlight_java_lang_ids=1
let java_highlight_java_io=1
let g:is_sh= 1
let html_my_rendering=1
filetype plugin on
" http://www.vim.org/scripts/script.php?script_id=1785
if has("autocmd")
autocmd Filetype java setlocal omnifunc=javacomplete#Complete
endif
setlocal completefunc=javacomplete#CompleteParamsInfo
inoremap <buffer> <C-X><C-U> <C-X><C-U><C-P>
inoremap <buffer> <C-S-Space> <C-X><C-U><C-P>
nnoremap <F2> :set invpaste paste?<CR>
set pastetoggle=<F2>
set showmode
" for macvim
set guifont=Monaco:h12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment