Skip to content

woosaaahh/debugwin.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

DebugWin

DebugWin helps to visualize messages or Lua results in a separate window.

Requirements

To use this plugin, you need :

  • to have Neovim 0.8+ version installed ;
  • to add woosaaahh/debugwin.nvim in your plugin manager configuration.

Here are some plugin managers :

Usage

  • debugwin.show() will open the window and display :messages ;
  • debugwin.show(variable) will open the window and display the content of variable ;
  • debugwin.focus() will focus the DebugWin window.
  • debugwin.close() will close the DebugWin window.

Configuration

No configuration needed, only keymaps :

local debugwin = require("debugwin")
vim.keymap.set({ "", "i" }, "<F8>", debugwin.show) -- to display `:messages` in a window
vim.keymap.set({ "", "i" }, "<F9>", debugwin.focus)
vim.keymap.set({ "", "i" }, "<F10>", debugwin.close)

About

DebugWin helps to visualize messages or Lua results in a separate window.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages