Skip to content

Instantly share code, notes, and snippets.

View curiousyogurt's full-sized avatar

Curious Yogurt curiousyogurt

View GitHub Profile
@curiousyogurt
curiousyogurt / .vimrc
Created October 11, 2019 18:44
My current .vimrc
packadd minpac
call minpac#init()
" --------------------------------------------------
" Plugins Via Minpac:
" --------------------------------------------------
call minpac#add('k-takata/minpac', {'type': 'opt'}) " Tell minpac to update itself; opt loads it first
" Colourschemes
call minpac#add('cocopon/iceberg.vim') " Iceberg colour scheme
@curiousyogurt
curiousyogurt / .vimrc
Created October 11, 2019 18:40
A sane, very minimal .vimrc
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