Skip to content

Instantly share code, notes, and snippets.

@meredevelopment
Created April 26, 2018 09:14
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 meredevelopment/86731ef77137278ca912df2b28d3cb24 to your computer and use it in GitHub Desktop.
Save meredevelopment/86731ef77137278ca912df2b28d3cb24 to your computer and use it in GitHub Desktop.
Simple Vim config for remote servers
set tabstop=4 shiftwidth=4 softtabstop=4 expandtab "set tab, backspace and indent width to 4 spaces.
set shiftround "round-up indents to a multiple of shiftwidth.
set listchars=tab:▸\ ,eol:¬,trail:~,extends:>,precedes:<,nbsp:• "set/add invisibles characters.
set list "make whitespace visible.
set number "add line numbers.
set hlsearch "highlight search terms.
set nowrap "set non-wraping lines.
set backspace=indent,eol,start "allow backspace to pass end of lines etc.
set autoindent "autoindent on LF.
set copyindent "copy previous indentation when autoindenting.
set whichwrap=<,>,[,] "allow cursor keys to wrap in all modes.
set autochdir "upon file open, change current directory to file's directory.
colorscheme slate "set the colorscheme to the best of a bad bunch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment