Last active
December 24, 2023 18:30
-
-
Save steveseguin/054ec82c2a36a1de0f8f63f24bcbfadc to your computer and use it in GitHub Desktop.
VIM configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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