Skip to content

Instantly share code, notes, and snippets.

@steveseguin
Last active December 24, 2023 18:30
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 steveseguin/054ec82c2a36a1de0f8f63f24bcbfadc to your computer and use it in GitHub Desktop.
Save steveseguin/054ec82c2a36a1de0f8f63f24bcbfadc to your computer and use it in GitHub Desktop.
VIM configuration
" place at the end of ~/.vimrc ; create if not already there
" Also, "brew install vim", to install VIM if not already installed on mac. The default VI on MacOS sucks btw
set mouse-=a
set mouse=v
syntax on
set bs=2
set ruler
set paste
hi Comment ctermfg=LightBlue
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
set softtabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
" Does not try to auto-indent when pasting
set paste
" Enable bottom-right line/cursor position
set ruler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment