Skip to content

Using block cursor only for normal state? #4656

Description

@dieggsy
fish version 2.7.0
uname -a Linux Ragnarok 4.14.12-1-ARCH #1 SMP PREEMPT Fri Jan 5 18:19:34 UTC 2018 x86_64 GNU/Linux
TERM xterm-termite or xterm-256color (happens with both)
sh -c 'env HOME=$(mktemp -d) fish' behavior persists

Basically, I use fish_vi_key_bindings along with:

set -U fish_cursor_insert line
set -U fish_cursor_replace_one underscore

However, when running a repl program like python (or really anything else where my cursor is visible, like pacman -S and other password prompting programs), the cursor I get is a block (normal mode) cursor. Is there a way for the default cursor in all instances/programs to be a line cursor, and only switch to a bar cursor when explicitly switching to normal mode?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions