Skip to content

GallowsDove/just-nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just Nvim

Just Nvim is just a personal nvim configuaration. It's not meant to be portable, or to appeal to anyone at all. Tested on Kali linux.

Instalation

First, you need to install vim-plug. Then just clone this repository and move all files to your nvim config folder (e.g. ~/.config/nvim/). There should be an error message on your first launch. Simply run :PlugInstall, which should install all required plugins.

A possible way to achieve that would be:

  • Create backup
cp -r ~/.config/nvim ~/.config/.nvim 
  • Remove current config
rm -rf ~/.config/nvim 
  • Clone this repository
git clone https://github.com/GallowsDove/just-nvim ~/.config/nvim

Optional dependencies

You can check dependencies using :checkhealth

  • Language servers of choice. (Have to be added to lua/plugins/lspconfig.lua)
  • TreeSitter grammars can pe installed via :TSInstall
  • Git - For git stuff
  • Fd - For better file browsing, and for searching repositories. Also for default wilder config.
  • Ripgrep - For extended telescope functions
  • Glow - For markdown preview
  • Bat - For better file previews

Custom Keybindings

Keybindings can be added to keymaps.lua. Keybindings specific to LSP should be added to lsp-keymaps.lua.

Keybind Action
<A-i> Open/Close terminal
\xx Toggle Trouble
\xd Trouble document diagnostics
\xw Trouble workspace diagnostics
\xr Trouble LSP References
<A-[> <A-]> Open previous/next buffer
<C-t> Open Nvim Tree
<A-p> Markdown Glow preview
<A-q> Close current buffer
!<A-q> Force close current buffer
[d ]d Jump to previous/next diagnostic
gd Go to definition
gD Go to declaration
gi Go to implementation
ca Code action
<space>ca Extended code action menu
gr Rename
K Show hover doc
<space>d Show line diagnostics
gc Linewise comment
gb Blockwise comment
\gd Show deleted lines (git)
\gD Show git diff

About

Just a nvim config

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published