mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
fish_vi_cursor: add new variable for external cursor mode (#9565)
* add new variable for external cursor mode
* fix backwards compatibility
* add documentation
* document change in changelog
(cherry picked from commit f5506803d7)
This commit is contained in:
committed by
David Adam
parent
6295e32f25
commit
95c3a4045b
@@ -421,6 +421,9 @@ The ``fish_vi_cursor`` function will be used to change the cursor's shape depend
|
||||
# Set the replace mode cursors to an underscore
|
||||
set fish_cursor_replace_one underscore
|
||||
set fish_cursor_replace underscore
|
||||
# Set the external cursor to a line. The external cursor appears when a command is started.
|
||||
# The cursor shape takes the value of fish_cursor_default when fish_cursor_external is not specified.
|
||||
set fish_cursor_external line
|
||||
# The following variable can be used to configure cursor shape in
|
||||
# visual mode, but due to fish_cursor_default, is redundant here
|
||||
set fish_cursor_visual block
|
||||
|
||||
Reference in New Issue
Block a user