From 94f3eb72a8503f6bab594db3f4ade0e752fdfb41 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 21 Jun 2023 10:27:03 -0300 Subject: etc/sh/rc: Add commented vi mappings They all cause nvi(1) to SEGFAULT. --- etc/sh/rc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/etc/sh/rc b/etc/sh/rc index d54f3a2..fbfa786 100644 --- a/etc/sh/rc +++ b/etc/sh/rc @@ -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)" -- cgit v1.2.3