Massive vim coolness
git-svn-id: http://photonzero.com/dotfiles/trunk@22 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
c87a962056
commit
86cc58a3d4
13 changed files with 4583 additions and 138 deletions
9
.vimrc
9
.vimrc
|
|
@ -2,7 +2,7 @@ syntax on
|
|||
"colorscheme slate
|
||||
"colorscheme dante
|
||||
colorscheme barak
|
||||
set gfn=Monaco:h12:a
|
||||
"set gfn=Monaco:h12:a
|
||||
set ts=4
|
||||
set nocompatible
|
||||
set smartcase
|
||||
|
|
@ -18,6 +18,9 @@ source ~/.vim/plugin/AppleT.vim
|
|||
au BufNewFile,BufRead motd.public,/tmp/motd.public.r.* setf motd
|
||||
"Highlighting features
|
||||
autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete
|
||||
autocmd FileType python set tags+=$HOME/.vim/tags/python.ctags
|
||||
autocmd FileType python set omnifunc=pythoncomplete#Complete
|
||||
autocmd FileType python call SuperTabSetCompletionType("<C-X><C-O>")
|
||||
let python_highlight_all = 1
|
||||
|
||||
set t_Co=16
|
||||
|
|
@ -30,6 +33,7 @@ nnoremap gc :tabnew<CR>
|
|||
nnoremap gK :tabclose<CR>
|
||||
nnoremap gn gt
|
||||
nnoremap gp gT
|
||||
nnoremap gz :pclose<CR>
|
||||
nmap P o<Esc>p
|
||||
nnoremap j gj
|
||||
nnoremap k gk
|
||||
|
|
@ -54,4 +58,7 @@ if !exists(":W")
|
|||
command W :w
|
||||
endif
|
||||
|
||||
command SaveSession :mksession! ~/.vim_last_session
|
||||
command LoadSession :source ~/.vim_last_session
|
||||
|
||||
"inoremap ;a <esc>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue