shithub: vexed

Download patch

ref: 52c0e4fdfba63b17eb6df7491a4b1d9d8d03ce19
parent: 042c5ee134f92fdf7930eecff63d5edf4d25138c
author: phil9 <[email protected]>
date: Tue Dec 28 02:31:27 EST 2021

change 'append' keybinding to 'p'

	we obviously cannot use 'a' as it is used for edition
	morning commits are always a bad idea...

--- a/vexed.c
+++ b/vexed.c
@@ -314,12 +314,14 @@
 		}
 		break;
 	case 'i':
+	case 'I':
 		lastv = -1;
 		if(insert(&buf, sel) < 0)
 			sysfatal("insert: %r");
 		eresize();
 		break;
-	case 'a':
+	case 'p':
+	case 'P':
 		lastv = -1;
 		if(append(&buf, sel) < 0)
 			sysfatal("append: %r");