From ce8e78de36b613161d926732de37032c9931e10d Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Tue, 19 Nov 2019 16:38:13 +0100 Subject: [PATCH] Add mark-and-focus shotcuts (i3) --- .config/i3/config_common | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/i3/config_common b/.config/i3/config_common index cf443e8..8325e9a 100644 --- a/.config/i3/config_common +++ b/.config/i3/config_common @@ -112,6 +112,12 @@ mode "$film_mode" { # toggle film mode bindsym $mod+Shift+f mode "$film_mode" +# read 1 character and mark the current window with this character +bindsym $mod+m exec i3-input -F 'mark %s' -l 1 -P 'Mark: ' + +# read 1 character and go to the window with the character +bindsym $mod+Shift+m exec i3-input -F '[con_mark="%s"] focus' -l 1 -P 'Goto: ' + ################################## # BINDINGS FOR STANDARD OPERATIONS ##################################