X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.vimrc;h=1ac303d7a4eb7022122fa1886d4081f0941fa320;hp=44871db88402fcd903e7d3ead58825e3188ec18b;hb=2bc2bafed478dff7bd4043da8064eb3fdef389b8;hpb=6471532df2f0ff912e5c986bd62e12912d468cf8 diff --git a/.vimrc b/.vimrc index 44871db..1ac303d 100644 --- a/.vimrc +++ b/.vimrc @@ -65,6 +65,7 @@ set nohlsearch set noincsearch set nofoldenable set fo=tcq1 +set nojoinspaces "set textwidth=78 set viminfo='100,\"1000,:100,/40 let g:netrw_home = $HOME @@ -85,6 +86,9 @@ noremap :nextzz noremap :prevzz noremap N :tnzz 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` @@ -100,5 +104,6 @@ noremap # :let ic_save=&ic:set noic#:let &ic=ic_save noremap :w:!aspell --check '%':e noremap gq] gq/^. \?$ noremap 1 :w:make -j1 +noremap m :w:make endif "!exists("g:_kratochvil_vimrc")