Editor of the Beast
Extend default configuration:
unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
set mouse-=a
Open files ending with .pl
as prolog files:
let g:filetype_pl="prolog"
With the relativenumber
option, each line in your file is numbered relative to
the cursor’s current position to show the distance to that line.
set number relativenumber
Show the cursor position all the time
set ruler
Don’t wake up system with blinking cursor.
let &guicursor = &guicursor . ",a:blinkon0"
Use terminal colors
set notermguicolors
set t_Co=8
Set color of line numbers:
highlight LineNr ctermfg=white
highlight CursorLineNr ctermfg=red
set cursorline
set cursorlineopt=number