Select the types of activity you want to include in your feed.
Update some vanilla vim settings
Notable: - shiftround to make indentation go to nearest multiple - smartcase for search insensitivity - cmdline: wildmode/wildoptions and binds for word deletion
···33set tabstop=4
44set shiftwidth=4
55set softtabstop=4
66+set shiftround " lmao where has this been all my life T_T
6778set expandtab
89set backspace=indent,eol,start
···1112set matchpairs+=<:>
1213set wrapmargin=0
13141515+" TBD if this is exactly what I want, but it seems better so far...
1616+set selection=old
1717+1418set autoindent
1519filetype plugin indent on
2020+2121+set smartcase
16221723" Prevent '#' from forcing 0-indent for e.g. python + bash comments
1824" This should be used instead of smartindent
···2026set cinkeys-=0#
2127set indentkeys-=0#
22282929+set wildmode=longest:full,full
3030+set wildoptions+=fuzzy
3131+cnoremap <M-BS> <C-w>
3232+cnoremap <M-d> <C-d>
3333+2334if &diff
2435 set diffopt+=iwhite
2536endif
···3546" Use newer info than the macOS builtin
3647let g:infoprg = '/usr/local/bin/info'
37484949+" Common typos I make while trying to save a file. It's very unlikely i'll ever need to
5050+" name a file something like "\" or "'" and if I do I can use a space or :saveas
5151+cabbrev w\ w
5252+cabbrev w' w
5353+cabbrev w] w
5454+5555+" Don't set textwidth to 99 by default. Rustfmt does the heavy lifting anyway
5656+let g:rust_recommended_style = 0
5757+3858" filetype matching
3959augroup CustomFiletypes
4060 autocmd!
···638364846585" Augroups, must be before `syntax on`
8686+" TODO maybe disable this for vscode-nvim
6687augroup CustomTodo
6788 autocmd!
6889 autocmd Syntax * syntax match CustomTodo /\v<(TODO|FIXME|NOTE)/ containedin=.*Comment
···9111292113set hlsearch
93114syntax on
9494-9595-9611597116" Editor-specific settings
98117if !exists('g:vscode')