diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 17:38:26 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 17:38:26 +1200 |
commit | 128802d5b43d4dd5d622db359d7d41e30917d04b (patch) | |
tree | 04b142eff67709b60ae8ff972189fef21a84af29 | |
parent | Merge branch 'release/v6.15.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-6.16.0.tar.gz (sig) dotfiles-6.16.0.zip |
Merge branch 'release/v6.16.0'v6.16.0
* release/v6.16.0:
Map double-tap comma back to old functionality
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | vim/vimrc | 10 |
2 files changed, 12 insertions, 2 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v6.15.0 -Sun, 16 Jun 2019 05:16:16 +0000 +tejr dotfiles v6.16.0 +Sun, 16 Jun 2019 05:38:25 +0000 @@ -1237,6 +1237,16 @@ nmap ]<Space> <Plug>(PutBlankLinesBelow) let mapleader = '\' let maplocalleader = ',' + +" If the local leader is a comma, map double-tap comma to its original +" function in the relevant modes so that I can still use it quickly without +" relying on mapping 'timeout'. +" +if maplocalleader ==# ',' + noremap ,, , + sunmap ,, +endif + " Let's start with some simple ones; these ones all just toggle a boolean " option, and print its new value. They're dirt simple to specify, and don't " require any plugins. |