安装
brew install neovim
brew install jesseduffield/lazygit/lazygit
git clone https://github.com/FortyWinters/40Vim.git ~/.config/nvim
nvim
字体
brew tap homebrew/cask-fonts
brew install --cask font-fira-code-nerd-font
- alpha-nvim https://github.com/goolord/alpha-nvim.git
- barbar https://github.com/romgrk/barbar.nvim
- catppuccin https://github.com/catppuccin/nvim
- comment https://github.com/numToStr/Comment.nvim
- flash https://github.com/folke/flash.nvim
- gitsigns https://github.com/lewis6991/gitsigns.nvim
- indent-blankline https://github.com/lukas-reineke/indent-blankline.nvim
- lazygit https://github.com/kdheepak/lazygit.nvim
- lspsaga https://github.com/nvimdev/lspsaga.nvim
- lualine https://github.com/nvim-lualine/lualine.nvim
- mason-lspconfig https://github.com/williamboman/mason-lspconfig.nvim
- mason https://github.com/williamboman/mason.nvim
- neoconf https://github.com/folke/neoconf.nvim
- noice https://github.com/folke/noice.nvim
- nvim-cmp https://github.com/hrsh7th/nvim-cmp
- nvim-lspconfig https://github.com/neovim/nvim-lspconfig
- nvim-tree https://github.com/nvim-tree/nvim-tree.lua
- nvim-treesitter https://github.com/nvim-treesitter/nvim-treesitter
- nvim-ts-autotag https://github.com/windwp/nvim-ts-autotag
- telescope https://github.com/nvim-telescope/telescope.nvim
- transparent-nvim https://github.com/xiyaowong/transparent.nvim
- vim-highlightedyank https://github.com/machakann/vim-highlightedyank
- vim-illuminate https://github.com/RRethy/vim-illuminate
- which-key https://github.com/folke/which-key.nvim
| 快捷键 | 用途 |
|---|---|
| <space> | 显示快捷键 |
| <space>e | 打开文件树 |
| <space>r | 聚焦文件树 |
| <space><tab> | 标签跳转 |
| <space>w | 关闭标签 |
| <space>ff | 查询文件 |
| <space>fb | 查询buffer |
| <space>fg | 查询内容 |
| <command>j | 下一个补全项 |
| <command>k | 上一个补全项 |
| <command>e | 关闭补全项 |
| <space> | 确认补全项 |
| <space>dj | 下一个诊断 |
| <space>dk | 上一个诊断 |
| <space>/ | 注释 |
| <space>h | 跳转到dashboard |
| <space>s<right> | 向右分屏 |
| <sapce>s<down> | 向下分屏 |
| <space><up> | 向上切换窗口 |
| <space><donw> | 向下切换窗口 |
| <space><left> | 向左切换窗口 |
| <space><right> | 向右切换窗口 |
| <space>k | 展示函数文档 |
| <space>b | 跳转到函数 |
| <space>g | 打开lazygit |
| s | 搜索 |