(转) 共享个很棒的vim配置
发现了一个很棒的vim配置方法,现在共享给大家。
https://github.com/kepbod/ivim
ivim - The Vim Distribution of Xiao-Ou Zhang
See ivim's states on GitEgo
Installation
Manual Install
- A Vim/MacVim/gVim with version higher than 7.3 has been installed on your computer, and back up your origin vim stuff;
- Install Vundle to install and update plugins,
git clone git://github.com/gmarik/vundle.git $HOME/.vim/bundle/vundle
; - Install hybrid theme,
git clone git://github.com/w0ng/vim-hybrid.git $HOME/.vim/bundle/vim-hybrid
; - Get ivim from github website,
git clone git://github.com/kepbod/ivim.git $HOME/ivim
; - Make symbolic links of vimrc to your home directory,
ln -s $HOME/ivim/vimrc $HOME/.vimrc
; - Install plugins,
vim +BundleInstall! +BundleClean! +qa!
; - Just enjoy it!
Automatic Install (*nix only)
curl -L https://raw.github.com/kepbod/ivim/master/tools/bootstrap.sh | bash
via 'wget'
wget --no-check-certificate https://raw.github.com/kepbod/ivim/master/tools/bootstrap.sh -O - | bash
Updating
bash $HOME/ivim/tools/update.sh
If you confront errors when you update vim plugins, please run command below.
bash $HOME/ivim/tools/restore.sh
Requirements
To use this distribution with less bugs, please get more suggestions from here
Features
Use lots of famous colorschemes to make your eyes feel comfortable in both Vim and MacVim/gVim.
- Hybrid(default)
- Tomorrow-Night
- Solarized
- Jellybeans
Efficient
- Make using Vim more convenient and faster, and lots of useful plugins (such as Neocomplcache, NERD_commenter,Syntastic and SingleCompile) confirm a better performance of Vim.
This distribution is completely customisable using a ~/.vimrc.local
, ~/.gvimrc.local
and ~/.vimrc.bundles.local
!
Plugin List
- Vundle - Manage the Vim scripts
- Tagbar - Browse the tags of source code files
- NERD_tree - Explore filesystem and to open files and directories
- NERD_commenter - Provide many different commenting operations and styles
- Neocomplcache - Performs keyword completion by maintaining a cache of keywords
- surround - Provide mappings to delete, change and add surroundings in pairs
- delimitMate - Provides automatic closing of quotes, parenthesis, brackets, etc.
- Ctrlp - Full path fuzzy file, buffer, mru and tag finder with an intuitive interface
- Ag - A front for ag, A.K.A. the_silver_searcher
- Ack - A replacement for 'grep' using Perl module App::Ack
- Tabular - Line up text easily
- Syntastic - Syntax check that runs files through external syntax checkers
- EasyMotion - Provide a much simpler way to use some motions in Vim
- Indent Guides - Visually display indent levels in Vim
- fugitive - Git wrapper
- Gundo - Visualize Vim undo tree
- EasyTags - Automated tag generation and syntax highlighting in Vim
- Powerline - Create better-looking, more functional Vim statuslines
- SingleCompile - Compile or run a single source file without leaving Vim
- CamelCaseMotion - Refine words motion in Vim
- Zencoding - High-speed HTML, XML, XSL coding and editing
- Splitjoin - Switch between a single-line statement and a multi-line one
- Unite - Search and display information from arbitrary sources
- rails.vim - Plugin for working with Ruby on Rails applications
- Indent Object - Text objects based on indent levels
- NrrwRgn - Focus on a region and making the rest inaccessible
- unimpaired.vim - Complementary pairs of mappings
- abolish.vim - Search for, substitute, and abbreviate multiple variants of a word
- vimux - Easily interact with tmux from vim
- markdown-preview - Select Markdown text, render to HTML and preview in browser
- unite-outline - Provide your Vim's buffer with the outline view
- swap-parameters - Swap parameters
- autolink.vim - Find and insert URLs for links in Markdown and ReST documents
- textobj-word-column.txt - Make operating on columns of code conceptually simpler and reduces keystrokes
- vim-speeddating Use CTRL-A/CTRL-X to increment dates, times, and more
- GoldenView.vim Manage windows more convenient
- vim-startify Provide a good start screen for vim
- vim-multiple-cursors Provide Sublime Text's awesome multiple selection feature to vim
Vim Tips
A good learning method of Vim is vimtutor, a 30 minute tutorial that teaches the most basic Vim functionality hands-on.
To try it, just type
vimtutor
on terminal.Another way to get familiar with Vim commands and settings is just rely on the strong help system of Vim.
It's easy and convenient to type
:h
or:help
in Vim for help of whatever you want to know.A beautiful Vim cheat sheet is available here. If you want one, just click it!
Key Mappings
Because I have set some key mappings for more convenient typing and checking, you may feel inconvenient with them at start. But if you get familiar with them, I'm sure you will love them.
You can just type
:map
in Vim to see them.
More Tips
- Vim_Tips_Wiki is an excellent website, and you can learn much from it.
- Vimcasts publishes free screencasts about Vim. It's useful and interesting! Believe me!
Hope You Enjoy Vimming
Notes
Lisence
ivim - The Vim Distribution of Xiao-Ou Zhang
转载于:https://www.cnblogs.com/easonliu/p/3632026.html
(转) 共享个很棒的vim配置相关推荐
- 强大的vim配置,让编程更随意
花了很长时间整理的,感觉用起来很方便,共享一下. 我的vim配置主要有以下优点: 1.按F5可以直接编译并执行C.C++.java代码以及执行shell脚本,按"F8"可进行C.C ...
- 强大的,方便编程的vim配置
我想补充一点的是,当这么配置后,配合putty使用的时候,可能直接圈起来不能复制了,因为由vim处理了鼠标事件,为了让xterm处理,需要按shift点鼠标就可以了.这样就可以复制了. 另外,下面这个 ...
- vim配置http://www.cnblogs.com/ma6174/archive/2011/12/10/2283393.html
花了很长时间整理的,感觉用起来很方便,共享一下. 我的vim配置主要有以下优点: 1.按F5可以直接编译并执行C.C++.java代码以及执行shell脚本,按"F8"可进行C.C ...
- 【 Vim 配置详解 】强大的vim配置文件,让编程更随意
Vim 配置详解 首 先安装完整版本的VIM 如果是在Linux下,可以安装VIM-Enhance使其扩展为完整版本的 VIM,如果在Windows下,直接安装它的Binary就行了. 当然自己编译 ...
- 超级强大的vim配置(vimplus)
From : http://www.cnblogs.com/highway-9/p/5984285.html From : http://www.cnblogs.com/ma6174/archive/ ...
- 20个很棒的WordPress社交媒体插件—用于社交共享
寻找一些WordPress社交媒体插件进行社交共享? 我一直在为下一个项目寻找新的东西. 有时是关于在特定主题中看起来不错,而有时则是关于功能,有时您只需要一些额外的东西即可最大化社交共享. 这是我收 ...
- linux 编辑器vim配置
1. 基本配置 对vim进行配置的目的: 进行vim配置,可以让我们在后续敲代码更加方便.按F5可以直接编译并执行C.C++代码以及执行shell脚本:按"F8"可 ...
- git团队如何提交_如何使您的提交消息很棒并保持团队快乐
git团队如何提交 by Bruno 由Bruno 如何使您的提交消息很棒并保持团队快乐 (How to make your commit messages awesome and keep your ...
- 「首席架构师推荐」一系列很棒的的浏览器端JavaScript库资源
包管理器 托管JavaScript库并提供用于获取和打包它们的工具. npm - npm是JavaScript的包管理器. Bower - 网络包管理器. component - 用于构建更好的Web ...
最新文章
- java nextline_Java编程语言基础的9根支柱
- pycharm调试有哪些功能工具
- mysql 技术交流群_二进制部署MySQL(运维技术交流群:926402931,欢迎大家一起来交流。)...
- 使用jsonp及jquery的$.ajax解决跨域问题
- SAP CRM呼叫中心里的Java stack
- ubuntu pycharm mysql_ubuntu安装mysql pycharm sublime
- LVS——DR模式+Keepalived(高可用)
- JS设置Cookie,及COOKIE的限制
- luogu题解P1967货车运输--树链剖分
- 多智能体强化学习—QMIX
- 【软件工程】图书馆自习室及座位管理系统的分析与设计
- 月薪过万是普遍现象吗?很抱歉,这事大部分人的错觉
- 【转】深度技术分析“为什么ios比android流畅”
- 国际贸易相关术语-DDP
- CSDN20181211博客黑板报
- 有没有人知道我这个怎么弄?
- Vim快捷键学习---记性不行了,留这里备查
- 调查问卷动态生成的一点探索
- 运营(朋友圈内容):卖货的朋友圈,该发哪些内容?
- Xshell 连接本地虚拟机成功案例
热门文章
- 【转】Extending Lync Server routing with MSPL
- flash mini播放器
- Linux中.a,.la,.o,.so文件的意义和编程实现
- 用Delphi设计能携带附件的EMail
- 人工智能时代下的“烦恼”:美国国会探讨“深度伪造”风险及对策
- 最清晰的讲解各种梯度下降法原理与Dropout
- labview 串口通信开发基础详解
- android 代码设置alignleft,如何动态的设置Relative Layout中按钮的layout_align_parent_right属性...
- linux基础试卷笔试,顽石系列:Linux基础笔试
- HashMap的负载因子为什么默认是0.75