• To go to space mode, use space key
  • From dashboard mode, press f key to open Find file dialog using picker plugin.
  • From dashboard mode, pressing f key opens the file/find menu. Basically, from different mode, different keys will have different results.

Different modes:

  • Space Mode (space) (Lazyvim concept)
  • Insert mode Access keyboard shortcuts in insert mode using Control and Alt keys. Example:
    • Use Control-r to pop up a list of registers (registers mini mode) to paste from and + key to paste text when in insert mode.
  • Normal Mode
    • p(put) key to paste from system clipboard.
    • Use " to enter the registers mini mode.
    • Use i key to go to insert mode (before the current position).
    • Use a key to go to insert mode (after current position, append).
  • Goto Mode: Enter by pressing g key. Exit by pressing esc key.
  • Visual Mode
  • Command Mode: Enter by pressing : key.
    • <Tab> and Control-y key to navigate the command menu autocomplete suggestions.

Getting Around

  • Seeking Text: Normal Mode, s key.
  • Scrolling the screen
    • Control-d - scroll the window down by half a screen’s worth of text, cursor moves but stays in same position relative to the window.
    • Control-u - scroll down
    • Control-b - scroll forward, can be prefixed with a count to move by that many pages. Eg: 5<Control-b>
    • Control-f - scroll forward by a page. Can be prefixed with count.
    • Control-y - scroll up by one line, can be prefixed with count.
    • Control-e - scroll down by one line, can be prefixed with count.

Z mode

Enter z mode by pressing z key while in normal mode.

  • zt - Move the cursor line to top.
  • zb - Move the cursor line to bottom.
  • zz - Move the cursor line to center.

To move the cursor to start of line, append 0 with above commands. Like zt0, zb0, and zz0.

For more scrolling keybindings, use :help scrolling command.

  • Counting: Majority of commands can be prefixed with a number. This allows repeating a motion number of times. To move the cursor up 10 lines, use 10k. Or use 9l to move the cursor to the right by 9 characters.

Plugins

Install plugins for languages you work with using :LazyExtras command. Plugins for languages would be in lang.* format.

Working with files

TODO

heading