I recently modified the Emacs setup, but I ran into a problem that was starting to annoy me. I would like to be able to enter additional modifiers, such as keys. What I'm trying to do to make everything clearer is when I am in standby mode (which does not accept text input, so regular letters can bounce). I would like that when I hold the letter s and press j or l , the cursor moves to the next and previous line of the directory, respectively. Efficient execution of the s key acts as a modifier.
I have considered using s modifiers such as super or hyper , but they are all used for global things. Is it possible? if not, then this is a shame.
Edit:
There seems to be some confusion with what I need. If I define a normal key sequence like
(define-key map (kbd "sj") 'dired-next-dirline)
Then I have to constantly press s every time before pressing j to go to the next line of the directory. This is not what I'm looking for (so as not to get angry: P) I want s act as a modifier, where I can keep the s key pressed and keep pressing j to move along the lines.
Hope I made this clearer. Thanks.
source share