Friday, March 14, 2014

Clearing screen when using Vi keybindings on Bash command-line

Hi,

I recently switched to using Vi keybindings in bash shell as described here http://vim.wikia.com/wiki/Use_vi_shortcuts_in_terminal. It's great, except that ^L (Ctrl + l) does not clear screen any more. I tried the two options mentioned in the link but neither of them works. I also tried adding the line

alias ^L='clear'

in my .bashrc but that didn't work. Can someone suggest what else I can do?

Thanks!

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: