dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: de79c93adb7887d8ac9a64fc398be815eb8adcdd
Parent: 0e0511fedd21f1c1ee1c773ce4a32f91f272cd00
Author: Randy Palamar
Date:   Wed, 23 Nov 2022 08:52:46 -0700

move comment from last commit into keybinding help text

Diffstat:
M.config/vis/visrc.lua | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua @@ -13,8 +13,9 @@ vis.events.subscribe(vis.events.INIT, function() vis:command("map normal ,f v$:|furigana<Enter><Escape>") vis:command("map visual ,s :|sort<Enter>") - -- remove spaces, tabs, and \r from end of line - vis:map(vis.modes.NORMAL, "vo", ":x/[ \t\r]+$/ d<Enter>") + vis:map(vis.modes.NORMAL, "vo", function() + vis:feedkeys(":x/[ \t\r]+$/ d<Enter>") + end, "remove spaces, tabs, and \r from end of all lines") end) vis.events.subscribe(vis.events.WIN_OPEN, function(win)