Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 5 insertions, 0 deletions
-rw-r--r--.bashrc5
diff --git a/.bashrc b/.bashrc
index 466a1ef..fdd9360 100644
--- a/.bashrc
+++ b/.bashrc
@@ -241,6 +241,11 @@ export PROMPT_COMMAND="shell_var_fix;"
bind "set vi-ins-mode-string \"$(left_cap)i$(right_cap)\""
bind "set vi-cmd-mode-string \"$(left_cap $PS_WARN)n$(right_cap $PS_WARN)\""
+ bind -m vi-command '"ca\"":"F\"cf\""'
+ bind -m vi-command '"ca'\''":"F'\''cf'\''"'
+ bind -m vi-command '"ci\"":"T\"ct\""'
+ bind -m vi-command '"ci'\''":"T'\''ct'\''"'
+
# Huge thanks to: https://lists.gnu.org/archive/html/help-bash/2022-02/msg00023.html
bind -x "\"\xC0\a\":set_tab_title \"\$READLINE_LINE\";printf \"$(left_cap $PS_DBG)%(%T)T$(right_cap $PS_DBG)\""
bind '"\xC0\r":accept-line'