Tag Archives: vim

My vimrc file

Here’s my vimrc file. Simple, not much, Just some basic stuff for coding.

" Setting the tab stop distance
set tabstop=4 shiftwidth=4
" Places "spaces" instead of "tabs"
set expandtab
" Show line numbers
set number

color torte

" Highlight the current line, also highlights only the focused window.
hi CursorLine cterm=NONE ctermbg=blue ctermfg=NONE
autocmd WinEnter * setlocal cursorline
autocmd WinLeave * setlocal nocursorline
set cursorline

" Encoding
set encoding=utf-8

" Highlight Search Matches
set hlsearch

edit : maybe you’d prefer this extraordinary tool! http://bytefluent.com/vivify/