aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2023-10-10 14:22:24 +1300
committerTom Ryder <tom@sanctum.geek.nz>2023-10-10 14:22:24 +1300
commit85bfc99d15f2b27319c580d85119220ed1aa2326 (patch)
tree90a67d32200b793b2e031bdd33cc4cb7d7a10161 /vim
parentRemove picom config for now (diff)
downloaddotfiles-85bfc99d15f2b27319c580d85119220ed1aa2326.tar.gz
dotfiles-85bfc99d15f2b27319c580d85119220ed1aa2326.zip
Update comment on <Backspace> vimrc mapping
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index d32b437b..ca0d9952 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1016,9 +1016,9 @@ endif
" many of these.
"
-" Use backspace as an even quicker way to switch to the current buffer's
-" alternate buffer. User nickspoons of #vim was incredulous that I had never
-" used CTRL-^ and indeed did not know about it. I have since repented.
+" I use Mosh (the mobile shell) a lot, which uses CTRL-^ as its escape key.
+" That shadows Vim's shortcut to switch to the alternate buffer. Map
+" <Backspace> to do that instead.
"
nnoremap <Backspace>
\ <C-^>