Skip to content

Instantly share code, notes, and snippets.

@Amwam
Created April 6, 2018 17:09
Show Gist options
  • Save Amwam/af4163d0e580b896bec08af57225e82f to your computer and use it in GitHub Desktop.
Save Amwam/af4163d0e580b896bec08af57225e82f to your computer and use it in GitHub Desktop.
Basic .vimrc
syntax on " syntax highlighting
set gdefault " global search and replace
set incsearch " incremental search, show results as you type
set ignorecase " case insensitive search
set smartcase " if you use capitals in search, swtich to case sensitive
set number " show line numbers
set mouse=a " mouse support
set autoindent " alway set autoindenting on
set copyindent " copy the previous indentiation on autoindenting
set clipboard=unnamed " use the system clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment