Skip to content

Instantly share code, notes, and snippets.

@kernelp4nic
Last active July 26, 2016 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kernelp4nic/1eb8e2378f6cfc9281b82faf21922777 to your computer and use it in GitHub Desktop.
Save kernelp4nic/1eb8e2378f6cfc9281b82faf21922777 to your computer and use it in GitHub Desktop.
minimal vimrc for servers
set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after
set nocompatible
set showmode
set backspace=2
syntax on
set hlsearch "highlight searched things
set incsearch "incremental search
set laststatus=2 "show status line
set ignorecase "ignore case
set textwidth=0
set cursorline
set autoread "auto read when file is changed from outside
set ruler "show current position
set nu "show line number
set showmatch "show maching braces
set shiftwidth=2
set tabstop=2
set encoding=utf-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment