4

I don't think there is, but you can always write it yourself as: delete-horizontal-space() { emulate -L zsh set -o extendedglob LBUFFER=${LBUFFER%%[[:blank:]]##} RBUFFER=${RBUFFER##[[:blank:]]##} } zle -N delete-horizontal-space bindkey '\e\\' delete-horizontal-space


2

I can not reproduce the problem that leaving REPL python changes lnext. But I can confirm that you need to source a file twice to get the bind key to work (the output of mapping works). Note that you need to start a logging bash session to get .bash_profile to be read. A file like: $ cat ~/.bash_profile echo bash_profile read #stty lnext ^- stty lnext '' ...


2

Many keyboard layouts use Right Alt (aka AltGr) by default for accessing 3rd and 4th level symbols. Hence, in order to make the Right Alt+Shift shortcut work for switching input languages, you need to explicitly select some other 3rd level key. You may want to edit /etc/default/keyboard and consider this line to achieve what you want: XKBOPTIONS="lv3:...


1

I would suggest that you have inadvertently changed your line editing scheme from the default "emacs" to "vi". You can reset this back with set -o emacs Or change it back to vi mode with set -o vi


1

I don't know which OS you are using but for Ubuntu 18.04 LTS, I am using this command to switch between languages: setxkbmap -option grp:alt_shift_toggle us If you want to change between languages, replace us by your desired language. For example, if you want to use German keyboard change it to de: setxkbmap -option grp:alt_shift_toggle de


1

This does exactly what you want, regardless of what's in $WORDCHARS, and makes the killed words available to yank: autoload -Uz backward-kill-word-match bindkey '^W' backward-kill-space-word zle -N backward-kill-space-word backward-kill-word-match zstyle :zle:backward-kill-space-word word-style space bindkey '^[^H' backward-kill-bash-word zle -N backward-...


1

I just hacked together the following solution. It not only works in Sublime Text, but also allows to select text with shift. Add preserve[Shift+LevelThree] = Shift; to …/xdb/types/iso9995. Details on askubuntu. Add type="THREE_LEVEL" and actions[Group1]= [NoAction(), NoAction(), RedirectKey(keycode=<UP>, clearmods=Lock) (for up) to your ...


Only top voted, non community-wiki answers of a minimum length are eligible