From: Jan Kratochvil Date: Fri, 9 Oct 2020 14:14:19 +0000 (+0200) Subject: .vimrc: P: Hopefully a final fix. X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=540868cf752b87a2bd2bb60a9d35a01dcc4488d4 .vimrc: P: Hopefully a final fix. --- diff --git a/.vimrc b/.vimrc index 57403c5..1ac303d 100644 --- a/.vimrc +++ b/.vimrc @@ -85,11 +85,10 @@ noremap : @: noremap :nextzz noremap :prevzz noremap N :tnzz -if $ANDROID_DATA!=#"/data" && $SSH_CLIENT!~"^2a02:2b88:2:1::3b57:[89]f " - " It auto-types random data after starting it from Termux - " Now all VIM version are affected: -" noremap P :tpzz -endif +noremap P :tpzz +"P would auto-type random data after starting it on recent distros or Termux. +"read(0, "\33P1$r0 q\33\\\33[?12;4$y", 4096) = 19 +noremap P$r0q noremap M :cnzz noremap L :cpzz noremap f "myiw:grep-Ew'm'`git ls-files`