Skip to content

emonadeo/nvim

Repository files navigation

so yeah vim is like this different paradigm where your entire experience changes depending on the mode this is called modal editing and did you know that people actually spend the most time editing and navigating files instead of writing new code it's like painting where you have to prepare your brushes and palettes and canvas and shit and vim lets you do that but with text and you can totally customize it and

Keymap

The keymap is losely based on Zed's Vim Mode and echasnovski/nvim.

Language server

Command Shortcut Plugin
Hover symbol K
Go to definition gd
Go to declaration gD
Go to implementation gi
Go to type definition go
Go to references gr
Signature help gs
Show code actions g.
Jump to context gk nvim-treesitter-context
Rename cd or F2
Next Reference ]] snacks.words
Previous Reference [[ snacks.words
Format F3

Completion

Command Shortcut Plugin
Trigger completion / Toggle documentation Ctrl+Space blink.cmp
Hide Ctrl+h blink.cmp
Previous Ctrl+j blink.cmp
Next Ctrl+k blink.cmp
Accept Ctrl+l blink.cmp
Scroll documation up Ctrl+u blink.cmp
Scroll documation down Ctrl+d blink.cmp
Toggle signature Ctrl+s blink.cmp

Operators

Command Shortcut Plugin
Evaluate text region g= mini.operator
Exchange text regions gx mini.operator
Multiply text regions gm mini.operator
Replace text region with register gr mini.operator
Sort text region gs mini.operator

Diagnostics

Command Shortcut Plugin
Go to next diagnostic ]d
Go to previous diagnostic [d
Hover diagnostic gh
Open diagnostics SPACEed folke/trouble.nvim
Open buffer diagnostics SPACEeD folke/trouble.nvim

Git

Command Shortcut Plugin
Go to next hunk ]h mini.diff
Go to last hunk ]H mini.diff
Go to previous hunk [h mini.diff
Go to first hunk [H mini.diff
Reset hunk gH mini.diff
Text Objects Shortcut Plugin
Hunk gh mini.diff

Explore

Command Shortcut Plugin
Open directory SPACEee mini.files
Open file directory SPACEef mini.files
Open config directory SPACEec mini.files
Open diagnostics SPACEed folke/trouble.nvim
Open buffer diagnostics SPACEeD folke/trouble.nvim
Open symbols SPACEes folke/trouble.nvim

About

`~/.config/nvim/`

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages