Skip to content
agustuxPublic

About

Extremely Minimalist Neovim Setup using vim.pack (Neovim 0.12+)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VERY Minimalistic Neovim Config

My extremely minimalistic neovim setup. Utilizing the builtin vim.pack "manager". LSPs installed through pacman

Credits to ThePrimeagen for the tutorial that heavily influenced this Simplicitymaxxing

Needed packages (for treesitter and LSPs):

sudo pacman -S --noconfirm tree-sitter-cli lua-language-server bash-language-server pyright clang markdown-oxide rust-analyzer

Example

Plugins:

Plugin Purpose
telescope + telescope-fzf-native Fuzzy Finder
nvim-treesitter Syntax highlighting/indent via parsers
vim-fugitive Git integration
nvim-lspconfig LSP server configs
nvim-cmp + cmp-nvim-lsp Completion engine + LSP source
LuaSnip Snippet expansion/jumping
catppuccin Colorscheme
harpoon Fast file bookmarking/switching
lualine.nvim Statusline, using catppuccin via "auto" theme

Keymaps:

Leader = ''

Basics

Key Mode Action
jj insert Escape
<leader>pv normal Open file explorer (netrw)
J / K visual Move selected lines down/up
<leader>y normal, visual Yank to system clipboard
n / N normal Next/prev search match, centered
<leader>s normal Search & replace word under cursor
<leader>x normal chmod +x current file

fugitive

Key Mode Action
<leader>gs normal Git status

telescope

Key Mode Action
<leader>pf normal Find files
<C-p> normal Find git files
<leader>ps normal Grep for string

harpoon

Key Mode Action
<leader>a normal Add file to harpoon
<leader>r normal Remove file from harpoon
<C-e> normal Toggle quick menu
<C-h/j/k/l> normal Jump to file 1-4

LSP (lsp-keymaps.lua)

Key Mode Action
gd normal Go to definition
gD normal Go to declaration
gi normal Go to implementation
gt normal Go to type definition
K normal Hover docs
<leader>ws normal Workspace symbol search
<leader>ca normal Code action
<leader>rf normal List references
<leader>rn normal Rename symbol
<C-h> insert Signature help
<leader>d normal Show diagnostic float
<leader>j / <leader>k normal Next/prev diagnostic

nvim-cmp / LuaSnip

Key Mode Action
<C-Space> insert Trigger completion
<C-n> / <C-p> insert Next/prev completion item
<C-y> insert Confirm completion
<Tab> / <S-Tab> insert, select Next item / snippet jump forward, prev / jump back

About

Extremely Minimalist Neovim Setup using vim.pack (Neovim 0.12+)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages