From: Jan Kratochvil Date: Fri, 16 Apr 2021 11:47:57 +0000 (+0200) Subject: .vimrc: Termux compatibility. X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=76ddb965e8c72b145fe0feeebcfd4ef20646af3e .vimrc: Termux compatibility. --- diff --git a/.vimrc b/.vimrc index 1ac303d..5254f87 100644 --- a/.vimrc +++ b/.vimrc @@ -73,6 +73,7 @@ let g:netrw_home = $HOME if &term=="xterm" || &term=="xterm-256color" set t_Co=8 endif +set mouse= " FIXME: Learn how to do :tag instead of :tselect with :cstag (used by :tag and CTRL-] if set cst) set nocst @@ -89,6 +90,8 @@ 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 +" Termux types +noremap! [23~ noremap M :cnzz noremap L :cpzz noremap f "myiw:grep-Ew'm'`git ls-files`