From 76ddb965e8c72b145fe0feeebcfd4ef20646af3e Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 16 Apr 2021 13:47:57 +0200 Subject: [PATCH] .vimrc: Termux compatibility. --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) 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` -- 1.8.3.1