Skip to content

Instantly share code, notes, and snippets.

@jocho-here
Created May 6, 2018 12:45
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 jocho-here/5efa34c890817f47c394715f979fa6db to your computer and use it in GitHub Desktop.
Save jocho-here/5efa34c890817f47c394715f979fa6db to your computer and use it in GitHub Desktop.
init.vim
colorscheme dracula
set noshowmatch " Disable highlighting matching bracket
set nohlsearch " Disable highlighting in search
set number " Show line numbers
set textwidth=0 " Hard-wrap long lines as you type them.
set expandtab " Insert spaces when TAB is pressed.
set tabstop=4 " Render TABs using this many spaces.
set shiftwidth=4 " Indentation amount for < and > commands.
set nosmartindent " Keep starting indentation for commenting
set autoindent " Automatically indent next line
set linespace=0 " Set line-spacing to minimum.
set nojoinspaces " Prevents inserting two spaces after punctuation on a join (J)
set nostartofline " Do not jump to first character with page commands.
set lazyredraw " buffer screen updates instead of updating all the time
set scrolloff=4 " Keep your cursor away from top/bottom 4 lines
syntax on " Enable vim syntax colors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment