Zalgorithm

Neovim (LazyVim) key commands

LazyVim keymap documentation: https://www.lazyvim.org/keymaps .

Related to: notes / Neovim command line commands

All keybindings below are for normal mode otherwise stated.

Launch which-key #

LazyVim uses which-key.nvim to show available keybindings in a window. The window opens automatically. E.g. hit the leader key (<space>) in normal mode and a window opens (for me) on the right showing the available key commands.

Launch fzf-lua #

LazyVim uses fzf-lua as a replacement for telescope.nvim.

Launch Neo-tree #

Neo-tree is the file explorer that opens (for me) in a left-hand sidebar window.

Display diagnostics in a floating window #

Move to end of word #

Move cursor to the end of the current word, if the cursor isn’t on the end of the current word, otherwise, more the cursor to the end of the next word.

Move to beginning of next word #

Move to beginning of next word:

Jump to previous or next section #

Useful for jumping between headings in markdown files (and what prompted me to create this document).

Select a word #

In normal mode, put cursor somewhere over word, then:

This will leave you in visual mode

Make selected word uppercase or lowercase (visual mode) #

With the word selected in visual mode:

Manually open the blink.cmp autocomplete menu #

When completion is enabled ( see: Toggle autocomplete ) the blink.cmp completion menu can be manually opened with “<C + Space>”. This seems to depend on the current filetype though.

Specific to my config #

Toggle autocomplete #

In both normal and insert mode, toggle autocompletion with “<C + q>” (the “control” key and the “q” key).

Make single character uppercase or lowercase #

Select the character with visual mode. (From normal mode, just hit v):

Tags: