# HG changeset patch # User nanaya # Date 1727164695 -32400 # Node ID 49538e2aad6500753b89674696cb6adf1b15ccb9 # Parent 78469331407e01ab1fd08700aa1833c3c253485c Add a useful editrc diff -r 78469331407e -r 49538e2aad65 rc/editrc --- /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 diff -r 78469331407e -r 49538e2aad65 setup --- a/setup Mon Aug 19 17:04:13 2024 +0900 +++ b/setup Tue Sep 24 16:58:15 2024 +0900 @@ -222,6 +222,7 @@ _touch "${1}" "${HOME}/.hgrc.local" _rc "${1}" "hgignore_global" ".hgignore_global" _touch "${1}" "${HOME}/.hgignore_global.local" + _rc "${1}" "editrc" ".editrc" _rc "${1}" "inputrc" ".inputrc" _tmux "${1}" _vim_x "${1}" syntax