Created
April 26, 2018 09:14
-
-
Save meredevelopment/86731ef77137278ca912df2b28d3cb24 to your computer and use it in GitHub Desktop.
Simple Vim config for remote servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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