Created
October 11, 2019 18:40
-
-
Save curiousyogurt/b829de2680029cd5c3af2c29f51e94c5 to your computer and use it in GitHub Desktop.
A sane, very minimal .vimrc
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
filetype plugin indent on " filetype detection and settings | |
syntax on " syntax highlighting | |
silent! runtime macros/matchit.vim " matchit comes with Vim | |
set nocompatible " not strictly necessary but useful in some scenarios | |
set backspace=indent,eol,start " let the backspace key work "normally" | |
set hidden " hide unsaved buffers | |
set incsearch " incremental search rules | |
set laststatus=2 " not strictly necessary but good for consistency | |
set ruler " shows line number in the status line | |
set switchbuf=useopen,usetab " better behavior for the quickfix window and :sb | |
set tags=./tags;/,tags;/ " search tags files efficiently | |
set wildmenu " better command line completion, shows a list of matches | |
nnoremap gb :buffers<CR>:sb<Space> " quick buffer navigation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment