Browsing the internet inside Neovim, Power Mode, :TOhtml rewritten in Lua, screenkey.nvim, blame.nvim, decipher.nvim
Email Newsletter
Sign up with your email address to receive an email when a new issue of This Week in Neovim is available
Introduction
This week we put a spotlight on the Neovim core rewrite of :TOhtml to lua. We share a reddit post showcasing how to use Neovim version manager to browse the internet from Neovim, as well as using other GUI apps directly in Neovim. We share a work in progress project adding Power Mode support to Neovim, and several new and updated plugins.
Hope you enjoy this weeks issue!
Neovim core
Updates of Neovim itself, which are available on Neovim nightly.
- @neovim on Twitter
- Neovim news
:h news.txt
updates in Neovim directly- PR's on GitHub
Neovim Core Commits
- refactor(vim.iter)!: remove vim.iter.map/filter/totable #26138
- feat(lua): enable(enable:boolean, filter:table) #28374
- feat(defaults): use ripgrep (rg) for 'grepprg' if available
- feat(diagnostic): enable(…, opts)
- feat(api)!: nvim_open_win: noautocmd blocks all autocmds #28192
:TOhtml rewritten in Lua
:TOhtml was rewritten in Lua with less code and extensive testing. It now supports extmarks and treesitter highlights, and is an alternative to :hardcopy, allowing buffer saving as HTML for printing via web browser.
Neovim Plugin Community
Neovim is full of active plugins. This section is about the community and what is going on.
Resources & articles
Browsing the internet and use other GUI apps from Neovim
You can run GUI apps in Neovim using NWM (Neovim Window Manager). Neovim X11 Window Manager lets you treat X11 windows like buffers. To focus an X11 window buffer, enter insert mode (unless auto-focus configurations are enabled). It spawns a rootfull Xwayland window and starts nxwm. The :Browser command lets you run Firefox in kiosk mode.
Powermode inside Neovim
sushi_ender shared their work in progress project which adds Power Mode support to Neovim. The approach is terminal-based and the implementation does not depend on a GUI.
New plugins
NStefan002/screenkey.nvim
Screencast your keys in Neovim
screenkey.nvim displays typed keys in a floating window, useful for screencasting and live coding. It has options for customization and can compress repeated input for clarity.
dharmx/telescope-media.nvim
Complete rewrite. Pure Lua.
telescope-media.nvim allows previewing various file types like images, PDFs, videos, and fonts within Neovim using the Telescope plugin. It supports a wide range of file formats and requires specific prerequisites for optimal functionality.
dharmx/track.nvim
Harpoon-like file tracking. Supercharged with telescope.nvim.
track.nvim provides file tracking features similar to Harpoon, enhanced by telescope.nvim.
dharmx/toml.nvim
A proof of concept plugin. Configure Neovim with TOML/JSON.
toml.nvim is a plugin that enables Neovim configuration using TOML/JSON
moyiz/git-dev.nvim
Open remote git repositories in the comfort of Neovim.
git-dev.nvim allows opening remote Git repositories in Neovim and managing ephemeral shallow clones automatically. It aims to replicate the GitHub.dev experience within Neovim. The plugin provides options to open repositories at specific branches, tags, or commits, seamlessly integrating with workflows. It offers cleanup functionality upon Neovim exiting. The plugin supports various customization options, such as setting repositories directory paths and defining Git command configurations.
moyiz/command-and-cursor.nvim
Highlight cursor and visual selections in current buffer when entering command mode.
command-and-cursor.nvim highlights cursor and visual selections in Neovim's command mode, enhancing visibility and inclusivity. Installation is straightforward using a plugin manager. The plugin offers customization options for highlight group, priority, and more.
Updated plugins
blame.nvim updated with new features
Neovim fugitive style git blame plugin
The latest version of blame.nvim introduces:
- Blame Stack: Navigate through file history like Github's blame feature.
- QOL Improvements: Commit info popup, full commit details, and customization options.
- Customization: Define formatting functions, implement custom views, and customize key mappings.
Links
decipher.nvim v1 released
A neovim plugin for encoding and decoding text
The first major version of decipher.nvim was recently released including:
- Several improvements
- Fix for async ui select.
- Updated docs
- Support encoding base64-url
Links
Bob neovim version manager release v2.9.0
Bob, a user-friendly Neovim version manager, simplifies switching between versions from the command line. Version v2.9.0 introduces several updates:
- Alias for the latest Neovim commit: git|head
- Automatic Neovim proxy update on use
- Enhanced compatibility with older versions
Links:
Contributing
Add your plugin to Dotfyle through this form to be featured in This Week in Neovim
Contribute to the development of Dotfyle: