Skip to Content

内容导航

  1. Config - 配置相关
  2. Plugin - 插件推荐
  3. Dev-Plugin - 插件开发
  4. Skill - 使用技巧
  5. Telescope - 模糊搜索插件
  6. Theme - 主题配置
  7. Image - 图片相关
  8. Showcase - 展示

Nvim

我的 vim 配置

https://github.com/try-to-fly/init.vim 

插件

  1. vim-surround 
    • ds  删除环绕字符,如  ds"  删除双引号
    • cs  修改环绕字符,如  cs"'  把双引号改为单引号
    • ys  添加环绕字符,如  ysiw)  给单词加上圆括号
    • S  在可视模式下添加环绕字符,如选中一段文字后按  S"  给它加上双引号
  2. nvim-spectre 
    • <leader>S: 打开 Spectre 搜索工具
    • <leader>sw: 搜索当前单词或选中文本
    • <leader>sp: 在当前文件中搜索当前单词
  3. 注释插件: 支持 tsx 代码块。
  4. Telescope: 提供快速、交互式的文件浏览、模糊搜索和选择等功能。

待研究

  1. refactoring.nvim : 类似 Vscode 的重构功能。

开箱即用

  1. LazyVim : GitHub starslast commit
  2. LunarVim : GitHub starslast commit
  3. Neovide : GitHub starslast commit

nvim 的插件大佬

  1. folke : lazy.vim 作者,共享了一系列 nvim 插件。
  2. glepnir : 国内大佬。

相关博客

  1. PegasusWang : 分享了好多 vim 教程。

教程

  1. Understanding Neovim 

速查表

  1. Vim Cheat Sheet 

工具

  1. vim 在线教程:https://openvim.com/ :包含 vim 的一些基本操作
Last updated on