Skip to content

Commit

Permalink
vim: reset backspace to old defaults
Browse files Browse the repository at this point in the history
This way I can't press backspace beyond where Insert mode started.
  • Loading branch information
benknoble committed Feb 28, 2025
1 parent 442b50c commit 3e6681c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions links/vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ set lazyredraw
" so that you can undo CTRL-U after inserting a line break.
" Revert with ":iunmap <C-U>".
inoremap <C-U> <C-G>u<C-U>
" Vim's defaults changed with v9.1.0899, and I like backspace empty
set backspace=
" }}}

" Search options {{{
Expand Down

0 comments on commit 3e6681c

Please sign in to comment.