How do I pretty-print Lua tables and values for debugging in Neovim using vim.print?
vim.print()
vim.
Search Vim Tricks
Searching...vim.print()
vim.
vim.lsp.config('*', { ... })
Neovim 0.
vim.system()
vim.
vim.api.nvim_set_hl(0, 'Normal', {bg='NONE'})
By default, Neovim paints a solid background color defined by the active colorscheme.
config #neovim #lua #config #highlight #colorscheme #transparency
vim.defer_fn()
vim.
vim.ui.select()
Neovim exposes vim.
<C-w>d
Neovim 0.
buffers-windows #diagnostics #lsp #floating-window #neovim #buffers #windows
iW vs iw
Vim has two flavors of the "inner word" text object that are easy to confuse: iw (lowercase) and iW (uppercase).
# vim: set ts=4 sw=4 et:
Vim's modeline feature lets you embed editor settings directly into a file.
set pumblend=10
Neovim supports pseudo-transparency for the completion popup menu via pumblend and for floating windows via winblend.
set completeopt+=fuzzy
Neovim 0.
gr{motion}
Neovim 0.
stevearc/oil.nvim
oil.
folke/snacks.nvim
snacks.
flash.nvim
flash.
saghen/blink.cmp
blink.
:[range]w !{cmd}
The :[range]w !{cmd} command writes a range of lines to the standard input of a shell command, leaving the buffer completely unchanged.
vim.keymap.del()
vim.
<C-\><C-o>
In a Neovim terminal buffer, exits to normal mode permanently.
buffers-windows #terminal #buffers-windows #insert-mode #neovim #normal-mode
:reg {names}
The :registers command dumps every register at once, which is noisy when you only care about a handful.