Giter VIP home page Giter VIP logo

nvim's Introduction

HOME (No Maintenance)

Untuk Update Terbaru gunakan https://github.com/pojokcodeid/nvim-lazy

home!

PHP

LARAVEL!

JAVA

JAVA! JAVA!

Panduan Install Dan Konfigurasi NeoVim

Kebutuhan Dasar

  1. Install Neovim 8.0+ https://github.com/neovim/neovim/releases/tag/v0.8.2
  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

Panduan Windows

  • Pastikan sudah menginstall kebutuhan dasar diatas
  • Jalankan Script Dibawah pada Powershell
git clone https://github.com/pojokcodeid/nvim.git "$env:LOCALAPPDATA\nvim"
nvim

Panduan Linux (Debian Based)

  1. Pastikan Acess Administrator
visudo
[nama user] ALL=(ALL:ALL) ALL
[nama user] ALL=(ALL) NOPASSWD:ALL
  1. Install Neovim
sudo apt-get install wget
mkdir download
cd download
wget https://github.com/neovim/neovim/releases/download/v0.8.1/nvim-linux64.deb
sudo apt-get install ./nvim-linux64.deb
nvim --version
  1. Check G++
g++ --version
  1. Install NodeJS
sudo apt-get install curl
sudo apt install build-essential libssl-dev
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
source ~/.bashrc
nvm install 18.13.0
node --version
npm --version
  1. Install unzip, ripgrep
sudo apt-get install unzip
sudo apt-get install ripgrep
  1. Install lazygit
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep '"tag_name":' |  sed -E 's/.*"v*([^"]+)".*/\1/')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
sudo tar xf lazygit.tar.gz -C /usr/local/bin lazygit
lazygit --version
  1. Install Git
sudo apt-get install git
git --version
  1. Clone Config
git clone https://github.com/pojokcodeid/nvim.git ~/.config/nvim

Setting LSP dan Treesitter

Config LSP - Cari file nvim/lua/user/lsp/mason.lua

  • Tambahkan pada bagian berikut
local servers = {
	"sumneko_lua",
	"cssls",
	"html",
	"tsserver",
	"pyright",
	-- "bashls",
	"jsonls",
	-- "yamlls",
	-- "jdtls",
	"emmet_ls",
	"intelephense",
}

Comfig Treesitter Cari file nvim/lua/user/treesitter.lua

  • Tambahkan Pada Bagian berikut
ensure_installed = {
		"bash",
		"c",
		"javascript",
		"json",
		"lua",
		"python",
		"typescript",
		"tsx",
		"css",
		"rust",
		"java",
		"yaml",
		"markdown",
		"markdown_inline",
	}, -- one of "all" or a list of languages

Ubah Dashboard => Cari File nvim/lua/user/alpha.lua

  • Edit Bagian ini
dashboard.section.header.val = {
	[[             _       _                    _      ]],
	[[            (_)     | |                  | |     ]],
	[[ _ __   ___  _  ___ | | __   ___ ___   __| | ___ ]],
	[[| '_ \ / _ \| |/ _ \| |/ /  / __/ _ \ / _` |/ _ \]],
	[[| |_) | (_) | | (_) |   <  | (_| (_) | (_| |  __/]],
	[[| .__/ \___/| |\___/|_|\_\  \___\___/ \__,_|\___|]],
	[[| |        _/ |                                  ]],
	[[|_|       |__/                                   ]],
}

Seting Bahasa Pemprograman

List Plugins

key lazygit

Key Lazygit

Terima Kasih

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

nvim's People

Contributors

pojokcodeid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.