adapts fish vi mode for usage within emacs
This commit is contained in:
parent
ee267b55a3
commit
3868b09256
1 changed files with 9 additions and 5 deletions
|
|
@ -59,11 +59,15 @@
|
||||||
|
|
||||||
set hn (prompt_hostname)
|
set hn (prompt_hostname)
|
||||||
set fish_cursor_default block blink
|
set fish_cursor_default block blink
|
||||||
set fish_cursor_insert line blink
|
|
||||||
set fish_cursor_replace_one underscore blink
|
if test "$INSIDE_EMACS" != "vterm"
|
||||||
set fish_cursor_visual block
|
set fish_cursor_insert line blink
|
||||||
set fish_vi_force_cursor 1
|
set fish_cursor_replace_one underscore blink
|
||||||
fish_vi_key_bindings
|
set fish_cursor_visual block
|
||||||
|
set fish_vi_force_cursor 1
|
||||||
|
fish_vi_key_bindings
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
fish_add_path /run/current-system/sw/bin
|
fish_add_path /run/current-system/sw/bin
|
||||||
fish_add_path /opt/homebrew/bin
|
fish_add_path /opt/homebrew/bin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue