At work, I recently discovered that my boss uses ratpoison too (my project manager uses xmonad, great team, isn't it). He uses ratpoison with a different configuration scheme, banishing prefix key, and using definekey at toplevel for every command.
I'm not sure whether I like this configuration or not, but I'm going to try this for a few days, and see if it works ok or what. I've written some lines to enable toplevel bindings using the super key.
Avoiding c-t as a prefix key has its advantages, but now, 'super' key chords are all clobbered by ratpoison. We'll see how it works out.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#http://puntoblogspot.blogspot.com/2011/05/ratpoison-bindings-without-prefix-key.html | |
definekey top s-h focusleft | |
definekey top s-l focusright | |
definekey top s-k focusup | |
definekey top s-j focusdown | |
definekey top s-s vsplit | |
definekey top s-v hsplit | |
definekey top s-n nextscreen | |
definekey top s-p prevscreen | |
definekey top s-space next | |
definekey top s-u undo | |
definekey top s-o only | |
definekey top s-0 select 0 | |
definekey top s-1 select 1 | |
definekey top s-2 select 2 | |
definekey top s-3 select 3 | |
definekey top s-4 select 4 | |
definekey top s-5 select 5 | |
definekey top s-6 select 6 | |
definekey top s-7 select 7 | |
definekey top s-8 select 8 | |
definekey top s-9 select 9 |
No hay comentarios:
Publicar un comentario