Installation (Windows)

Tip: I highly recommend checking out my first video, Vim for Absolute Beginners, before diving into the setup! Let’s install Neovim on Windows and go over the basic terminal setup. Download Neovim here Neovim Lazy.nvim Setup on Windows Next, we will configure lazy.nvim as our plugin manager. You can find the official setup instructions on the Lazy.nvim website or their GitHub. ...

Neovim+Lazy (Linux)

Download Neovim here Also for debian based os just run sudo apt install nvim You can find the official plugin manager instructions on the Lazy.nvim website or their GitHub. Where to put your config files: Linux/macOS: ~/.config/nvim Note: If you can’t see this folder, make sure “show hidden files” is turned on in your file explorer.If missing create one. Basic Commands Reference Command What it does :e . Open the file explorer :e filename Open a specific file :bd Close the current file (buffer) :q Quit Neovim :! <cmd> Run a terminal shell command (e.g., :!ls)

Essential Neovim Plugins

My Dotfile Tip: I highly recommend checking out my first video, Vim for Absolute Beginners, before diving into the setup! At this point you have already setup lazy.nvim. You can check windows setup or for Linux. And Your folder structure will look like this yeasin@Workstation ~/.config/nvim . ├── init.lua ├── lua │ └── config │ ├── lazy.lua -- setup early video │ ├── plugins -- we gonna put plugins here | Neo-tree File Explorer Setup Set up Neo-tree to browse your project files visually right inside Neovim. (Requirements: You must have a Nerd Font active for the icons to display properly). ...

Good plugins

My Dotfile Tip: I highly recommend checking out my first video, Vim for Absolute Beginners, before diving into the setup! Neo-tree vs Oil.nvim: Which Neovim File Explorer Is Best?

LSP config

This is continue configuration from Vim plugin, before diving into the setup! Mason + blink Configure C, py, java and lean how to Configure any other language and Code-format. config End of the video your configuration will look like this. New lsp folder and inside plugins lsp.lua , blink.lua ...

Nvim+Flutter

Tip: I highly recommend checking out my first video, Vim for Absolute Beginners, before diving into the setup! We are going to config our Nvim for Flutter We are going to play with $~/.config/nvim. ❯ tree ├── init.lua ├── lazy-lock.json ├── lua │ ├── config │ │ ├── keymap.lua # gonna add a keymap │ │ ├── run_file.lua # will create to for hot-reload │ │ ├── lazy.lua │ │ └── lsp │ │ ├── .... │ │ ├── init.lua │ │ └── servers │ │ ├── ..... │ │ ├── flutter.lua # our flutter configs │ │ └── lua_ls.lua │ └── plugins │ ├── .... # rest stuff │ ├── flutter_tools.lua # flutter nvim plugins │ └── pubspec_assist.lua # show out-dated pkg Custom keymap for hot-reload --- nvim/config/run_file.lua local M = {} -- Dart (Flutter Reload) function M.fileRunner() local ft = vim.bo.filetype if ft == "dart" then local terms = require("toggleterm.terminal").get_all() if #terms == 0 then vim.notify("⚠️ No terminal running", vim.log.levels.WARN) return end terms[1]:send("r\n") vim.notify("🔥 Sent hot reload to Flutter terminal") else vim.notify("❌ Unsupported filetype: " .. ft) end end return M Also make sure to have ...

Vim Motion

This guide helps anyone open a file in Vim, edit it, save, and exit. Know how to exit Vim Modes Vim has 4 main modes: Normal – move, delete, undo, redo Insert – type text Visual – select text Command – type : commands like save or quit checkout Commands Basic Commands To edit a file, go to insert mode by pressing i or a, then start typing. Once done typing, press Esc to go back to normal mode. To save the file, type :w (: goes to command mode, w means write). To quit, type :q (q means quit). To save and quit at the same time, type :wq. To force quit without saving, type :q!. To go back to normal mode from any mode, just press Esc. It always works. To select text, press v for letters or V for the whole line. To undo, press u (like Ctrl+Z), and to redo, press Ctrl + r. Vim Commands Table (Logical Order) Keymap Mode What it does i Insert Start typing a Insert Start typing after text Esc Any Back to normal mode h Normal Move left j Normal Move down k Normal Move up l Normal Move right v Normal Select letters V Normal Select whole line d Normal Delete selection dw Normal Delete a word gg Normal Go to top of file { Normal Jump backward paragraph } Normal Jump forward paragraph u Normal Undo last change Ctrl + r Normal Redo change :w Command Save file :q Command Quit :wq Command Save and quit :q! Command Quit without saving Fast Navigation Horizontal Motion The Speed choice

Beginner+ Motion

Macros Automate repeated actions. qa start recording q stop recording @a play macro @@ repeat last macro Registers Work with yank/delete/paste storage. :reg for more "ayy yank into register a "ap paste from register a "Ayy append to register a Useful Registers ...