Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
drunken-octo-hipster/text/vim/.vimrc
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
53 lines (50 sloc)
1 KB
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
"colorscheme anotherdark | |
set autoindent | |
set backspace=indent,eol,start | |
set expandtab | |
set formatoptions=1 | |
set grepprg=grep\ -nH\ $* | |
set history=50 | |
set hlsearch | |
set ignorecase | |
set incsearch | |
set lbr | |
set mouse=a | |
set nobackup | |
set nocompatible | |
set nostartofline | |
set number | |
set pastetoggle=<F2> | |
set ruler | |
set scrolloff=1 | |
set shiftwidth=4 | |
set showcmd | |
set smartcase | |
set smarttab | |
set tabstop=4 | |
set tags+=$HOME/.vim/tags/python.ctags | |
set t_Co=256 | |
set virtualedit=block | |
set whichwrap=b,s,[,],<,>,h,l | |
set wrap | |
set colorcolumn=80 | |
set textwidth=80 | |
set modeline | |
syntax on | |
filetype plugin indent on | |
autocmd BufWritePre * :%s/\s\+$//e | |
augroup vimrcEx | |
au! | |
autocmd FileType text setlocal textwidth=80 | |
autocmd BufReadPost * | |
\ if line("'\"") > 1 && line("'\"") <= line("$") | | |
\ exe "normal! g`\"" | | |
\ endif | |
augroup END | |
if has("gui_running") | |
if has("gui_gtk2") | |
set guifont=Ubuntu\ Mono\ 8 | |
elseif has("gui_win32") | |
set guifont=Consolas:h11:cANSI | |
endif | |
endif |