basic mappings
These are the basic keybindings. Press Space to see all the key mappings.
- To open the file explorer press Space + r → Close it with q
- To toggle the project tree press Space + e
To close the current buffer press Space + c
To toggle the code tree tree press Space + i
To see line diagnostics press Space + lD
To find a word inside your project press Space + ff
To find and replace something in the current buffer press Space + fb
To find and replace something in the entire project press Space + fr
To find recent files press Space + fo
To use code actions press Space + la
To open the git client press Space + gg
- To switch to the buffer on the left press [b
- To switch to the buffer on the right press ]b
To switch to another window press Ctrl + h/l/k/j
To resize a window press Ctrl + left/down/up/right arrow keys
- To move the cursor to a posision of the visible screen press ENTER
- To go and comment lines press gcc
- To go to definition press gd
- To go to reference press gr
- To go to call tree press gj
- To go to the lines where a variable is assigned press gs
- To go to help set your cursor over something and press gh
- To go to man press gm → To close man press Space + c
- To go to file set your cursor over a file path and press gf
- To go to the next change press ctrl + o
- To go to the previous change press ctrl + i
You can show all key bindings in the screen by pressing Space
To run (or continue) the debugger press F5
To stop the debugger press Shift + F5
To insert a breakpoint press F9
To step → press F10
To step ← press Shift+F10
To step into press F11
To step out press Shift+F11
To toggle the compiler press F6
To redo the last selected action Shift+F6
To toggle the compiler results press Shift + F7
To toggle terminal press F7
- To run the unit test under the cursor press Space T + u
- To run all units tests of the project press Space + T + a
- To run e2e tests press Space + T + e
Normally NormalNvim auto generates the code documentation of your project
- To open the documentation of your project press Space + d + d
- To preview a markdown file in the browser press Space + D + p
- To preview a markdown file in the browser as a mental map press Space + D + m