Kononenko.ws
Volodymyr Kononenko's Personal Web Site

My .vimrc

Just not to lose my .vimrc configuration posting it here.

execute pathogen#infect()
syntax on
filetype plugin indent on
 
" Statusline
set nocompatible ruler laststatus=2 showcmd showmode number
 
set background=dark
 
" Show line numbers
set number
 
" Mark tabs and trailing spaces
set list listchars=nbsp:·,tab:→\ ,trail:·,extends:>,precedes:<
 
" Remove useless splash screen
set shortmess+=I
 
" Indentation
set smartindent tabstop=4 shiftwidth=4 expandtab
 
" Search
set incsearch ignorecase smartcase hlsearch
 
" Scroll the window so we can always see 10 lines around the cursor
set scrolloff=10
 
" Show a vertical line on a 80th character
set textwidth=80
set colorcolumn=+1
highlight ColorColumn ctermbg=DarkGrey
 
" Start NERDTree with F2 key
map <F2> :NERDTreeToggle<CR>
 
" NERDTree window width
let g:NERDTreeWinSize = 60
 
" cscope find function definition
nmap <c-f> :cs find g <c-r>=expand("<cword>")<cr><cr>


Posted: Volodymyr M. Kononenko on 2013-07-26 at 10:38
Modified: 2013-07-26 at 10:39
Tags:

Comments



   __  ___  ____    ___    __ __   ____
  /  |/  / / __ \  / _ |  / // /  / __/
 / /|_/ / / /_/ / / __ | / _  /  / _/  
/_/  /_/  \___\_\/_/ |_|/_//_/  /_/


Page Tools

Development and Design by Volodymyr Kononenko
Powered by DokuWiki