Created
February 26, 2009 07:16
-
-
Save vagmi/70719 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filetype plugin on | |
"filetype off | |
call pathogen#helptags() | |
call pathogen#runtime_append_all_bundles() | |
set vb | |
set autoindent | |
set smarttab | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
set ic | |
set guifont=Monaco:h14 | |
set foldmethod=syntax | |
set foldcolumn=2 | |
set linebreak | |
" i really need the long lines mode | |
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 | |
set statusline=%F%m%r%h%w\ [TYPE=%Y]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]\ %{fugitive#statusline()} | |
set laststatus=2 | |
" Tlist settings | |
let Tlist_Use_Right_Window=1 | |
let Tlist_Auto_Open=1 | |
let Tlist_Exit_OnlyWindow=1 | |
let Tlist_File_Fold_Auto_Close=1 | |
let Tlist_Enable_Fold_Column=0 | |
" Underline the current line with dashes in normal mode | |
nnoremap <F5> yyp<c-v>$r- | |
" Underline the current line with dashes in insert mode | |
inoremap <F5> <Esc>yyp<c-v>$r-A | |
if has("gui_macvim") | |
" look pretty in macvim only | |
colo vividchalk | |
endif | |
set backupdir=~/.vim/backup | |
set directory=~/.vim/tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment