" Mindless copy and paste command: " " # Standard Linux / GNU tools " wget -O ~/.vimrc https://andrew-quinn.me/vimrc.txt " curl -fsSL https://andrew-quinn.me/vimrc.txt -o ~/.vimrc " busybox wget -q -O ~/.vimrc https://andrew-quinn.me/vimrc.txt " " # BSD Systems (NetBSD, OpenBSD, etc. use ftp; FreeBSD uses fetch) " ftp -o ~/.vimrc https://andrew-quinn.me/vimrc.txt " fetch -o ~/.vimrc https://andrew-quinn.me/vimrc.txt " " # Windows PowerShell " iwr https://andrew-quinn.me/vimrc.txt -OutFile $HOME\.vimrc " " # Emergency Interpreter One-Liners (Python, Ruby, Perl, PHP) " python3 -c "import urllib.request,os;urllib.request.urlretrieve('https://andrew-quinn.me/vimrc.txt',os.path.expanduser('~/.vimrc'))" " ruby -e 'require "open-uri";File.write(File.expand_path("~/.vimrc"), URI.open("https://andrew-quinn.me/vimrc.txt").read)' " perl -MLWP::Simple -e 'getstore("https://andrew-quinn.me/vimrc.txt", "$ENV{HOME}/.vimrc")' " php -r "copy('https://andrew-quinn.me/vimrc.txt', getenv('HOME') . '/.vimrc');" " " Requires Vim 9. set number relativenumber " Show hybrid line numbers set cursorline " Highlight the current line set cursorcolumn " Highlight the current column set scrolloff=8 " Keep 8 lines of context above/below the cursor set sidescrolloff=8 " Keep 8 columns of context left/right of the cursor set autoindent " Auto-indent new lines set smartindent " Be smart about indentation set laststatus=2 " Always show the status line set showcmd " Show the command you are typing set wildmenu " Show a menu for command-line completion set encoding=utf-8 " Set the character encoding set incsearch " Incremental search (show matches as you type) set hlsearch " Highlight all search matches set ignorecase " Ignore case in search patterns set smartcase " Override ignorecase if the pattern has uppercase letters set tabstop=4 " Tab width is 4 spaces set shiftwidth=4 " Auto-indent width is 4 spaces set softtabstop=4 " Number of spaces a counts for while editing set expandtab " Use spaces instead of tab characters syntax on " Enable syntax highlighting filetype plugin indent on " Enable filetype detection, plugins, and indentation colorscheme habamax " dark grey with green highlights set colorcolumn=72,80,88,108 " Common places I want to stop writing code at