Questions tagged [popup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
54 views

nvim popup vs vim popup

I'm planning to write a simple pop-up for myself and I found a nice beginning point for this in this question, but I want to make the code compatible with nvim as well. I can't seem to find a similar &...
1
vote
1answer
18 views

Adjust syntax highlighting of git/mercurial patch within a popup

I have added the following line to my vimrc which allows me to press <leader>p to show the mercurial log with patch for the current line in a popup window. nmap <silent><Leader>p :...
0
votes
0answers
77 views

nvim: how to manually clear popups which do not clear themselves?

While it may not be the only culprit, coc.nvim is a bit notorious for leaving popups hanging around the screen long after they should be cleared. Sometimes, as in the gif below, dangling popups will ...
0
votes
0answers
43 views

How to get syntax group name of a floating window

I would like to change the font from bold to normal in my floating windows in Vim 8.* I have this script here that gets the syntax group name of the item under cursor. However, this will not work for ...
1
vote
1answer
129 views

Can you turn a popup into a regular buffer?

I have a popup / floating window open which is normally used for temporary jobs, like searching the code or opening a quick REPL. Is it possible to turn that into a regular buffer? While I have it ...
33
votes
1answer
8k views

What are the new "popup windows" in Vim 8.2?

The latest version of Vim, 8.2, has a new feature called "popups" or "popup windows". They sound interesting but I'm not quite sure what they're good for. Can you enlighten me...preferably with some ...