feat(bash): improve C-o handling
This commit is contained in:
parent
b9a50c5e98
commit
be46676944
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ in {
|
||||||
}
|
}
|
||||||
PROMPT_COMMAND="__prompt"
|
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"'
|
bind '"\e\C-m": "\C-e | nvim\C-m"'
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue