Index

My neovim workflow

nvim-000

All configs are in my dotfiles.

Use both \ and ; as leader key:

vim.keymap.set("n", ";", "<leader>", { remap = true })
vim.keymap.set("n", "q", ":q<CR>")

Search multiple words:

:/\vword1|word2|word3

Replace word:

:%s/word1/word2/g

Jump basic:

Jump advance:

Keymap for plugin (sync with dotfiles):

vim.keymap.set("n", "<leader>f", ":FZF<CR>")
vim.keymap.set("n", "<leader>rg", ":FZFRg<CR>")
vim.keymap.set("n", "<leader>cm", ":FZFCommands<CR>")
vim.keymap.set("n", "<C-n>", ":NvimTreeToggle<CR>")
vim.keymap.set("n", "<leader>n", ":NvimTreeFindFile<CR>")
vim.keymap.set("n", "<leader>tr", ":lua MiniTrailspace.trim()<CR>")

Reference

Feel free to ask me via email or Mastodon. Source code is available on GitHub