Skip to content

Instantly share code, notes, and snippets.

@nobuh
Created September 20, 2017 01:08
Show Gist options
  • Save nobuh/403a0b121982e9d2070aeac533029ee1 to your computer and use it in GitHub Desktop.
Save nobuh/403a0b121982e9d2070aeac533029ee1 to your computer and use it in GitHub Desktop.
my vimrc
" To insert spaces whenever the tab key is pressed.
" To expand existing tabs, use :retab
set expandtab
" Number of spaces inserted for indentation.
set shiftwidth=4
" BS delete spaces for tabs
set smarttab
" Without .swap files
set noswapfile
set tabstop=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment