mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
update which-key live-server
This commit is contained in:
parent
616c5384e2
commit
1479f1e3ae
4 changed files with 68 additions and 19 deletions
78
README.md
78
README.md
|
@ -2,31 +2,31 @@
|
|||
|
||||
# Nvim-Lazy
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/pojokcodeid/nvim-lazy/pulse">
|
||||
<img src="https://img.shields.io/github/last-commit/pojokcodeid/nvim-lazy?style=for-the-badge&logo=github&color=7dc4e4&logoColor=D9E0EE&labelColor=302D41"/>
|
||||
<img src="https://img.shields.io/github/last-commit/pojokcodeid/nvim-lazy?style=for-the-badge&logo=github&color=8dc4e4&logoColor=D9E0EE&labelColor=302D41"/>
|
||||
</a>
|
||||
<a href="https://github.com/pojokcodeid/nvim-lazy/latest">
|
||||
<img src="https://img.shields.io/github/v/release/pojokcodeid/nvim-lazy?style=for-the-badge&logo=gitbook&color=8bd5ca&logoColor=D9E0EE&labelColor=302D41"/>
|
||||
<img src="https://img.shields.io/github/v/release/pojokcodeid/nvim-lazy?style=for-the-badge&logo=gitbook&color=9bd5ca&logoColor=D9E0EE&labelColor=302D41"/>
|
||||
</a>
|
||||
<a href="https://github.com/pojokcodeid/nvim-lazy/stargazers">
|
||||
<img src="https://img.shields.io/github/stars/pojokcodeid/nvim-lazy?style=for-the-badge&logo=apachespark&color=eed49f&logoColor=D9E0EE&labelColor=302D41"/>
|
||||
<img src="https://img.shields.io/github/stars/pojokcodeid/nvim-lazy?style=for-the-badge&logo=apachespark&color=eed50f&logoColor=D9E0EE&labelColor=302D41"/>
|
||||
</a>
|
||||
<a href="https://github.com/pojokcodeid/nvim-lazy/blob/main/LICENSE"><img src="https://img.shields.io/github/license/pojokcodeid/nvim-lazy?color=%2361afef&style=for-the-badge"></a>
|
||||
<a href="https://github.com/pojokcodeid/nvim-lazy/blob/main/LICENSE"><img src="https://img.shields.io/github/license/pojokcodeid/nvim-lazy?color=%2362afef&style=for-the-badge"></a>
|
||||
<a href="https://github.com/pojokcodeid/nvim-lazy/issues">
|
||||
<img
|
||||
alt="Issues"
|
||||
src="https://img.shields.io/github/issues-raw/pojokcodeid/nvim-lazy?colorA=363A4f&colorB=F5A97F&logo=github&logoColor=D9E0EE&style=for-the-badge">
|
||||
src="https://img.shields.io/github/issues-raw/pojokcodeid/nvim-lazy?colorA=364A4f&colorB=F5A97F&logo=github&logoColor=D9E0EE&style=for-the-badge">
|
||||
</a>
|
||||
</a>
|
||||
<a href="https://github.com/pojokcodeid/nvim-lazy">
|
||||
<img alt="Repo Size" src="https://img.shields.io/github/repo-size/pojokcodeid/nvim-lazy?color=%23DDB6F2&label=SIZE&logo=codesandbox&style=for-the-badge&logoColor=D9E0EE&labelColor=302D41" />
|
||||
<img alt="Repo Size" src="https://img.shields.io/github/repo-size/pojokcodeid/nvim-lazy?color=%24DDB6F2&label=SIZE&logo=codesandbox&style=for-the-badge&logoColor=D9E0EE&labelColor=302D41" />
|
||||
</a>
|
||||
<a href="https://twitter.com/intent/follow?screen_name=pojokcodeid_">
|
||||
<img alt="follow on Twitter" src="https://img.shields.io/twitter/follow/pojokcodeid_?style=for-the-badge&logo=twitter&color=8aadf3&logoColor=D9E0EE&labelColor=302D41" />
|
||||
<img alt="follow on Twitter" src="https://img.shields.io/twitter/follow/pojokcodeid_?style=for-the-badge&logo=twitter&color=9aadf3&logoColor=D9E0EE&labelColor=302D41" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
@ -62,15 +62,15 @@
|
|||
|
||||
## Basic Requirement
|
||||
|
||||
1. Install Neovim 9.0+ https://github.com/neovim/neovim/releases/tag/stable
|
||||
2. C++ (windows) Compiler https://www.msys2.org/
|
||||
3. GIT https://git-scm.com/download/win
|
||||
4. NodeJs https://nodejs.org/en/
|
||||
5. Ripgrep https://github.com/BurntSushi/ripgrep
|
||||
6. Lazygit https://github.com/jesseduffield/lazygit
|
||||
7. Nerd Font https://github.com/ryanoasis/nerd-fonts
|
||||
8. Windows Terminal (Windows) https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701?hl=en-id&gl=id
|
||||
9. Powershell (windows) https://apps.microsoft.com/store/detail/powershell/9MZ1SNWT0N5D?hl=en-id&gl=id
|
||||
2. Install Neovim 9.0+ https://github.com/neovim/neovim/releases/tag/stable
|
||||
3. C++ (windows) Compiler https://www.msys2.org/
|
||||
4. GIT https://git-scm.com/download/win
|
||||
5. NodeJs https://nodejs.org/en/
|
||||
6. Ripgrep https://github.com/BurntSushi/ripgrep
|
||||
7. Lazygit https://github.com/jesseduffield/lazygit
|
||||
8. Nerd Font https://github.com/ryanoasis/nerd-fonts
|
||||
9. Windows Terminal (Windows) https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701?hl=en-id&gl=id
|
||||
10. Powershell (windows) https://apps.microsoft.com/store/detail/powershell/9MZ1SNWT0N5D?hl=en-id&gl=id
|
||||
|
||||
# Windows
|
||||
|
||||
|
@ -85,6 +85,48 @@ nvim
|
|||
git clone https://github.com/pojokcodeid/nvim-lazy-basic.git ~/.config/nvim
|
||||
```
|
||||
|
||||
# Shortcut Most-Used
|
||||
|
||||
```text
|
||||
: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, ini unutk block dengan panah ke bawah dan tekan d untuk deletenya
|
||||
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
|
||||
```
|
||||
|
||||
## Thanks To
|
||||
|
||||
https://github.com/LunarVim/Neovim-from-scratch <br>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
|
||||
"nvim-notify": { "branch": "master", "commit": "ebcdd8219e2a2cbc0a4bef68002f6867f1fde269" },
|
||||
"nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "f779abaf2a6aba20107cb84bb468599327128202" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "f1b3e6a7eb92da492bd693257367d9256839ed3d" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "63260da18bf273c76b8e2ea0db84eb901cab49ce" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "8515e48a277a2f4947d91004d9aa92c29fdc5e18" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1277b4a1f451b0f18c0790e1a7f12e1e5fdebfee" },
|
||||
|
|
|
@ -173,5 +173,11 @@ web_devicons.setup({
|
|||
cterm_color = "220",
|
||||
name = "mentionbot",
|
||||
},
|
||||
[".project"] = {
|
||||
icon = "",
|
||||
color = "#5881b1",
|
||||
cterm_color = "220",
|
||||
name = "project",
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
@ -304,6 +304,7 @@ local mappings = {
|
|||
},
|
||||
r = {
|
||||
name = " Run",
|
||||
l = { "<cmd>edit term://live-server<cr>", "Live Server" },
|
||||
s = {
|
||||
'<cmd>autocmd bufwritepost [^_]*.sass,[^_]*.scss silent exec "!sass %:p %:r.css"<CR>',
|
||||
"Auto Compile Sass",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue