Skip to content

Instantly share code, notes, and snippets.

@gsw945
Last active August 6, 2022 07:52
Show Gist options
  • Save gsw945/78044a87fea7719ad686bee56ac13f6b to your computer and use it in GitHub Desktop.
Save gsw945/78044a87fea7719ad686bee56ac13f6b to your computer and use it in GitHub Desktop.
`~/.vimrc`
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
" Highlight current line
set cursorline
" display line number
set number
" filemode
set fileformat=unix
@gsw945
Copy link
Author

gsw945 commented May 21, 2021

enforce

:source ~/.vimrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment