feat(bash): improve C-o handling

This commit is contained in:
buffet 2023-03-06 13:27:46 +01:00
parent b9a50c5e98
commit be46676944

View file

@ -38,7 +38,7 @@ in {
}
PROMPT_COMMAND="__prompt"
bind '"\C-o": "\C-a\C-k fg\n"'
bind '"\C-o": "\C-a\C-k fg; if [[ $? == 1 ]]; then nvim; fi\n"'
bind '"\e\C-m": "\C-e | nvim\C-m"'
'';
};