this repo has no description
0
fork

Configure Feed

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

+24 -2
+3
.gitmodules
··· 52 52 [submodule ".config/yadm/vendored/yadm"] 53 53 path = .config/yadm/vendored/yadm 54 54 url = https://github.com/TheLocehiliosan/yadm.git 55 + [submodule ".vim/pack/bundle/start/vim-textobj-variable-segment"] 56 + path = .vim/pack/bundle/start/vim-textobj-variable-segment 57 + url = https://github.com/Julian/vim-textobj-variable-segment.git
+21 -2
.vimrc
··· 3 3 set tabstop=4 4 4 set shiftwidth=4 5 5 set softtabstop=4 6 + set shiftround " lmao where has this been all my life T_T 6 7 7 8 set expandtab 8 9 set backspace=indent,eol,start ··· 11 12 set matchpairs+=<:> 12 13 set wrapmargin=0 13 14 15 + " TBD if this is exactly what I want, but it seems better so far... 16 + set selection=old 17 + 14 18 set autoindent 15 19 filetype plugin indent on 20 + 21 + set smartcase 16 22 17 23 " Prevent '#' from forcing 0-indent for e.g. python + bash comments 18 24 " This should be used instead of smartindent ··· 20 26 set cinkeys-=0# 21 27 set indentkeys-=0# 22 28 29 + set wildmode=longest:full,full 30 + set wildoptions+=fuzzy 31 + cnoremap <M-BS> <C-w> 32 + cnoremap <M-d> <C-d> 33 + 23 34 if &diff 24 35 set diffopt+=iwhite 25 36 endif ··· 35 46 " Use newer info than the macOS builtin 36 47 let g:infoprg = '/usr/local/bin/info' 37 48 49 + " Common typos I make while trying to save a file. It's very unlikely i'll ever need to 50 + " name a file something like "\" or "'" and if I do I can use a space or :saveas 51 + cabbrev w\ w 52 + cabbrev w' w 53 + cabbrev w] w 54 + 55 + " Don't set textwidth to 99 by default. Rustfmt does the heavy lifting anyway 56 + let g:rust_recommended_style = 0 57 + 38 58 " filetype matching 39 59 augroup CustomFiletypes 40 60 autocmd! ··· 63 83 64 84 65 85 " Augroups, must be before `syntax on` 86 + " TODO maybe disable this for vscode-nvim 66 87 augroup CustomTodo 67 88 autocmd! 68 89 autocmd Syntax * syntax match CustomTodo /\v<(TODO|FIXME|NOTE)/ containedin=.*Comment ··· 91 112 92 113 set hlsearch 93 114 syntax on 94 - 95 - 96 115 97 116 " Editor-specific settings 98 117 if !exists('g:vscode')