Skip to content

Instantly share code, notes, and snippets.

@maxmarchuk
Last active May 31, 2016 22:50
Show Gist options
  • Save maxmarchuk/009770e2be4aa220efe8 to your computer and use it in GitHub Desktop.
Save maxmarchuk/009770e2be4aa220efe8 to your computer and use it in GitHub Desktop.
My configuration for vim
syntax on " syntax highlighting
filetype indent on " activates indenting for files
set number " line numbers
colorscheme elflord " set the text/background color scheme
set autoindent "use the indentation level of previous line for the new line
set smartindent "i don't know. make autoindent smarter or something
set expandtab "pressing tab produces spaces
set tabstop=4 "tab expands to 4 spaces
set shiftwidth=4 "when shifting text, shift it over 4 spaces
set hlsearch "highlight text when performing a search
set nowrap "don't wrap text onto new lines
set cursorline "underline current line
set cursorcolumn "place a line on the current column
set ruler "display line & column number in status bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment