Last active
November 15, 2023 12:30
-
-
Save JonathanWillitts/b1636e69f332b79ff52c4a51576efc67 to your computer and use it in GitHub Desktop.
Basic vim config
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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Jonathan Willitts - Basic vim config | |
" | |
" To download and start using: | |
" $ cd ~ | |
" $ wget https://gist.github.com/JonathanWillitts/b1636e69f332b79ff52c4a51576efc67/raw/.vimrc | |
" | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
set background=dark | |
" Display line numbers, cursor position, and vertical line at 80 chars | |
set number | |
set ruler | |
set colorcolumn=80 | |
" Enable syntax highlighting | |
syntax on | |
" Configure tab behaviour | |
set shiftwidth=4 smarttab " Use 4-space indents, intelligently use tab key | |
" for indentation | |
set expandtab " Expand tabs to spaces, never use tab chars | |
set tabstop=8 softtabstop=0 " Set actual tab stops to use *different* | |
" indentation to make stand out from tabs converted | |
" to spaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment