Steven ZHAO's configuration files.
The easiest way to install ujnzxw-dotfiles is to use our automatic installer by simply copying and pasting the following line into a terminal. This will install ujnzxw-dotfiles and backup your existing vim configuration.
Requires Git 1.7+ and Vim 7.4.2009+
export APP_PATH=/your/Install/path (Default path is: ~/.ujnzxw-dotfiles)
curl https://raw.githubusercontent.com/ujnzxw/dotfiles/master/install.sh -L > ujnzxw-dotfiles.sh && sh ujnzxw-dotfiles.sh
If you have a bash-compatible shell you can run the script directly:
export APP_PATH=/your/Install/path (Default path is: ~/.ujnzxw-dotfiles)
sh <(curl https://raw.githubusercontent.com/ujnzxw/dotfiles/master/install.sh -L)
Many features are included in this dotfiles project. In fact, all the dotfiles you concerned can be managed and maintained by dotfiles project. Such as bash dot files(.bashrc, etc), VIM dot files (.vimrc, plugins, etc), TMUX dotfiles, python autoenv scripts, etc.
Here I only list the main features for every part.
It include bash dot files: .bashrc, .bash_profile, .bashrc.local.
You can add your bash settings into .bashrc.local if you need, and this file is ignored by dotfiles git. The main bash configuration data is included in .bashrc, it include but not limit:
- Editor defination
- History settings
- Language and Time Zone settings
- Many useful aliases and functions defination, such as
function bak() { cp -a "$1" "$1".bak; }
- PS1 - Command lind prompt string settings
It include Vim dotfiles: .vimrc and .vimrc.plugins
The main Vim configuration data is included in .vimrc, the features for Vim include but not limit:
- use Vundle to manage VIM plugins
- Support Ctags (Hot Key
F5
trigger) - Support file tree (Hot Key
F4
trigger) - Support Vim airline
- Support auto-complete
- Code auto format for python code (
*.py
) and Go code (*.go
) - Exceeding chars highlight (Hot Key
F2
trigger highlight andF3
trigger reminder line) - Suppot spelling check and auto correcting
- Ctrl + S to save files (equal to :w)
If a directory contains a .env
file, it will automatically be executed
when you cd
into it.
For details please refer to kennethreitz/autoenv
Below is the introduction for the plugins installed in Vim:
A vim plugin manager, this is the GitHub homepage.
lean & mean status/tabline for vim that's light as air
- Install necessary font in ../font
- Set system font:
Terminal -> Edit -> Profile Perference
- Un-check "Use the system fixed width font"
- Select font "Droid Sans Mono Slashed for Powerline"
- Set font SIZE to 11
- Install vim-airline by Vundle
Plugin Manager
Vim plugin that displays tags in a window ordered by scope http://majutsushi.github.com/tagbar/
Auto-compete plugin
*requires at least Vim 7.4.2009 *
Go development plugin for Vim https://patreon.com/fatih
Copyright (c) 2016 ujnzxw ujnzxw@gmail.com
Distributed under the MIT license. See the LICENSE file for more details.
-
neocomplete requires Vim 7.3.885 or later with Lua support ("+lua").
# sudo yum install -y ruby ruby-devel lua lua-devel luajit luajit-devel ctags mercurial python python-devel python3 python3-devel tcl-devel perl perl-devel perl-ExtUtils-ParseXS perl-ExtUtils-XSpp perl-ExtUtils-CBuilder perl-ExtUtils-Embed ncurses-devel # git clone https://github.com/vim/vim.git # cd vim # ./configure --with-features=huge --enable-multibyte --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-luainterp --enable-gui=gtk2 --enable-cscope --with-tlib=ncurses --prefix=/usr # sudo make install
-
update Vim to 8.0 to adapt vim-go plugin. procedure:
- download vim-enhanced-8.0.003-1.gf.el7.x86_64.rpm
- download vim-common-8.0.003-1.gf.el7.x86_64.rpm
- yum install vim-enhanced* vim-common*
Please refer to vim/README.md
ujnzxw - Steven ZHAO
Distributed under the MIT license. See the LICENSE file for more details.