Created
January 5, 2014 21:10
-
-
Save alanboy/8273913 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
set nocompatible | |
source $VIMRUNTIME/vimrc_example.vim | |
source $VIMRUNTIME/mswin.vim | |
behave mswin | |
set list | |
set listchars=tab:>-,trail:~,eol:¶,precedes:<,nbsp:· | |
set nobackup | |
set tabstop=4 | |
set noexpandtab | |
set shiftwidth=4 | |
set number | |
set noswapfile | |
set guioptions=ic | |
set clipboard=unnamed | |
set sessionoptions+=resize,winpos | |
set background=dark | |
"set lines=45 | |
"set columns=156 | |
set ignorecase | |
set nowrap | |
" set vim to chdir for each file | |
if exists('+autochdir') | |
set autochdir | |
else | |
autocmd BufEnter * silent! lcd %:p:h:gs/ /\\ / | |
endif | |
" It's often handy to open the folder that corresponds to a file I'm editing | |
" (as much as I hate to leave Vim!) I've added this mapping: | |
map <C-e> :!start cmd %:p:h:gs?\/?\\\\\\?<CR> | |
set incsearch | |
set ignorecase | |
set smartcase | |
set hlsearch | |
" i have no idea | |
set wildmenu | |
set path=$PWD\\** | |
if has("gui_running") | |
set guifont=Consolas:h12:cANSI | |
endif | |
hi clear | |
let colors_name = "vividchalk" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment