Last active
August 29, 2015 14:03
-
-
Save larssmit/8b55095e727b18f14709 to your computer and use it in GitHub Desktop.
My .gvimrc.before
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
" ----------------------------------------------------------------------------- | |
" VIM Configuration for Janus (https://github.com/carlhuda/janus.git) | |
" Lars Smit [email protected] | |
" ----------------------------------------------------------------------------- | |
" ----------------------------------------------------------------------------- | |
" Basics | |
" ----------------------------------------------------------------------------- | |
set encoding=utf8 | |
set noswapfile | |
set nocompatible | |
set hidden | |
set history=1000 | |
" ----------------------------------------------------------------------------- | |
" Gui settings | |
" ----------------------------------------------------------------------------- | |
colorscheme lucius | |
LuciusBlackHighContrast | |
set guifont=Monaco:h14 | |
set showtabline=2 | |
set linespace=2 | |
" ----------------------------------------------------------------------------- | |
" Set VIM window settings | |
" ----------------------------------------------------------------------------- | |
if has("gui_running") | |
set guioptions-=T "Remove toolbar | |
set transparency=0 | |
set guioptions=aAce | |
set undofile | |
endif | |
" ----------------------------------------------------------------------------- | |
" NERDTree configuration | |
" ----------------------------------------------------------------------------- | |
let NERDChristmasTree = 1 | |
let NERDTreeHighlightCursorline = 1 | |
let NERDTreeShowBookmarks = 1 | |
let NERDTreeStatusline = 1 | |
let NERDTreeSortOrder = ['\/$', '*', '\.swp$', '\.bak$', '\~$'] | |
let NERDTreeWinSize = 45 | |
let NERDTreeChDirMode= 2 | |
" ----------------------------------------------------------------------------- | |
" Status line customization | |
" ----------------------------------------------------------------------------- | |
set statusline=%<%t\ %h%w%m%r%y%=C:%v\ L:%l/%L\ (%p%%) | |
set laststatus=2 | |
" ----------------------------------------------------------------------------- | |
" Set ruler | |
" ----------------------------------------------------------------------------- | |
set ruler | |
set rulerformat=%=%h%m%r%w\ %(%c%V%),%l/%L\ %P | |
" ----------------------------------------------------------------------------- | |
" Search settings | |
" ----------------------------------------------------------------------------- | |
set ignorecase | |
set smartcase | |
set incsearch "Find the next match as we type the search | |
set hlsearch "Hilight searches by default | |
" ----------------------------------------------------------------------------- | |
" Scrolling settings | |
" ----------------------------------------------------------------------------- | |
set scrolloff=8 "Start scrolling when we're 8 lines away from margins | |
set sidescrolloff=15 | |
set sidescroll=1 | |
" ----------------------------------------------------------------------------- | |
" No sound on errors | |
" ----------------------------------------------------------------------------- | |
set noerrorbells | |
set novisualbell | |
" ----------------------------------------------------------------------------- | |
" Open Buffergator in a horizontally window | |
" ----------------------------------------------------------------------------- | |
let g:buffergator_autoexpand_on_split = 0 | |
let g:buffergator_viewport_split_policy = "B" | |
let g:buffergator_split_size = 15 | |
" ----------------------------------------------------------------------------- | |
" Mapping for generating CTags file for project | |
" ----------------------------------------------------------------------------- | |
map <Leader>ta :!ctags -R .<CR> | |
" ----------------------------------------------------------------------------- | |
" Set Undo files dir | |
" ----------------------------------------------------------------------------- | |
set undofile | |
set undodir=~/.vim/_temp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment