Git Product home page Git Product logo

fvimsuits's Introduction

vim套装 fvimSuits

帮助开发者在 Linux 上快速搭建基于 vim 的 IDE ( 集成开发环境 ) 的辅助工具。
包含一个用于下载 vim 插件的部署脚本 deploy_vim_plugin.sh ,和作者编写的一个用于注释各类代码文件的 vim 插件 fcmt 。

1.安装

(1) 首次需 git 安装
安装 git :$sudo apt-get install git
下载 fvimSuits :$git clone git://github.com/wordworld/fvimSuits.git
下载、部署插件 (下载过程用时较长,请耐心等待):$cd fvimSuits && ./deploy_vim_plugin.sh
(2) 移植已经安装好的 fvimSuits 到其他电脑
复制整个 $HOME/.vim/ 目录到其他 Linux 主机的 $HOME 目录
部署插件 :$cd ~/.vim/bundle/fcmt && ./portable_deploy_vim_plugin.sh

2.使用

作者编写的插件

注释工具 fcmt
快捷键 m (光标在文件前10行):自动生成文件头注释,可自定义如作者信息、文件名、更新日期等内容
快捷键 m (光标在函数名所在行):自动生成函数注释,可自定义包括摘要说明、参数、返回值等内容
快捷键 f :注释/取消注释光标所在行
快捷键 Ctrl+l :添加/删除间隔注释行
末行制表命令:Tbl [row=2] [col=8] [col_width=4] [row_height=1] [prefix=None]
draw table
参数介绍:
row 行数,默认为2
col 列数,默认为8
col_width,列宽,默认为4
row_height,行高,默认为1
prefix,前缀符号,默认 None 则根据 fcmt 支持的行注释语法添加前缀
末行绘制目录树命令:Dir [path='./'] [showPathDepth=0] [prefix=None] [show_all=0]
draw directory tree
参数介绍:
path,相对/绝对路径,默认为当前目录
showPathDepth, 要显示的目录深度,默认=0递归显示
prefix,同 Tbl 命令中的 prefix
show_all,是否显示全部文件、目录,默认不显示隐藏目录和文件

插件管理器 pathogen

包含 ~/.vim/autoload/pathogen.vim 和 ~/.vim/bundle 目录。
新的插件只需放在 ~/.vim/bundle 目录下,即完成安装。

自动完成括号 auto-pairs

当输入左括号,即自动补全右括号,光标回到括号中。
对 () [] {} 均有效

文件目录树 NERDTree

快捷键 Ctrl+n :在左侧显示当前目录结构

文件标签页 miniBufExplorer

已经打开的文件名在顶部行显示,通过双击进行切换

Taglist

快捷键 Ctrl+a :在右侧显示当前源代码文件中定义的符号

粘贴板管理 Yank-Ring

快捷键 Ctrl+y :在底部显示本地所有 terminal 中复制的内容
按p进行粘贴。

调试插件 congue-gdb

C语法支持 c.vim

配色方案 PaperColor

fvimsuits's People

Contributors

aijit avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.