Created
January 28, 2011 22:01
-
-
Save gbluma/801089 to your computer and use it in GitHub Desktop.
vimrc
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
syntax on | |
filetype on | |
colorscheme desert | |
set gfn=Consolas:h10:cANSI | |
set title | |
set backspace=start,indent,eol | |
set number | |
set smartindent | |
set autoindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set softtabstop=4 | |
set autochdir | |
set incsearch | |
set ignorecase | |
set smartcase | |
set ls=2 | |
set ruler | |
set showtabline=2 | |
set formatoptions=qroct | |
set showcmd | |
set ls=2 | |
set ruler | |
set listchars=tab:›\ ,eol:¬ | |
" auto sudo for admin rights (use :w!! to save) | |
cmap w!! %!sudo tee > /dev/null % | |
command! W :w | |
map ,, <C-^> | |
" kill sounds and visual bell | |
set visualbell t_vb= | |
set noeb | |
au! GuiEnter * set vb t_vb= | |
map <silent><A-Right> :tabnext<CR> | |
map <silent><A-Left> :tabprevious<CR> | |
set guioptions-=T | |
source $VIMRUNTIME/mswin.vim | |
behave mswin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment