X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.vimrc;h=251c178c50fd53adad6abdfad98b45eec144d5a9;hp=00b77d7d5e0e1a41f6c00f3465936558b3363459;hb=e999d7fbc8f9c89ec8bc4a6eb5e2cb798fa8450e;hpb=52714da532d76625f157e459be053b2cf8f47451 diff --git a/.vimrc b/.vimrc index 00b77d7..251c178 100644 --- a/.vimrc +++ b/.vimrc @@ -84,7 +84,10 @@ noremap : @: noremap :nextzz noremap :prevzz noremap N :tnzz -noremap P :tpzz +if $ANDROID_DATA!=#"/data" && $SSH_CLIENT!~"^2a02:2b88:2:1::3b57:[89]f " + " It auto-types random data after starting it from Termux + noremap P :tpzz +endif noremap M :cnzz noremap L :cpzz noremap f "myiw:grep-Ew'm'`git ls-files` @@ -99,5 +102,6 @@ noremap * :let ic_save=&ic:set noic*:let &ic=ic_save noremap # :let ic_save=&ic:set noic#:let &ic=ic_save noremap :w:!aspell --check '%':e noremap gq] gq/^. \?$ +noremap 1 :w:make -j1 endif "!exists("g:_kratochvil_vimrc")