Skip to content

zSnails/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim/

Install Instructions

Install requires Neovim 0.9+. Always review the code before installing a configuration.

Clone the repository and install the plugins:

git clone [email protected]:zSnails/nvim ~/.config/zSnails/nvim
NVIM_APPNAME=zSnails/nvim/ nvim --headless +"Lazy! sync" +qa

Open Neovim with this config:

NVIM_APPNAME=zSnails/nvim/ nvim

Plugins

colorscheme

comment

completion

editing-support

file-explorer

fuzzy-finder

git

icon

lsp

media

note-taking

nvim-dev

plugin-manager

snippet

statusline

syntax

tabline

Language Servers

  • astro
  • html
  • omnisharp
  • phpactor
  • svelte

Keybinds

Bindings

Visual mode

Normal keybinds
  • shift+j Move the currently selected line up
  • shift+k Move the currently selected line down

Normal mode

Normal keybinds
buffer related
  • <leader>+b+n Switch no next buffer
  • <leader>+b+p Switch no previous buffer
  • <leader>+b+d Delete current buffer
  • <leader>+b+c Close current pane
lsp related
  • g+D Go to declaration
  • g+d Go to definition
  • K Hover
  • <leader>+r+n Rename symbol
  • control+. Code actions
  • g+r Go to references
  • <leader>+f Format current file
  • <leader>+c+n Document symbol
  • control+b Scroll down docs
  • control+f Scroll up docs
  • control+space Accept currently selected suggestion
  • control+e Close suggestion popup
  • return Confirm currently selected suggestion
Plugin keybinds
plugin: nvimtree
  • control+b Open nvimtree
  • alt+b Toggle nvimtree

There's a reason these are 2 separate keybinds

plugin: todo-comments
  • ]t Jump to the next todo comment
  • [t Jump to the previous todo comment
  • <leader>+c+t Open todo comments in quick fix list
plugin: telescope
  • <leader>+f+f Find files
  • <leader>+f+g Live grep
  • <leader>+f+b Show buffers
  • <leader>+f+h Help tags
  • <leader>+f+t Treesitter symbols
  • <leader>+t+t Open todos in the telescope prompt
  • <leader>+d+i Diagnostics

Text objects

  • af Outer function
  • if Inner function
  • ac Outer class
  • ic Inner class
  • ak Outer parameter
  • ik Inner parameter
  • al Outer loop
  • il Inner loop

About

My Public neovim config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published