Created
December 13, 2011 11:48
-
-
Save XayOn/1471849 to your computer and use it in GitHub Desktop.
My new Vimrc made from scratch
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
call pathogen#infect() | |
" Clever Tab from VIM Help | |
function! CleverTab() | |
if strpart(getline("."), 0, col('.')-1) =~ '^\s*$' | |
return "\<TAB>" | |
else | |
return "\<C-N>" | |
endfunction | |
set syntax=auto | |
set bg=dark | |
set number | |
set ts=4 | |
set expandtab | |
syntax on | |
filetype plugin on | |
set statusline+=%{fugitive#statusline()} | |
let g:local_vimrc=".vimrc" | |
let g:proj_flags="imstvcg" | |
let g:ragtag_global_maps = 1 | |
let Tlist_Use_Right_Window = 1 | |
let Tlist_WinWidth = 40 | |
map <f5> :TlistToggle<cr> | |
inoremap <TAB> <C-R>=CleverTab()<CR> | |
map <f10> :set paste<cr> | |
map <f11> :set nopaste<cr> | |
map <f4> \be |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment