diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 16:31:04 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 16:31:04 +1200 |
commit | 9199d96093a7eb35266547dd4c573776d8d86a39 (patch) | |
tree | 5094fe204d4ddcc0b399a5581fab16682ac8d6c3 | |
parent | Use "written" not "saved" in vimrc comments (diff) | |
download | dotfiles-9199d96093a7eb35266547dd4c573776d8d86a39.tar.gz dotfiles-9199d96093a7eb35266547dd4c573776d8d86a39.zip |
Map Backspace to CTRL-^ (:edit alt buffer) in Vim
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1045,6 +1045,12 @@ 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. +" +nnoremap <Backspace> <C-^> + " I find the space bar's default behavior in normal mode of moving right one " character to be useless. Instead, I remap it to be a lazy way of paging " through the argument list buffers, scrolling a page until the last line of |