diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-20 14:49:32 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-20 14:50:11 +0200 |
commit | 8d656e6a8cd3ac564280a167a669d575c34be7ad (patch) | |
tree | 3a286e5dc3e02039f043a7ff76d30098091f2067 /vi.exrc | |
parent | 0a15bce060bda3c60d0cf521c6f213e35bf85175 (diff) | |
download | exrc-8d656e6a8cd3ac564280a167a669d575c34be7ad.tar.gz |
vi.exrc: Add ^N, ^P, gw, gb commands
Diffstat (limited to 'vi.exrc')
-rw-r--r-- | vi.exrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -20,3 +20,11 @@ map g/ /.* " edit "q buffer in new vi session map gQ m/:!echo > /tmp/vi.buf; vi /tmp/vi.buf
:r /tmp/vi.buf
"qdd`/ map gq m/om("qpm):'(,')j
:'(w! /tmp/vi.buf
:'(d
:!vi /tmp/vi.buf
:r /tmp/vi.buf
"qdd`/ + +" go to next/previous space +map gw f +map gb F + +" go to next/previous troff command +map ?^[.'][^ ]*$
+map /^[.'][^ ]*$
|