diff options
| author | EuAndreh <eu@euandre.org> | 2023-06-21 10:27:03 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2023-06-21 10:27:06 -0300 |
| commit | 94f3eb72a8503f6bab594db3f4ade0e752fdfb41 (patch) | |
| tree | 5a25360498b1a28b81d280f8a91653cf6185f9d0 | |
| parent | etc/sh/rc: Exploit more nvi options (diff) | |
| download | dotfiles-94f3eb72a8503f6bab594db3f4ade0e752fdfb41.tar.gz dotfiles-94f3eb72a8503f6bab594db3f4ade0e752fdfb41.tar.xz | |
etc/sh/rc: Add commented vi mappings
They all cause nvi(1) to SEGFAULT.
| -rw-r--r-- | etc/sh/rc | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -81,7 +81,18 @@ export EXINIT=' map :set autoindent
" toggle? - " map y :p: + " map y :p:.,$!copy
:q
+ " map p :read !xclip -o + + " map K wb"zye:o:!man "zp
+ + " map f ::!env FZF_DEFAULT_COMMAND="git ls-files" fzf >> %
:edit
GIEdit
:bg
+ + " map & wb"zye:o:!git grep "zp
+ + " map & wb"zye::!echo % >> %
:edit
GI:!git grep h"zpwi^X7c fzf >>
::edit
Gf:l"zyt:hDIEdit + h"zp
:bg
+ + " map gb :vsplit
"zy1G:edit /tmp
G:read !git blame -- #
:
o"zpG!wc -lI:
' HOSTNAME="$(hostname)" |
