From 2bdf9e20a5816d12697fc5770eab10351dca609c Mon Sep 17 00:00:00 2001 From: Keith Hubbard Date: Sun, 15 Aug 2021 08:49:11 -0400 Subject: command: support repeating keyboard mappings Repeating mappings are created using the -repeat option to the map command: % riverctl map normal $mod+Mod1 K -repeat move up 10 - repeating is only supported for key press (not -release) mappings - unlike -release, -repeat does not create distinct mappings: mapping a key with -repeat will replace an existing bare mapping and vice-versa Resolves #306 --- completions/fish/riverctl.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'completions/fish') diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish index 3609e57..88be779 100644 --- a/completions/fish/riverctl.fish +++ b/completions/fish/riverctl.fish @@ -90,7 +90,7 @@ complete -c riverctl -x -n '__fish_seen_subcommand_from resize' -a complete -c riverctl -x -n '__fish_seen_subcommand_from snap' -a 'up down left right' complete -c riverctl -x -n '__fish_seen_subcommand_from send-to-output' -a 'next previous' complete -c riverctl -x -n '__fish_seen_subcommand_from swap' -a 'next previous' -complete -c riverctl -x -n '__fish_seen_subcommand_from map' -a '-release' +complete -c riverctl -x -n '__fish_seen_subcommand_from map' -a '-release -repeat' complete -c riverctl -x -n '__fish_seen_subcommand_from unmap' -a '-release' complete -c riverctl -x -n '__fish_seen_subcommand_from attach-mode' -a 'top bottom' complete -c riverctl -x -n '__fish_seen_subcommand_from focus-follows-cursor' -a 'disabled normal' -- cgit v1.2.3