Closed shosti closed 10 years ago
Yes, that would have been nice. Hard to think of a good binding. I wonder if it should have a modifier key?
Yeah, I can't really think of a precedent elsewhere. M-k
might be nice for Mac users, since it's what the Terminal app uses, and it sort of makes sense in this context (I think C-l
would be a bad idea, and you're not likely to want to kill a paragraph in a log). Otherwise maybe just k
(which might be a bit error-prone, but might be OK if it's undoable)?
I'm not sure there is a good binding for this. :) I use M-k
for kill buffer, so preferably not that one.
What about hk
? It has historical significance and the h
prefix could be used for other operations on the whole buffer, if there are any. I use evil, so I'll probably end up rebinding it to something "vimmy" anyway, so whatever you think would be best.
That works fine for me. If people dont like it, they can always change.
This should be super-simple to implement (just creating an issue for tracking/discussion purposes), but it would be nice to be able to quickly clear the log buffer (it's a bit awkward now because it's read-only mode). What would a good default keybinding be?