Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim

My LazyVim config — beginner-friendly keymaps.

Screenshots

image

Install

# backup existing config if you have one
mv ~/.config/nvim ~/.config/nvim.bak 2>/dev/null
mv ~/.local/share/nvim ~/.local/share/nvim.bak 2>/dev/null

git clone git@github.com:ChrisE217/nvim.git ~/.config/nvim
nvim

First launch installs plugins via lazy.nvim. Quit and reopen once if prompted.

Symlink (if you keep the repo elsewhere)

ln -sfn ~/source/repos/nvim ~/.config/nvim

Keymaps (the useful ones)

Leader is Space. Press Space and wait — a menu appears.

Keys Action
Ctrl+p Find file
Ctrl+b / Space e File explorer (j/k previews, Enter opens, P toggles preview)
Space / Search in project
Ctrl+s / Space w Save
Space q Quit window
Shift+h / Shift+l Prev / next buffer
Space bd Close buffer
Alt+↑/↓ or Alt+j/k Move line
Ctrl+\`` / Space tt` Terminal
Esc (in terminal) Exit terminal mode
gd gr K Definition / references / hover
Space rn Rename
Space ca Code action
Space gg LazyGit
Space ? Show all keymaps

Stack

  • LazyVim — batteries-included Neovim
  • Snacks — picker, explorer, terminal, lazygit
  • Lang extras: TypeScript, Python, Terraform, Docker, YAML, JSON, Markdown

Layout

nvim/
├── init.lua
├── lazyvim.json          # LazyExtras
└── lua/
    ├── config/
    │   ├── autocmds.lua
    │   ├── keymaps.lua   # beginner / VS Code-ish binds
    │   ├── lazy.lua
    │   └── options.lua
    └── plugins/
        ├── colorscheme.lua
        ├── explorer.lua
        └── extras.lua

Releases

Packages

Contributors

Languages