Simple Emacs keybindings
- by User1
I have two operations that I do all the time in Emacs:
Create a new buffer and paste the clipboard. [C-S-n]
Close the current buffer. [C-S-w]
Switch to the last viewed buffer [C-TAB]
I feel like a keyboard acrobat when doing the first two operations. I think it would be worth trying some custom keybindings and macros.
A few questions about this customization:
How would I make a macro for #1?
Are these good keybindings (i know this is a bit subjective, but they might be used by something popular that I don't use)
Has anyone found a Ctrl-Tab macro that will act like Alt-Tab in Linux/Windows? Specifically, I want it have a stack of buffers according to the last viewed timestamp (most recent on top). I want to continue cycling through the stack until I let go of the ctrl key. When the ctrl key is released, I want the current buffer to get an updated position on the stack.