/tube-vim

Setup command line dev environment instantly!

Primary LanguageVim Script

tube-vim

 _         _                     _
| |_ _   _| |__   ___     __   _(_)_ __ ___
| __| | | | '_ \ / _ \____\ \ / / | '_ ` _ \
| |_| |_| | |_) |  __/_____\ V /| | | | | | |
 \__|\__,_|_.__/ \___|      \_/ |_|_| |_| |_|

tube-vim is a integrated command line environment that mainly designed for macOS. You can install it by running a single command:

bash <(curl -L https://raw.githubusercontent.com/tolinwei/tube-vim/master/install.sh)

tube-vim includes best practical Vim settings, bunch of Vim plugins managed by junegunn/vim-plug, and decent color scheme gruvbox (gruvbox-contrib for iTerm2 and gruvbox-terminal for Terminal.app).

tube-vim will also install a delightful zsh wrapper – oh-my-zsh (Github | Official size) as the replacement of most systems' default bash. You can switch to it easily due to its full compatibility with bash.

简体中文文档正在编辑中

Preview

Installation

For macOS

  1. (Optional) Install iTerm2 (direct link) as Terminal replacement, check out more features here

  2. Run the following command to install tube-vim for macOS

    bash <(curl -L https://raw.githubusercontent.com/tolinwei/tube-vim/master/install.sh)
    
  3. Change the color scheme in Preferences... (⌘,) of iTerm2 or Terminal depends on which one you're using.

How to change color scheme for iTerm2 and Terminal.app

  1. Modified the following lines in your ~/.bashrc to correct git commits info (if you will be using git and have no existing ~/.bashrc before installation)
    git config --global user.name "<put-your-name-here>"
    git config --global user.email "<put-your-email-here>"
    

For Linux

tube-vim provides a simplified* version for server side Linux, since it's always anoying to develop on a bare remote machine. Makie sure you have git, wget and Vim >= 7.4 installed (7.2 might have issue with NERDTree), then run the following command to set it up:

bash <(wget -O - https://raw.githubusercontent.com/tolinwei/tube-vim/master/linux-install.sh --no-check-certificate)

Usage Guide

Basic Vim Operations

Vim Plugins List

License

Copyright © Wei Lin. Distributed under the same terms as Vim itself. See :help license.