diff rc/editrc @ 727:49538e2aad65 default tip

Add a useful editrc
author nanaya <me@nanaya.net>
date Tue, 24 Sep 2024 16:58:15 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rc/editrc	Tue Sep 24 16:58:15 2024 +0900
@@ -0,0 +1,5 @@
+bind "\e[A" ed-search-prev-history
+bind "\e[B" ed-search-next-history
+bind "\e[1;3D" ed-prev-word
+bind "\e[1;3C" em-next-word
+bind "^R" em-inc-search-prev