Skip to content

Instantly share code, notes, and snippets.

@arashpath
Last active October 15, 2018 12:18
Show Gist options
  • Save arashpath/5c837a1c8de0d5e13705f041ef665655 to your computer and use it in GitHub Desktop.
Save arashpath/5c837a1c8de0d5e13705f041ef665655 to your computer and use it in GitHub Desktop.
Preparing VIM
# REF Link https://medium.com/@huntie/10-essential-vim-plugins-for-2018-39957190b7a9
# Clone Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# Config Vundle
cat <<EOF > ~/.vim/plugins.vim
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'airblade/vim-gitgutter'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'itchyny/lightline.vim'
Plugin 'junegunn/fzf'
Plugin 'junegunn/fzf.vim'
Plugin 'mattn/emmet-vim'
Plugin 'scrooloose/nerdtree'
Plugin 'terryma/vim-multiple-cursors'
Plugin 'tpope/vim-eunuch'
Plugin 'tpope/vim-surround'
Plugin 'w0rp/ale'
call vundle#end()
filetype plugin indent on
EOF
# Configure vimrc
cat <<EOF > ~/.vim/vimrc
syntax on
set viminfo+=n~/.vim/viminfo
set nocompatible " be iMproved, required
filetype off " required
so ~/.vim/plugins.vim " Vundle Config
"lightline.vim
set laststatus=2
set noshowmode
let g:lightline = {
\ 'colorscheme': 'seoul256',
\ }
EOF
vim +'PluginInstall'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment