Skip to content

Updated, refactored, better version of my previous neovim config. 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

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Config

my-nvim-confitg-screenshot.png

Table of Contents

Supported Languages.

Be 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


Installation

NOTE **Back up your current Neovim config if you want.

cp your_nvim_conf your_nvim_conf-bk
  • Then Copy-paste this curl command in your terminal, press Enter, and follow the prompts.

  • This will auto-remove your current Neovim config, install this one and open nvim to install plugins.

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

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

This one's really unique: 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



About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published