Published on

neovim

install

sudo apt-get install neovim

配置

配置文件

mkdir -p ~/.config/nvim

# https://github.com/nvim-lua/kickstart.nvim/blob/master/init.lua
edit ~/.config/nvim/init.lua

# should clone whole git repo to ~/.config/nvim
plugin help renamed to vimdoc

常用快捷键

- space sf # search file
- gd # go to defination

查看keymap

:Telescope keymaps

Mason

:Mason

shortcuts

shortcutmodeUSAGE
%normalnew file name
dnormalnew directory name
:socmdsource load-vim-script
:help key-notationcmdview key mapping

self-maintained kickstart.nvim

git clone https://github.com/apuppy/kickstart.nvim.git ~/.config/nvim