Skip to content

My Neovim Config. Notable plugins & featues: Telescope, Harpoon,Tabnine, Lazy, VimBeGood, Bright-flash text yank to system clipboard, and much, much more.

License

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

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Config

NeoVimConfig-New


lua-logo neovim-logo-github

https://www.lua.org/

https://github.com/neovim

lazy.nvim


Pre-install Requirements:

  • ripgrep is required for multiple telescope pickers.
  • If you are having issues with Tree-Sitter, then you might not have node js installed. The two quick solution to try are:
  • sudo apt install tree-sitter-cli if that doesn't work, then you may need to install Node.js
  • sudo apt install nodejs npm then Install Tree-sitter CLI globally with npm:
  • sudo npm install -g tree-sitter-cli
  • Verify the installation and restart NeoVim
  • tree-sitter --version
  • Enababling Tabnine Auto Completion will require some additional configuration

Installation

NOTE Backup your previous configuration (if any exists)

  • Then clear out your current NeoVim configs
# First delete and remove your current/previous neovim files and dirs.
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim

  • Linux and Mac install. Plug n play - Copy past the git clone command below, type neovim, and boom. One and done!
git clone https://github.com/LinuxUser255/nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim

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

How to Use

Remaps & Shortcuts:

The spacebar is the leader key

Command Description
leader pv Enter Project View
leader ve Split windows vertically
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

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 Highlihts line on which your cursor lies.
Backspace Deletes the highlighted line.
Typing new characters Replaces the highlighted line with new chars.

About

My Neovim Config. Notable plugins & featues: Telescope, Harpoon,Tabnine, Lazy, VimBeGood, Bright-flash text yank to system clipboard, and much, much more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages