Skip to content

Getting Started

prrockzed edited this page Oct 1, 2024 · 4 revisions

Important:

For all the keybindings, view the keymaps file.

keymaps.lua path: ~/.config/nvim/lua/nvimdev/core/keymaps.lua

Some Initial Keybindings:

  • kj - [i] works as esc key
  • - returns to normal mode. Also acts as no highlight
  • <leader> + e - [n] opens the file explorer
  • <C-r> - [v] used for replacing
  • <S-k> - [v] moves the line up
  • <S-j> - [v] moves the line down

What does [n],[i],[v] etc. mean:

  • n - normal mode
  • i - insert mode
  • v - visual mode
  • <C> - control
  • <S> - Shift
  • <leader> - space key

Note2: If you want to change the default leader key, go to keymaps.lua file and change it in vim.g.mapleader and vim.g.maplocalleader.

Clone this wiki locally