Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dofy/7th-vim

Repository files navigation

The 7th Vim

 _____ _ _ _
|___ | |_| |__ __ _(_)_ __ ___
 / /| __| '_ \ \ \ / / | '_ ` _ \
 / / | |_| | | | \ V /| | | | | | |
 /_/ \__|_| |_| \_/ |_|_| |_| |_|

安装简单,轻量、易用、高可配置性。

现在我已经转到 neovim 阵营,对应的配置请参考 dofy/nvim 项目。

Index

Screenshot

7thvim

7thvim

7thvim

7thvim

7thvim

Install

# curl
bash <(curl -L https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh) -i

or

# wget
bash <(wget --no-check-certificate https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh -O -) -i

Check dependent

# curl
bash <(curl -L https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh) -c

or

# wget
bash <(wget --no-check-certificate https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh -O -) -c

Show language supported list

# curl
bash <(curl -L https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh) -l

or

# wget
bash <(wget --no-check-certificate https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh -O -) -l

Remove current config files and backup

bash <(curl -L https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh) -b

or

# wget
bash <(wget --no-check-certificate https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh -O -) -b

Help

# curl
bash <(curl -L https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh) -h

or

# wget
bash <(wget --no-check-certificate https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh -O -) -h

Update

# curl
bash <(curl -L https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh) -u

or

# wget
bash <(wget --no-check-certificate https://raw.githubusercontent.com/dofy/7th-vim/master/install.sh -O -) -u

Customize

# Edit the following file to enable/disable language support you need
vim ~/.vimrc.language
# Edit your customize config file
vim ~/.vimrc.local
# Reload .vimrc (IN VIM!!!)
:source ~/.vimrc

Plugins

插件 说明
scrooloose / nerdtree 以树形目录窗格方式浏览文件
Xuyuanp / nerdtree-git-plugin NerdTree 显示 git 状态
tiagofumo / vim-nerdtree-syntax-highlight NerdTree 文件类型高亮
vim-airline / vim-airline 美化 Vim 状态栏
vim-airline / vim-airline-themes Airline Themes
junegunn / vim-easy-align 对齐插件,强迫症福音
iamcco / markdown-preview.nvim Markdown 预览
junegunn / vim-slash 优化搜索,移动清除搜索高亮
gorodinskiy / vim-coloresque 颜色值预览
jiangmiao / auto-pairs 符号自动补全
tpope / vim-surround 自动增加、替换配对符
junegunn / fzf.vim 强大、高效的搜索引擎
chxuan / change-colorscheme 配色方案切换
docunext / closetag.vim 自动关闭 HTML 标签
neoclide / coc.nvim 代码自动完成
ryanoasis / vim-devicons Vim Dev Icons
tpope / vim-repeat 增强 . 命令
mhinz / vim-startify 启动页
roman / golden-ratio 自动控制窗口大小
tomtom / tcomment_vim 添加/清除 注释
dracula / vim dracule 配色

补充说明: 插件相关功能及用法请参考对应网站

Key Mapping

快捷键/命令 说明
, Leader Key
<Ctrl> A INSERT 模式下移动光标到行首
<Ctrl> E INSERT 模式下移动光标到行尾
<Ctrl> B INSERT 模式下光标左移一位
<Ctrl> F INSERT 模式下光标右移一位
<Ctrl> J 跳转到下面的窗口
<Ctrl> K 跳转到上面的窗口
<Ctrl> H 跳转到左侧的窗口
<Ctrl> L 跳转到右侧的窗口
<Ctrl> N 打开 Buffer 列表中的下一个文件
<Ctrl> P 打开 Buffer 列表中的上一个文件
<Ctrl> F / <Leader>ff 在当前工作目录中搜索文件
<Leader>fb 在 Buffer 中搜索文件
<Leader>fh 在历史文件中搜索
<Leader>fc 搜索可用配色方案
<Leader>fl 在 Buffer 文件中进行文本搜索
<Leader>fm 搜索 Vim 中可用的命令
<Shift>-H 跳转到前一个 Tab
<Shift>-L 跳转到后一个 Tab
<Leader>t 开启新 Tab
<Leader>w 关闭当前 Tab
<Ctrl> E / <Leader>e 开启 Nerdtree
<F7> 开启 Markdown 预览
<F8> 关闭 Markdown 预览
<F9> 上一个配色方案
<F10> 下一个配色方案
gcc 注释/取消注释 当前行
g> 注释选中文本(VISUAL 模式)
:W sudo 命令保存文件

Q&A

AltStyle によって変換されたページ (->オリジナル) /