Forums: ヘルプ (Thread #39617)

Ctrl + l for Yash (2018-05-29 22:33 by is2ei #81376)

Is "Ctrl + l" command available? I know "clear" command works but "Ctrl + l" seems useful for me.

Reply to #81376×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Ctrl + l for Yash (2018-05-30 22:01 by magicant #81383)

If you want to clear the screen by hitting Ctrl+L (like bash's default behavior), try:

{{{
bindkey -v '\^L' clear-and-redraw-all # for vi mode
bindkey -e '\^L' clear-and-redraw-all # for emacs mode
}}}
Reply to #81376

Reply to #81383×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Ctrl + l for Yash (2018-05-30 23:27 by is2ei #81384)

[Reply To Message #81383]
> If you want to clear the screen by hitting Ctrl+L (like bash's default behavior), try:
>
> {{{
> bindkey -v '\^L' clear-and-redraw-all # for vi mode
> bindkey -e '\^L' clear-and-redraw-all # for emacs mode
> }}}

Thanks a lot! It works.
Reply to #81383

Reply to #81384×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login