Giter Club home page Giter Club logo

Comments (8)

kovidgoyal avatar kovidgoyal commented on July 23, 2024

I strongly recommend switching to nvim, but if you really want to
continue using vim, see
https://sw.kovidgoyal.net/kitty/faq/#using-a-color-theme-with-a-background-color-does-not-work-well-in-vim

from kitty.

xave avatar xave commented on July 23, 2024

Not sure why this is closed. These seem to me to be completely different issues.

This thread is about the feature of layers that vim uses to make those pop ups. The suggested fix does not do anything in that regard.

from kitty.

kovidgoyal avatar kovidgoyal commented on July 23, 2024

Because this is not a bug in kitty. It's a bug in vim, that you most
likely can workaround by following the instructions in that FAQ.

from kitty.

xave avatar xave commented on July 23, 2024

Could you expand on what the vim bug is? I did read your entire thread with Bram. And I added all of the hardcoded settings you recommend. They did nothing for this particular issue. If you have further insights, it would be appreciated.

fatih/vim-go#1963

This is the functionality I am trying to get, loosely. The pop up balloon should pop up.

from kitty.

xave avatar xave commented on July 23, 2024

Perhaps there is a specific $TERM setting I should have. You are more familiar with the nuances of this and thus could provide better insights.

from kitty.

kovidgoyal avatar kovidgoyal commented on July 23, 2024

No clue, I stopped using vim a while back, given all its issues. General
advice is, make sure TERM is xterm-kitty, and you have applied the settings
in the FAQ. Beyond that you are better of asking in the vim issue
tracker, they will know best what preconditions are needed for whatever
is responsible for that feature. There is nothing the terminal has to do
here, it's all application side code, vim needs to decide to draw or not
draw those popup windows and then draw them or not draw them. The popup
windows are themselves not actually "windows" they are just a
differently colored region of the screen completely indistinguishable
from anything else as far as the terminal emulator is concerned.

from kitty.

xave avatar xave commented on July 23, 2024

Thanks for your response. I have found vim to be stable and reliable companion over the years. The big change for me is switching from iterm2, which I have been using for some time. So some growing pains are to be expected. Though, most of my setup does just work out of the box with kitty, so I am willing to do a bit more to make the switch.

I did try the TERM=xterm-kitty to no effect with respect to this scenario. I will investigate further.

from kitty.

xave avatar xave commented on July 23, 2024

I figured it out. My particular workflow uses the popup balloons with an LSP client. I am using nix. The LSP part does not work unless I start the nix-shell. I did that and immediately got the popup.

This means that my config worked with your system out of the box, without doing that hardcoding of parameters. It also means that it worked out of the box even without me setting the terminal to xterm-kitty. Just FYI for you.

Thanks for creating such a performant terminal. I might just make the switch!

from kitty.

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.