Skip to content

Instantly share code, notes, and snippets.

@RealYukiSan
Last active August 29, 2024 11:48
Show Gist options
  • Save RealYukiSan/435a2541726de8e021df8849fdcc9c63 to your computer and use it in GitHub Desktop.
Save RealYukiSan/435a2541726de8e021df8849fdcc9c63 to your computer and use it in GitHub Desktop.
Frequently used command in neovim

The list will be updated over time.

LSP

  1. view LSP status -> LspInfo (by nvim-lspconfig), checkhealth lsp
  2. used by -> lua vim.lsp.buf.references()

Preference

  1. revert color scheme -> colorscheme vim
  2. list available colorscheme -> echo globpath(&runtimepath, 'colors/*.vim')

Buffer

  1. redirect output -> see stackoverflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment