Skip to content

Updated, refactored, better version of my previous neovim config. Debian and Arch distro support. Notable features & plugins: Telescope, Harpoon,Tabnine, Lazy, VimBeGood, Bright-flash text yank to system clipboard, and much, much more.

Notifications You must be signed in to change notification settings

LinuxUser255/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Config

nvim-telescope-inaction-scaled.png

Table of Contents

About this config:

There are countless Neovim configurations out there. Throughout my Neovim config journey, one of the biggest frustrations has been the lack of strict or standardized architecture—and no universal templates to follow.

Yes, the high-level overview is consistent: Neovim looks for init.lua in $XDG_CONFIG_HOME/nvim, and your Neovim environment spawns from there. However, from that point on, things can go in many different directions.

Understanding the code flow of other people's Neovim configurations often requires significant time and mental overhead—depending on their complexity.

Part of my goal in creating this configuration was not only to build something that works best for me, but also to provide comprehensive and detailed documentation.

This is something others can use and follow when creating their own config—similar in spirit to kickstart.nvim. Take what you like from mine; leave what you don’t.

It's my hope that by leaving detailed blueprints, it will be easy for anyone to leggo their own Neovim configuration environment.

For more on the architecture of this config, see the docs and illustration here:

Config-Structure.md

Enjoy!


Make a backup of your config if you want

Installation

curl -LO https://raw.githubusercontent.com/LinuxUser255/nvim/refs/heads/main/install.sh && chmod +x install.sh && ./install.sh

Supported Languages.

If you do not have all of these langs installed, the config will still work, but throw errors

  • Python3
  • Lua
  • JavaScript/TypeScript
  • HTML/CSS
  • Rust
  • Go
  • C/C++
  • Shell Scripting
  • JSON/YAML
  • Markdown
  • Docker
  • Solidity
  • Vue/Svelte
  • TOML

The install script will take care of most of the dependencies; however check your version of Neovim first.

  nvim -v

Should be Version 10 or higher


Neovim's configurations are located under the following paths, depending on your OS:

OS PATH
Linux $XDG_CONFIG_HOME/nvim, ~/.config/nvim
MacOS $XDG_CONFIG_HOME/nvim, ~/.config/nvim

Post Install

Open Neovim

  • The regular way
  nvim

  nvim .

  nvim --headless "+Lazy! sync" +qa

Netrw - Getting Started - How to use this config

For details see the netrw documentation


Remaps & Shortcuts:

The spacebar is the leader key

Command Description
leader pv Enter Project View
leader ve Split windows vertically
leader he Split windows horizontally
Ctrl l Jumps to the Right window
Ctrl h Jumps to the Left window
Ctrl o Increase window width by 3 columns
Ctrl y Decrease window width by 3 columns
leader tt Open Telescope
leader ff Find file using Telescope

Moving lines Up & Down

  • Higlight the line, Shift v, then while holding down Shift, press j to go down
  • And k to move up.
  • This also works with muliple lines selected simultanuiously
Command Description
Shift v Shift j Moves seclected line down
Shift v Shift k Moves seclected line up

Highlight Replace

Command Description
Shift s Deletes the line and goes into insert mode.

See the cheat sheet below, for more usage info



Buy Me A Coffee
  Support My Work :)


About

Updated, refactored, better version of my previous neovim config. Debian and Arch distro support. Notable features & plugins: Telescope, Harpoon,Tabnine, Lazy, VimBeGood, Bright-flash text yank to system clipboard, and much, much more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •