Yuri in the land of tildes

My normal web presence

Blogging typically at Stacoscimus.

The tilde.town default vimrc

I was shocked to find such a wild default vim setup when I first started up with tildetown. Crazy red blocks highlighted, line numbers by default, and all kinds of unexpected wildness.

And not only that, but auto-magical indentation (that then gets removed in the case of another carriage return). Who knew?

Here's what it looks like:

set nocompatible  " Use Vim defaults

  set backspace=indent,eol,start  " reasonable backspace in insert mode

  set modelines=0   " Modelines are a security hazard

  " Formatting
  set expandtab   " Automatically expand tabs to spaces
  set tabstop=2   " tab width
  set shiftwidth=2  " wide, otherwise it's tabstop wide
  set softtabstop=2   " Simulated tabstop of 4 by using spaces and tabs
  set textwidth=78  " where to wrap lines
  set fo=crq      " when to wrap lines
  set autoindent  " set auto-indenting on

  " Display
  set ruler   " show the cursor position
  set nowrap  " don't warp display

  set laststatus=2
  set encoding=utf-8

  set showmatch   " show matching brackets
  set showcmd   " show (partial) command in status line

  "set wildmenu
  set wildmode=list:longest,full

  " Searching
  set incsearch   " incremental search
  set infercase   " handle case in a smart way in autocompletes
  set ignorecase  " ignore case in search
  set smartcase   " unless the search string contains uppercase
  set hlsearch  " highlighted search

  " Display whitespace characters nicely when using 'set list'
  set listchars=eol:$,tab:>-,trail:-,extends:>,precedes:<

  filetype plugin on    " enable filetype detection
  filetype indent on    " enable language-depenent indentation

  syntax enable
  set background=dark
  set t_Co=256
  colorscheme elflord
  highlight clear SignColumn

  highlight RedundantSpaces ctermbg=red
  match RedundantSpaces /\s\+$\| \+\ze\t\|\t/

  set number  " line numbers
  set scrolloff=5
  set hidden

  set nobackup

  set pastetoggle=
  
Woooah, what a wild crash course that was.

What Yuri Brews

This reveals more than you'll ever know.
  $ brew leaves
  ansible
  arp-scan
  cc65
  cloog
  cowsay
  curl
  docker
  homebrew/games/fceux
  ffmpeg
  fortune
  git
  homebrew/versions/gmp4
  googler
  homebrew/dupes/grep
  hugo
  lftp
  liblo
  libmpc
  lynx
  markdown
  mercurial
  mobile-shell
  mongodb
  mysql
  node
  postgresql
  python
  qt
  redis
  ruby
  sbcl
  sl
  sox
  ta-lib
  tmux
  tree
  valgrind
  w3m
  wget
  wine
  

I'd like to point out that cowsay and sl would be at the top of any list that was not alphabetized by fiat.

... I miss Debian.