Skip to content

Popup window gallery

K.Takata edited this page Dec 23, 2021 · 9 revisions

Examples

Preview quickfix error in popup window

Very simple ftplugin for the quickfix window to preview the file with the quickfix item under the cursor in a popup window. Video can be found here, Plugin: vim-qf-preview.

Key mappings for popup window:

  • Ctrl-J and Ctrl-K scrolls popup window down and up
  • gg jumps to first line
  • G jumps to bottom
  • x (or any cursor movement): closes popup window

Screenshot

Fuzzy finder tool in popup window

An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc., on the fly.
Plugin: LeaderF.

Usage: :Leaderf file --popup

Key mappings for popup window:

  • Ctrl-J, Ctrl-K: scrolls down and up in the search window
  • Ctrl-P: preview the result
  • Ctrl-Down, Ctrl-Up: scrolls down and up in preview window
  • <CR>: accept the result

Screenshot

LeaderF

vim-quickui

vim-quickui provides a rich set of TUI widgets for vim 8.2, including

  • a well designed menu:

  • a carefully colored listbox:

  • a preview window to peek definitions:

  • a context menu to organize lsp commands:

  • with different colorschemes and borders: