Ⅰ. 插件描述
just some configuration filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'urso/dotrc'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'urso/dotrc'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'urso/dotrc'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/urso/dotrc
Ⅳ. 文档说明
This README gives an overview of some of (to me most valuable) configuration
files, so that if you wanna steal some ideas for your own dot files you know
where to watch. All top-level file and directory names match their 'dotted'
Overview
- Exuberant Ctags (http://ctags.sourceforge.net/)
- ZSH configuration
Ctags
add regular expressions for:
- JavaScript
- Scala
- install by copying ctags to $HOME/.ctags or use symbolic link
ZSH
configuration consists of directory 'zsh' and the files zshenv and zshrc and
all these are in a way interdependent.
Install by copying directory zsh to $HOME/.zsh, zshenv to $HOME/.zshenv and
zshrc to $HOME/.zshrc or create symbolic links.
directory zsh:
bash_completion: copy bash completion files into here if there is no one
for zsh and still enjoy full power of auto completionfunctions: put your own "functions" in here. Those that start with
underscore are used for auto completion- homes: instead of polluting your zshenv or zshrc files with PATH
configurations and other environment settings put a file for each
environment you want to describe in here. The other configuration
files will automatically load them on start up for you.
zshenv:
- set EDITOR=vim
- create setenv function for csh compatibility
- load all sources from $HOME/.zsh/homes
- add $HOME/bin to global $PATH
- adjust umask
- configure auto completion
- set some zsh options
zshrc:
- set prompt to: "[<username>]<current directory> $"
- set vi style key bindings
- loads bashcompletions from $HOME/.zsh/bash_completion
- defines bash like Ctrl-R and Ctrl-S for incremental history search
- loads of aliases and functions, but see yourself