We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 585cafa commit 53af6e9Copy full SHA for 53af6e9
1 file changed
scripts/hooks.sh
@@ -201,16 +201,7 @@ __resh_nop() {
201
. ~/.resh/bindfunc.sh
202
203
__resh_bind_control_R() {
204
- bindfunc --revert '\C-r' __resh_widget_control_R_compat
205
- if [ "${__RESH_control_R_bind_enabled-0}" != 0 ]; then
206
- # Re-binding is a valid usecase but it shouldn't happen much
207
- # so this is a warning
208
- # echo "Re-binding RESH SEARCH app to Ctrl+R ..."
209
- else
210
- # Only save original binding if resh binding was not enabled
211
- __RESH_bindfunc_revert_control_R_bind=$_bindfunc_revert
212
- fi
213
- __RESH_control_R_bind_enabled=1
+ bindfunc '\C-r' __resh_widget_control_R_compat
214
if [ -n "${BASH_VERSION-}" ]; then
215
# fuck bash
216
bind '"\C-r": "\u[31~\u[32~"'
0 commit comments