1
How do I prevent Ctrl+S from suspending output in Yakuake?
I need it to give it to the opened program in the console (such as Vim, I want to remap Ctrl+S to save in Vim).
1
How do I prevent Ctrl+S from suspending output in Yakuake?
I need it to give it to the opened program in the console (such as Vim, I want to remap Ctrl+S to save in Vim).
2
Add this to your .bashrc or .zshrc
stty ixany
stty ixoff -ixon
1
nevermind, found it :3
just add these on bashrc
vim() {
local STTYOPTS="$(stty --save)"
stty stop '' -ixoff
command vim "$@"
stty "$STTYOPTS"
}
reference: http://vim.wikia.com/wiki/Map_Ctrl-S_to_save_current_or_new_files
1wow, when i press ctrl+s, it shows
(i-search)'':
something that i don't know what the use for.. (i know that ctrl+r do a reverse search, but this one does nothing) – Kokizzu – 2013-11-03T13:52:59.0771@Kokizzu Try to press
ctrl-p
for at least one time and pressctrl-s
. You will be able to search the history commands you've scrolled through usingctrl-p
– Yang Liu – 2013-11-04T04:25:41.433