First import
git-svn-id: http://photonzero.com/dotfiles/trunk@1 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
commit
83d40113d2
60 changed files with 4264 additions and 0 deletions
41
.vimrc
Normal file
41
.vimrc
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
syntax on
|
||||
"colorscheme slate
|
||||
"colorscheme dante
|
||||
colorscheme barak
|
||||
set ts=4
|
||||
set nocompatible
|
||||
set smartcase
|
||||
|
||||
"Sources
|
||||
source ~/.vim/supertab.vim
|
||||
source ~/.vim/charm.vim
|
||||
"source ~/.vim/syntax/motd.vim
|
||||
|
||||
au BufNewFile,BufRead motd.public,/tmp/motd.public.r.* setf motd
|
||||
"Highlighting features
|
||||
autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete
|
||||
let python_highlight_all = 1
|
||||
|
||||
set t_Co=16
|
||||
set t_Sf=ESC[3%dm
|
||||
set t_Sb=ESC[4%dm
|
||||
|
||||
"Remappings
|
||||
nnoremap gn :tabnew<CR>
|
||||
nnoremap gc :tabclose<CR>
|
||||
nnoremap j gj
|
||||
nnoremap k gk
|
||||
vnoremap j gj
|
||||
vnoremap k gk
|
||||
nnoremap <Down> gj
|
||||
nnoremap <Up> gk
|
||||
vnoremap <Down> gj
|
||||
vnoremap <Up> gk
|
||||
inoremap <Down> <C-o>gj
|
||||
inoremap <Up> <C-o>gk
|
||||
|
||||
if !exists(":W")
|
||||
command W :w
|
||||
endif
|
||||
|
||||
inoremap ;a <esc>
|
||||
Loading…
Add table
Add a link
Reference in a new issue