Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wwj718/mytools
https://github.com/wwj718/mytools
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wwj718/mytools
- Owner: wwj718
- Created: 2014-07-17T04:15:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T03:25:47.000Z (about 8 years ago)
- Last Synced: 2023-08-04T13:49:18.146Z (over 1 year ago)
- Language: Shell
- Size: 2.9 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##about
将使用vim过程中相关的东西放到这里##升级vim
* sudo add-apt-repository ppa:fcwu-tw/ppa
* sudo apt-get update
* sudo apt-get install vim##插件管理
使用[Vundle.vim](https://github.com/gmarik/Vundle.vim)##迅速配置自己的环境
* 升级vim
* git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
* :PluginInstall
* 将本库中的.vimrc拉取到本地 ~/##使用Valloric/YouCompleteMe
* 使用Vundle安装'Valloric/YouCompleteMe'
* sudo apt-get install build-essential cmake
* sudo apt-get install python-dev
* cd ~/.vim/bundle/YouCompleteMe
* ./install.sh (--clang-complete可选)##使用ctrlp
* https://github.com/kien/ctrlp.vim
* [资料](http://williamherry.com/blog/2012/08/25/master-vim-04-ctrlp/)##msanders/snipmate.vim
我们只需编辑~/.vim/bundle/snipmate.vim/snippets/ 目录下的*.snippets文件就可以根据自己的要求自动产生代码。##动手用python写插件
参看库中vimmit* [python-vim](http://vimdoc.sourceforge.net/htmldoc/if_pyth.html#python-vim)
* [vim 的 python 接口](http://xwsoul.com/posts/857)
* [python-vim](http://python.42qu.com/11165602)
###使用插件
* :source vimmit.vim
* :call Reddit()###制作插件范例*
[better-header](https://github.com/xiaket/better-header)