changes vi mode appearance in fish shell
This commit is contained in:
parent
102e9f556c
commit
17deeb5be2
1 changed files with 23 additions and 0 deletions
|
|
@ -95,6 +95,29 @@
|
||||||
# Open file in neovim
|
# Open file in neovim
|
||||||
nvim $fullpath
|
nvim $fullpath
|
||||||
'';
|
'';
|
||||||
|
fish_mode_prompt = ''
|
||||||
|
switch $fish_bind_mode
|
||||||
|
case default
|
||||||
|
set_color --bold blue
|
||||||
|
echo 'N'
|
||||||
|
case insert
|
||||||
|
set_color --bold green
|
||||||
|
echo 'I'
|
||||||
|
case replace_one
|
||||||
|
set_color --bold green
|
||||||
|
echo 'R'
|
||||||
|
case replace
|
||||||
|
set_color --bold bryellow
|
||||||
|
echo 'R'
|
||||||
|
case visual
|
||||||
|
set_color --bold brmagenta
|
||||||
|
echo 'V'
|
||||||
|
case '*'
|
||||||
|
set_color --bold red
|
||||||
|
echo '?'
|
||||||
|
end
|
||||||
|
set_color normal
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue