Coder Social home page Coder Social logo

vim_config's Introduction

适用范围

linux 下的vim 与 windows 下的gvim 通用。适合如下开发:

  • c/c++
  • html/css/js
  • markdown

截图

screenshot for molokai

主题:molokai

安装

注意,所有的操作之前需要先安装git

对于linux

  1. git clone https://github.com/qw8880000/vim_config.git ~/vim_config
  2. 创建符号链接 ln -s ~/vim_config/_vimrc ~/.vimrc
  3. 创建目录 mkdir ~/.vim
  4. 安装Vundle git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
  5. 打开vim,输入 :BundleInstall 来安装其他插件

然后安装 ctags 和 cscope

  1. sudo apt-get install ctags
  2. sudo apt-get install cscope

对于windows (gvim)

  1. 下载gvim并安装
  2. 复制我的配置文件_vimrc_gvimrc 到正确的位置,如下图 image
  3. 在vimfiles 文件夹下新建文件夹 bundle
  4. 切换目录到vimfiles/bundle,执行安装Vundle的命令 git clone https://github.com/gmarik/vundle.git
  5. 打开vim,输入 :BundleInstall 来安装其他插件

插件列表

plugin
gmarik/vundle
junegunn/vim-easy-align
Shougo/neocomplcache.vim
OmniCppComplete
Shougo/neosnippet.vim
Shougo/context_filetype.vim
qw8880000/neosnippet-snippets
bufexplorer.zip
scrooloose/nerdtree
majutsushi/tagbar
qw8880000/ccvext.vim
ctrlpvim/ctrlp.vim
Lokaltog/vim-powerline
scrooloose/syntastic
easymotion/vim-easymotion
terryma/vim-multiple-cursors
tomasr/molokai
tpope/vim-fugitive
mattn/emmet-vim
pangloss/vim-javascript
maksimr/vim-jsbeautify
leshill/vim-json
heavenshell/vim-jsdoc
gko/vim-coloresque
qw8880000/DoxygenToolkit.vim
justinmk/vim-syntax-extra
qw8880000/c.vim
cpp.vim
scrooloose/nerdcommenter
TxtBrowser
plasticboy/vim-markdown
qw8880000/vim-tab

快捷键

  • 显示目录树 F2 image

  • 显示本文件的代码结构 F4 image

  • 在打开过的文件之间切换 ,be image

  • 切换到右边的窗口 ctrl + l, 切换到左边的窗口 ctrl + h image

  • 在目录树中定位当前文件 ,nf image

  • 生成 doxygen author 注释 ,da image

  • 生成doxygen函数注释 ,dx image

  • 生成注释(每行都生成注释) ,ci. 取消注释 ,cu. image

  • 生成注释(整块注释) ,cm. 取消注释 ,cu. image

  • 在行尾生成注释 ,cA image

  • /**/// 之间切换 ,ca image

  • 其他快捷键可查看_vimrc

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.