- 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
shortcut | mode | USAGE |
---|---|---|
% | normal | new file name |
d | normal | new directory name |
:so | cmd | source load-vim-script |
:help key-notation | cmd | view key mapping |
self-maintained kickstart.nvim
git clone https://github.com/apuppy/kickstart.nvim.git ~/.config/nvim