Skip to content

Instantly share code, notes, and snippets.

@Spaceghost
Created December 28, 2010 22:44
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 Spaceghost/757851 to your computer and use it in GitHub Desktop.
Save Spaceghost/757851 to your computer and use it in GitHub Desktop.
Mah config section
set nocompatible " use vim defaults
set ls=2 " allways show status line
set tabstop=2 " numbers of spaces of tab character
set shiftwidth=2 " numbers of spaces to (auto)indent
set scrolloff=3 " keep 3 lines when scrolling
set showcmd " display incomplete commands
set hlsearch " highlight searches
set incsearch " do incremental searching
set ruler " show the cursor position all the time
set visualbell t_vb= " turn off error beep/flash
set novisualbell " turn off visual bell
set nobackup " do not keep a backup file
set number " show line numbers
set ignorecase " ignore case when searching
"set noignorecase " don't ignore case
set title " show title in console title bar
set ttyfast " smoother changes
"set autoindent " always set autoindenting on
"set smartindent " smart indent
"set cindent " cindent
"set noautoindent
"set nosmartindent
"set nocindent
":set mouse=a
set expandtab " tabs are converted to spaces, use only when required
set sm " show matching braces, somewhat annoying...
set nowrap " don't wrap lines
syntax on " syntax highlighing
map ,e :e ~/.vimrc<cr> " edit my .vimrc file
map ,u :source ~/.vimrc<cr> " update the system settings from my vimrc file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment