1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-22 01:03:35 +01:00
dotfiles/vim/vimrc
Eric Teunis de Boone 37123ca4cd Possiblity of having special setups for hostnames
For .Bashrc aswell as generic .Profile
2016-09-26 15:40:04 +02:00

25 lines
510 B
VimL

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif
filetype plugin on
if &term=="xterm"
set t_Co=8
set t_Sb=^[[4%dm
set t_Sf=^[[3%dm
endif
" Set tabbing stuff
set autoindent
set tabstop=4
set shiftwidth=4
set noexpandtab
" Don't wake up system with blinking cursor:
" http://www.linuxpowertop.org/known.php
let &guicursor = &guicursor . ",a:blinkon0"