Giter VIP home page Giter VIP logo

Comments (6)

randy3k avatar randy3k commented on June 11, 2024

both normal and visual mode are indicated in the same way, with "nav".

It is expected behavior as long as i can tell.

When in visual mode, pressing ESC takes a lot of time to exit visual mode (1/2 seconds)

it is a known issue of prompt-toolkit. ipython shares the same issues.

Is it possible to indicate the mode with just one letter (i/n/v)?

options(
    radian.vi_mode_prompt = list(
        "ins" = "(I) ",
        "nav" = "(N) ",
        "rep" = "(R) "
    )
)

from radian.

raffaem avatar raffaem commented on June 11, 2024

Is it possible to indicate the mode with just one letter (i/n/v)?

options(
    radian.vi_mode_prompt = list(
        "ins" = "(I) ",
        "nav" = "(N) ",
        "rep" = "(R) "
    )
)

Is this documented?

from radian.

raffaem avatar raffaem commented on June 11, 2024

uhm can I have per-mode cursors? I would like a box in normal mode, and a vertical bar in insert mode.

As you can see, I am very, very spoiled 😛

from radian.

raffaem avatar raffaem commented on June 11, 2024

When in visual mode, pressing ESC takes a lot of time to exit visual mode (1/2 seconds)

it is a known issue of prompt-toolkit. ipython shares the same issues.

is it ever going to be fixed?

I wrote a bug report and never received an answer

from radian.

randy3k avatar randy3k commented on June 11, 2024

Is this documented?

No. But it is not likely to be changed unless prompt-toolkit changes the input modes.

uhm can I have per-mode cursors? I would like a box in normal mode, and a vertical bar in insert mode.

prompt-toolkit added this support in prompt-toolkit/python-prompt-toolkit#1558

it should be doable, but I don't have the time to invest in it now.

from radian.

randy3k avatar randy3k commented on June 11, 2024

is it ever going to be fixed?

I wrote a bug report and never received an answer

I don't think it is fixable without major refactoring in prompt-toolkit's key capturing mechanism.

from radian.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.