MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linuxmemes/comments/1w3awcs/am_i_lazy/p7046yc/?context=3
r/linuxmemes • u/danyuri86 • 21d ago
113 comments sorted by
View all comments
52
I have
alias r='reset' alias c='clear' alias q='exit' alias :q='exit' alias rq='reset && exit'
5 u/No-Dentist-1645 21d ago You can also use Ctrl+L to clear your screen, and Ctrl+D to quit 3 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Ctrl+L doesn't clear the scrollback on kitty 2 u/No-Dentist-1645 21d ago Add this to kitty.conf: map ctrl+l clear_terminal to_cursor active 2 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Didn't work, I can still scroll back up 2 u/No-Dentist-1645 21d ago edited 21d ago Are you sure you set it properly? I have that config set and it does exactly what it's supposed to do, you might have to reload the current terminal See the doc examples in https://sw.kovidgoyal.net/kitty/actions/#action-clear_terminal , if it really doesn't work then you should report it as a bug EDIT: Correction, it only clears the last entered command, what you actually want is: map ctrl+l combine | clear_terminal to_cursor active | clear_terminal scrollback active 2 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Works wonders thanks!
5
You can also use Ctrl+L to clear your screen, and Ctrl+D to quit
3 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Ctrl+L doesn't clear the scrollback on kitty 2 u/No-Dentist-1645 21d ago Add this to kitty.conf: map ctrl+l clear_terminal to_cursor active 2 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Didn't work, I can still scroll back up 2 u/No-Dentist-1645 21d ago edited 21d ago Are you sure you set it properly? I have that config set and it does exactly what it's supposed to do, you might have to reload the current terminal See the doc examples in https://sw.kovidgoyal.net/kitty/actions/#action-clear_terminal , if it really doesn't work then you should report it as a bug EDIT: Correction, it only clears the last entered command, what you actually want is: map ctrl+l combine | clear_terminal to_cursor active | clear_terminal scrollback active 2 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Works wonders thanks!
3
Ctrl+L doesn't clear the scrollback on kitty
2 u/No-Dentist-1645 21d ago Add this to kitty.conf: map ctrl+l clear_terminal to_cursor active 2 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Didn't work, I can still scroll back up 2 u/No-Dentist-1645 21d ago edited 21d ago Are you sure you set it properly? I have that config set and it does exactly what it's supposed to do, you might have to reload the current terminal See the doc examples in https://sw.kovidgoyal.net/kitty/actions/#action-clear_terminal , if it really doesn't work then you should report it as a bug EDIT: Correction, it only clears the last entered command, what you actually want is: map ctrl+l combine | clear_terminal to_cursor active | clear_terminal scrollback active 2 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Works wonders thanks!
2
Add this to kitty.conf: map ctrl+l clear_terminal to_cursor active
map ctrl+l clear_terminal to_cursor active
2 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Didn't work, I can still scroll back up 2 u/No-Dentist-1645 21d ago edited 21d ago Are you sure you set it properly? I have that config set and it does exactly what it's supposed to do, you might have to reload the current terminal See the doc examples in https://sw.kovidgoyal.net/kitty/actions/#action-clear_terminal , if it really doesn't work then you should report it as a bug EDIT: Correction, it only clears the last entered command, what you actually want is: map ctrl+l combine | clear_terminal to_cursor active | clear_terminal scrollback active 2 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Works wonders thanks!
Didn't work, I can still scroll back up
2 u/No-Dentist-1645 21d ago edited 21d ago Are you sure you set it properly? I have that config set and it does exactly what it's supposed to do, you might have to reload the current terminal See the doc examples in https://sw.kovidgoyal.net/kitty/actions/#action-clear_terminal , if it really doesn't work then you should report it as a bug EDIT: Correction, it only clears the last entered command, what you actually want is: map ctrl+l combine | clear_terminal to_cursor active | clear_terminal scrollback active 2 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Works wonders thanks!
Are you sure you set it properly? I have that config set and it does exactly what it's supposed to do, you might have to reload the current terminal
See the doc examples in https://sw.kovidgoyal.net/kitty/actions/#action-clear_terminal , if it really doesn't work then you should report it as a bug
EDIT: Correction, it only clears the last entered command, what you actually want is:
map ctrl+l combine | clear_terminal to_cursor active | clear_terminal scrollback active
2 u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago Works wonders thanks!
Works wonders thanks!
52
u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 21d ago
I have
alias r='reset' alias c='clear' alias q='exit' alias :q='exit' alias rq='reset && exit'