Skip to content

agoodshort/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

206 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Config

Plugin Manager Leaderkey Last commit

Neovim Screenshot

Installation

Install requires Neovim 0.9+.

Clone the repository and install the plugins:

git clone git@github.com:agoodshort/nvim ~/.config/agoodshort/nvim
NVIM_APPNAME=agoodshort/nvim/ nvim --headless +"Lazy! restore" +qa

Open Neovim with this config:

NVIM_APPNAME=agoodshort/nvim/ nvim

Tips

LSPs, formatters and linters

Documentation on the configuration of LSPs, formatters and linters is available in this README.md

Search and replace

The below applies when replacing using :%s.

  • You can use <C-r><C-w> to get the word under the cursor into to command line.
  • When a word was already searched (e.g. \word), use :%s// to replace the word searched.

Useful keymaps

  • <C+]> is used to follow tags in :help

nvm

As nvm is used to switch versions of Node.js, some plugins might require to rebuild when changing nvm default version:

  • markmap.nvim
  • import-cost.nvim

To Do

  • Review how to use K when on neovim man page
  • Neovim initial_mode = "normal" does not work for extensions git_diffs
  • test NeoAI
  • Show appropriate documentation in cargo.toml
  • Telescope live grep to wrap lines. Check if plugin can do this, otherwise see telescope.nvim documentation
  • Use the syntax function() require("dap").continue() end for whichkey and upgrade to v3
  • Based on the nvm above, could we rebuild automatically if the npm package is not found?
  • Add keymap to toggle image preview
  • lspsaga does float terminal : https://nvimdev.github.io/lspsaga/floaterm/
  • lspsaga hover cannot open links

About

Neovim config

Topics

Resources

Stars

Watchers

Forks

Languages