Skip to content
/ vim Public

Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X.

Notifications You must be signed in to change notification settings

yimjiajun/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim

Vim customize features is compatible between plugin and vim builtin plugin / command.
Ever without any plugins still can working as similar features.


Installation

  1. Clone to $HOME/.config/vim

    git clone https://github.com/yimjiajun/vim.git $HOME/.config/vim
  2. Install vim and requires packages:

    ./$HOME/.config/vim/features/install.sh
  3. Enjoy vim:

    vim

manual installation
  1. Download vim repository and enter the source code

    git clone https://github.com/vim/vim.git /tmp/vim
    cd /tmp/vim/src
  2. Configure support python1 in vim and build the source code then install it

    ./configure --enable-pythoninterp --enable-python3interp
    make
    sudo make install
  3. Restart Terminal and check the vim version

    vim --version
  • either one +python or +python3 features should be included + 1:

    vim --version | grep python
  1. Clone to $HOME/.config/vim

    git clone https://github.com/yimjiajun/vim.git $HOME/.config/vim
  2. Export vim customize vim configuration file path2
    Source the script to active the environment variable.

    • zsh shell:

      echo "export VIMINIT='source $HOME/.config/vim/init.vim'" >> $HOME/.zshrc
      source $HOME/.zshrc
    • bash shell:

      echo "export VIMINIT='source $HOME/.config/vim/init.vim'" >> $HOME/.bash_aliases
      source $HOME/.bashrc
  3. Install vim plugins and install system dependencies package

    vim +PlugInstall +qall
    vim +Install +qall




Footnotes

  1. vim --version: should display either one +python or +python3 to support snippets 2

  2. Why $VIMINIT : Startup configuration file rather than calling .vimrc for Neovim and Vim, which environment variable is using on both editor.

About

Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published