Fix bracketed paste in zsh vim
This commit is contained in:
parent
feca4dbd3f
commit
0bd723f281
|
|
@ -77,6 +77,10 @@
|
||||||
source ${./files/keys.zsh}
|
source ${./files/keys.zsh}
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
export LD_LIBRARY_PATH=${pkgs.sqlite.out}/lib:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=${pkgs.sqlite.out}/lib:$LD_LIBRARY_PATH
|
||||||
|
# Fix zsh-vi-mode bracketed paste: the trailing ~ of \e[201~ leaks
|
||||||
|
# into vicmd and toggles case of the last pasted character.
|
||||||
|
bindkey -M viins '^[[200~' .bracketed-paste
|
||||||
|
bindkey -M vicmd '^[[200~' .bracketed-paste
|
||||||
}
|
}
|
||||||
function o() {
|
function o() {
|
||||||
${pkgs.handlr-regex}/bin/handlr open $@ < /dev/null &> /dev/null & disown
|
${pkgs.handlr-regex}/bin/handlr open $@ < /dev/null &> /dev/null & disown
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue