Skip to content

pojokcodeid/nvim-lazy

Repository files navigation

Nvim-Lazy

Neovim Lua

Issues Repo Size follow on Twitter

HOME

home!

Transparant

home!

Demo

demo!

Treesitter dan LSP

demo!

Plugins Manager

PlugManaget!

Javascript Project

PlugManaget!

NeoVim Install & Configuration Guide

Visit Wiki

Basic Requirement

  1. Install Neovim 0.95+ https://github.com/neovim/neovim/releases/tag/stable
  2. C++ 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://www.nerdfonts.com/ or 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

Windows

git clone https://github.com/pojokcodeid/nvim-lazy-basic.git "$env:LOCALAPPDATA\nvim"
nvim

Linux

git clone https://github.com/pojokcodeid/nvim-lazy-basic.git ~/.config/nvim

Uninstall

# Linux / Macos (unix)
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim

# Windows CMD
rd -r ~\AppData\Local\nvim
rd -r ~\AppData\Local\nvim-data

# Window PowerShell
rm -Force ~\AppData\Local\nvim
rm -Force ~\AppData\Local\nvim-data

Shortcut Most-Used

:q or :quit exit the form
:w or :write write the typing result into a file (save)
:wq save and exit
:q! Exit and do not save
escape normal mode
i insert mode
v visual mode, must be in normal mode first
h left
j down
k up
l right
:ter open the terminal
0 or home move the cursor to the beginning of the line
$ or end move the cursor to the end of the line
gg move the cursor to the top
G move the cursor to the end of the page
w move the cursor to the next word with out spaces
3w move the cursor to the next 3 words
b move the cursor to the previous word
3b move the cursor to the previous 3 words
( move the cursor to the previous paragraph
) move the cursor to the next paragraph
dd delete text 1 line
d$ delete words until the end of the line from the cursor position
d0 delete words until the beginning of the line from the cursor position
U to undo
CTRL + r Rendo
Yp duplicate line code
yyp same duplicate line code
:m+1 move 1 line down
:m-1 move 1 line up
d delete code that is selected with view mode
:e newfolder/newfile.ext create a new file in a new folder
:f newfolder/newfile.ext to copy the file from the open file
bdw delete 1 word
dw delete to the right in 1 word at the cursor position

Thanks To

https://github.com/LunarVim/Neovim-from-scratch
https://github.com/AstroNvim/AstroNvim