diff --git a/README.md b/README.md index a39bb55..a280b94 100644 --- a/README.md +++ b/README.md @@ -88,46 +88,158 @@ git clone https://github.com/pojokcodeid/nvim-lazy-basic.git ~/.config/nvim # Shortcut Most-Used - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:q or :quit -> untuk keluar dari form
:w or :write -> untuk menulis hasil ketik kedalam file (simpan)
:wq -> simpan dan keluar
:q! -> Keluar dan jangan simpan
escape -> normalmode
i -> insert mode
v -> visual mode yaratnya harus normal mode dulu
H -> kiri
j -> bawah
k -> atas
l -> Kanan
:ter -> untuk membuka terminal
0 atau home -> memindahkan kursor keawal line
$ atau end -> cursor ke end of line
gg -> memindahkan kursor ke paling atas
G -> memindahkan kursor ke akhir dari halaman
w -> memindahkan kursor ke kata berikutnya tanpa sepasi
3w -> memindahkan kursor ke 3 kata berikutnya
b -> memindahkan kursor ke kata sebelumnya
3b -> memindahkan kursor ke 3 kata sebelunya
( -> memindahkankursor ke paragraf seblumnya
) -> memindahkan kursor ke pararaf berikutnya
dd -> menghapus text 1 baris
dw -> menghapus 1 kata
d$ -> menghapus kata sampai akhir line dari posisi cursor
d0 -> menghapus kata sampai awal line dari psosi cursor
U -> untuk undo
CTRL + r -> Rendo
Yp -> duplicate line code
yyp -> sama duplicate line code
:m+1 -> pindah 1 baris kebawah
:m-1 -> pindah 1 baris keatas
d -> delete file, delete code yang di seleksi dengan view mode
:e newfolder/newfile.ext -> membuat file baru di folder baru
:f newfolder/newfile.ext -> untuk mengcopy file dari file yang terbuka
bdw -> menghapus 1 kata
dw -> menghapus ke kanan dalam 1 kata pada posisi cursor
:q or :quitto exit the form
:w or :writeto write the typing result into a file (save)
:wqsave and exit
:q!Exit and do not save
escapenormal mode
iinsert mode
vvisual mode, must be in normal mode first
hleft
jdown
kup
lright
:terto open the terminal
0 or homemove the cursor to the beginning of the line
atauendcursor to the end of the line
ggmove the cursor to the top
Gmove the cursor to the end of the page
wmove the cursor to the next word with out spaces
3wmove the cursor to the next 3 words
bmove the cursor to the previous word
3bmove the cursor to the previous 3 words
(move the cursor to the previous paragraph
)move the cursor to the next paragraph
dddelete text 1 line
dwdelete 1 word
ddelete words until the end of the line from the cursor position
d0 + delete words until the beginning of the line from the cursor position +
Uto undo
CTRL + rRendo
Ypduplicate line code
yypsame duplicate line code
:m+1move 1 line down
:m-1move 1 line up
ddelete file, delete code that is selected with view mode
:e newfolder/newfile.extcreate a new file in a new folder
:f newfolder/newfile.extto copy the file from the open file
bdwdelete 1 word
dwdelete to the right in 1 word at the cursor position
- ## Thanks To https://github.com/LunarVim/Neovim-from-scratch