NvChad keyboard shortcuts

NvChad

Zeynel -
7 months ago
- Shortcuts
To edit opened file, you need to switch to INSERT mode. This can be done by pressing Insert key.
In the insert mode, these shorctuts can be used to move the cursor:
0
Ctrl + B

Go to the beginning of the line

0
Ctrl + E

Go to the end of the line

0
Ctrl + H

Move one character to the left

0
Ctrl + L

Move one character to the right

0
Ctrl + J

Go to the next line

0
Ctrl + K

Go to the previous line

Advertisement

To select text via keyboard, you need to enter VISUAL mode. To do this, first exit the insert mode by pressing Esc.
Once you place the cursor at the beginning of the part we want to select, we use the keys CTRL + v to enter the V-BLOC (Visual Block) mode.
Now moving with the cursor we will see that our selection will be highlighted.
1
Y

Copy selection to the clipboard

0
D

Delete selection

Text search

0
/

then type "/search key" : Search

0
/ + ⤶ Enter

Move to next match

-1
? + ⤶ Enter

Move to previous match

When you finished searching, the highlight can be removed by the command Shift + :noh (no highlight).

Saving the document

First press Esc to exit INSERT mode then press Shift + :w to save file with the current name.
To save with different name, use the following command:
:w /path/to/new/file_or_position
To save and quit, use Shift + :wq (write and quit).
Source: rockylinux.org

Share this page on:
Is this page helpful?
0 0

Advertisement

Program information

Program name: NvChad NvChad (Developer tools)

NvChad is a modular Neovim configuration that lets users to choose which plugins and configurations they want to include in their editing environment. It is written in Lua.

Web page: nvchad.com

How easy to press shortcuts: 85%

More information >>

Shortcut count: 11

Platform detected: Windows or Linux

Similar programs



User operations

Add NvChad to your list of favorites

Advertisement


What is your favorite NvChad hotkey? Do you have any useful tips for it? Let other users know below.


 
No comments yet. Ask, or type the first one!