Vim
- Profilling startup time
- https://github.com/dstein64/vim-startuptime
vim
then:StartupTime
- mapping keys
- map = recursive map
- noremap = non-recursive
- nnoremap = normal mode non-recursive map
- https://vim.fandom.com/wiki/Mapping_keys_in_Vim_-_Tutorial_(Part_1)
- https://stackoverflow.com/questions/3776117/what-is-the-difference-between-the-remap-noremap-nnoremap-and-vnoremap-mapping
- Search and add new line (with indentation)
:g/<pattern>/norm otext of the new line
- Search and delete all lines
:g/<pattern>/d
- Search and delete all lines that do NOT match
:g!/<pattern>/d
- Search and replace
:s/remove(.*)/\1/
Neovim Link to heading
- config .vimrc
~/.config/nvim/init.vim
- Error:
No "python3" provider found.
#troubleshootinglet g:python3_host_prog = "~/.pyenv/shims/python"
- Error:
Vim(lua):E5105: Error while calling lua chunk: ..are/nvim/plugged/telescope.nvim/lua/telescope/health.lua:1: module 'health' not found:
#troubleshooting- Update neovim from 0.4.4 to 0.8.2 by uninstalling apt version and installing snap version.
- vim-illuminate not highlighting #troubleshooting
- https://github.com/RRethy/vim-illuminate/issues/154
set termguicolors
Creating a new plugin Link to heading
- Tutorials
- Templates
- ellisonleao/nvim-plugin-template
- nvimdev/nvim-plugin-template
- nvim-lua/nvim-lua-plugin-template
- jacobsimpson/nvim-example-python-plugin - template for plugins written in Python
- FGtatsuro/cookiecutter-neovim-plugin - last commit 6 years ago
- gennaro-tedesco/boilit - didn’t like; it’s a CLI written in Go, not a template
Lunarvim Link to heading
- Error while lunarvim installation
unknown flag 'u'
- Uninstall nvim installed using snap
- https://github.com/LunarVim/LunarVim/issues/3612
Plugins Link to heading
β = using π§ͺ = testing β = to test β = discarded π§ = unmaintained
- βcodi.vim
- βgit-blame.nvim
- π§ hop - Neovim motions on speed! - “unmaintained for probably forever”
- π§ͺ leap - Neovim’s answer to the mouse
- π§ lightspeed - deprecated in favor of leap.nvim
- β minimap - blazing fast minimap/scrollbar - I didn’t like because it doesn’t show the code, only dots
- β numb - Peek lines just when you intend - It didn’t interest me.
- β nvim-bqf - Better quickfix window in Neovim
- βnvim-spectre
- π§ͺnvim-treesitter-context