Skip to content

hunter-ji/Vim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kuari的vim配置文件

截图

my_vim

插件

  • Plug 'flazz/vim-colorschemes'
  • Plug 'vim-airline/vim-airline'
  • Plug 'vim-airline/vim-airline-themes'
  • Plug 'junegunn/vim-easy-align'
  • Plug 'scrooloose/nerdcommenter'
  • Plug 'tpope/vim-surround'
  • Plug 'mattn/emmet-vim'
  • Plug 'scrooloose/syntastic'
  • Plug 'easymotion/vim-easymotion'
  • "Plug 'SirVer/ultisnips'
  • "Plug 'honza/vim-snippets'
  • Plug 'kuari/i3window_sw'
  • Plug 'Yggdroot/indentLine'
  • Plug 'alvan/vim-closetag'
  • Plug 'jiangmiao/auto-pairs'
  • Plug 'terryma/vim-expand-region'
  • Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
  • Plug 'vim-scripts/taglist.vim'
  • Plug 'ap/vim-css-color'
  • Plug 'kien/ctrlp.vim'
  • Plug 'majutsushi/tagbar'
  • Plug 'terryma/vim-multiple-cursors'
  • Plug 'othree/html5.vim'
  • "Plug 'vim-scripts/indentpython.vim'
  • Plug 'posva/vim-vue'
  • Plug 'pangloss/vim-javascript'
  • "Plug 'fatih/vim-go'
  • Plug 'tmhedberg/SimpylFold'
  • Plug 'Chiel92/vim-autoformat'
  • Plug 'prettier/vim-prettier', { \ 'do': 'yarn install', \ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html'] }
  • Plug 'neoclide/coc.nvim', {'branch': 'release'}
  • Plug 'neoclide/coc-tsserver', {'do': 'yarn install --frozen-lockfile'}
  • Plug 'neoclide/coc-html', {'do': 'yarn install --frozen-lockfile'}
  • Plug 'neoclide/coc-css', {'do': 'yarn install --frozen-lockfile'}
  • Plug 'neoclide/coc-python', {'do': 'yarn install --frozen-lockfile'}
  • Plug 'neoclide/coc-vetur', {'do': 'yarn install --frozen-lockfile'}
  • Plug 'neoclide/coc-yaml', {'do': 'yarn install --frozen-lockfile'}

插件介绍

插件名 功能 快捷键(简略)
coc.nvim 自动补全
vim-colorschemes vim配色
vim-airline vim状态栏
vim-airline-themes vim状态栏主题
vim-easy-align 快速对齐 ,a + 按键
nerdcommenter 快速注释 注释,cc 反注释,cu
vim-surround 处理成对出现的“包围结构” shif+s+括号 cs+括号+括号 ds+括号
emmet-vim 快速创建html标签 Ctrl+y+,
syntastic 语法检查
vim-easymotion 快速跳转 ,f+字符
ultisnips 代码片段补全 Ctrl+x Ctrl+c
vim-snippets 代码片段仓库
i3window_sw i3-wm window与vim window 分离与合并 分离F7 合并F8
indentLine 竖对齐线
vim-closetag html标签自动合并
auto-pairs 自动补全括号
vim-expand-region 区域选中
nerdtree 文件浏览 F3
taglist.vim 代码符号的结构化视图 F4
vim-css-color css颜色显示
ctrlp.vim 文件搜索 Ctrl+p
tagbar 大纲导航 F9
vim-multiple-cursors 多光标操作 Ctrl+n, Ctrl+p
vim-bootstrap4-snippets BootStrap4代码块
html5.vim HTML5增强
indentpython.vim Python缩进增强
vim-jsbeautify 格式化html、css、js文件 Ctrl+f
vim-vue vue语法高亮
pangloss/vim-javascript javascript语法高亮
fatih/vim-go go语法高亮
tmhedberg/SimpylFold python代码折叠增强
注:相关插件的介绍与作用还需要去相应的主页了解。

其他功能

  • 插件管理为vim-plug
  • vim配色为gruvbox
  • airline主题为biogoo
  • 字体为mononki
  • tab键在特定文件下分别映射为4和2个空格
  • Ctrl+d/u滚屏
  • Ctrl+hjkl切换分屏
  • 命令模式下光标当前行高亮
  • 映射jk连摁为Esc
  • 空格折叠代码
  • 使用系统剪切板
  • 显示句末空白格,映射快捷键使其全部去除
  • 映射F2显示系统剪切板
  • 81列处显示提醒
  • 搜索结果即时显示
  • 切换缓存不需要保存
  • 缩写快捷显示名字、邮箱等信息

About

My vim configuration file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published