project-repo/cagebreak

Toggle Top Mode Binding

VehementHam opened this issue · 2 comments

Hey I am wondering how to set a keybind to togglig top mode. For exaple C-t enters top mode and exits after I do something. If I want to do multiple things in a row it is more efficent to also have a keybind to toggel top mode like resize.

Hi VehementHam
Please consult the config man page. You should be able to achieve what
you want using the setmode command.

Cheers
project-repo

Here's the solution:

definekey top A-t setmode root
bind Escape setmode top