Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim setup

Custom Neovim setup configured using Lazy plugin manager

System dependencies

Important system dependencies:

  • Nerd fonts (information source):

    • Download a Nerd Font (good choice is "JetBrainsMono Nerd Font").
    • Unzip and copy to '~/.local/share/fonts'.
    • Run the command fc-cache -fv to manually rebuild the font cache.
  • Tools for finding stuff:

Installation

Delete old nvim configuration

rm -rf ~/.config/nvim
rm -rf ~/.local/state/nvim
rm -rf ~/.local/share/nvim

Clone the repository to ~/.config

git clone --filter=blob:none https://github.com/amanhex/nvim.git ~/.config/nvim

Run neovim to complete the setup

nvim

Key Mappings

  • Leader key: " " (Space)
Keys Mode Description
; Normal Command mode
leader+q Normal Quit Neovim
leader+w Normal Save current file
leader+ff Normal Find files using Telescope
leader+fg Normal Live grep using Telescope
leader+fb Normal Open Telescope file browser
leader+e Normal Toggle Nvim Tree
leader+E Normal Focus Nvim Tree
leader+1 Normal Open first terminal
leader+2 Normal Open second terminal
ctrl+\ Normal/Insert Toggle terminal
leader+/ Normal/Visual Toggle comments
jk Insert Exit insert mode
leader+vs Normal Vertical Split
leader+hs Normal Horizontal Split
Tab Normal Cycle forward buffers
S-Tab Normal Cycle backward buffers
leader+x Normal Close current buffer

Additional Configuration

  • Plugins: New plugins can be installed in plugin.lua and the configuration for the plugin should be put in lua\plugins\. Finally the configuration should be required in init.lua.

  • Theme: The configuration uses arctic.nvim as the color scheme. Install new color scheme in plugin.lua and update theme.lua.

  • Dashboard: Update the dashboard by editing lua\plugins\dashboard.lua

  • Transparency: Nvim can be turned transparent using :TransparentEnable command. Transparency persists for the sessions.

Screenshots

1

2

3

4

About

Minimal Neovim Config

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages