mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-22 19:41:36 +03:00
Minor edits to character item
This commit is contained in:
parent
267187e0de
commit
ac63f94075
@ -1,13 +1,7 @@
|
||||
function _tide_item_character
|
||||
if test $_tide_status = 0
|
||||
set_color $tide_character_color
|
||||
else
|
||||
set_color $tide_character_color_failure
|
||||
end
|
||||
test $_tide_status = 0 && set_color $tide_character_color || set_color $tide_character_color_failure
|
||||
|
||||
if test "$fish_key_bindings" = fish_default_key_bindings
|
||||
echo -ns $tide_character_icon
|
||||
else
|
||||
test "$fish_key_bindings" = fish_default_key_bindings && echo -ns $tide_character_icon ||
|
||||
switch $fish_bind_mode
|
||||
case insert
|
||||
echo -ns $tide_character_icon
|
||||
@ -18,5 +12,4 @@ function _tide_item_character
|
||||
case visual
|
||||
echo -ns $tide_character_vi_icon_visual
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user