···2828set hlsearch
2929syntax on
30303131+" Unbind case-changing with u/U to avoid accidentally press when trying to undo
3232+" For explicitly changing case, ~ can be used instead
3333+vnoremap u <Undo>
3434+vnoremap U <Undo>
3535+3636+noremap gu <Nop>
3737+noremap guu <Nop>
3838+noremap gU <Nop>
3939+noremap gUU <Nop>
4040+31413242" Augroups, must be before `syntax on`
3343···6777 " Move cursor to end of line when making visual selection so % works as expected
6878 nmap V V$
69797070- " This allows wrapping + code folding to work
7171- map j gj
7272- map k gk
8080+ " This allows wrapping + code folding to work a little nicer
8181+ nmap j gj
8282+ nmap k gk
73837484 " Remap for append/insert with multi-cursor to avoid extra keystroke
7585 xmap <expr> a visualmode() ==# 'v' ? 'a' : 'ma'