Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
b-ryan
· 12y ago · 0 comments
Thanks for this. I switched my input mode to VI and was greatly missing using Ctrl-L to clear the screen when in input mode. I hadn't known about the inputrc before. Adding this line below your "\C-p" line fixed that for me:
"\C-l": clear-screen
Comments
[–]
yawboakye
12y ago
Signs you have to revert to Emacs mode. Unless it's an assemblage, it's always a smell if you replace a unit of a body with that of a "competitor."
[–]
bilalq
12y ago
Oh wow, I didn't even think about that. I've been making do with Cmd+K on OSX and aliasing c to clear to get around the problem.
[–]
tambourine_man
12y ago
Command-K also does the trick
[–]
bilalq
12y ago
Command-K won't play nicely with tmux panes though.