Last active
March 28, 2019 16:44
-
-
Save ashishwadekar/216dacca819e55ff721e835be488f0ed to your computer and use it in GitHub Desktop.
Current VIM configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
filetype plugin indent on | |
set background=dark | |
set guifont=Hack:h15 | |
set shell=/bin/bash | |
set linespace=2 | |
if !isdirectory($HOME."/.vim/undo-dir") | |
call mkdir($HOME."/.vim/undo-dir", "", 0700) | |
endif | |
set undodir=~/.vim/undo-dir | |
set undofile | |
colorscheme jellybeans | |
set guioptions-=r | |
set guioptions-=l | |
set ttimeoutlen=50 | |
set laststatus=2 | |
set tabstop=2 shiftwidth=2 expandtab | |
nnoremap <D-]> >> | |
nnoremap <D-[> << | |
vnoremap <D-]> >gv | |
vnoremap <D-[> <gv | |
set hlsearch | |
set number | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
let g:syntastic_always_populate_loc_list = 1 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_ruby_checkers = ['rubocop', 'mri'] | |
let g:mix_format_on_save = 1 | |
let g:user_emmet_leader_key='<Tab>' | |
set undodir=~/.vim/.undo// | |
set backupdir=~/.vim/.backup// | |
set directory=~/.vim/.swp// | |
" Vim search related with AG | |
let g:ackprg = 'ag --vimgrep --smart-case' | |
cnoreabbrev ag Ack | |
cnoreabbrev aG Ack | |
cnoreabbrev Ag Ack | |
cnoreabbrev AG Ack | |
" Vue Plugin Settings | |
let g:vim_vue_plugin_load_full_syntax = 1 | |
" Plugin Management | |
call plug#begin('~/.vim/plugins_vim') | |
" Plugin List | |
" On-demand loading | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
" Vim working related | |
Plug 'nanotech/jellybeans.vim' | |
Plug 'ctrlpvim/ctrlp.vim' | |
Plug 'mileszs/ack.vim' | |
Plug 'Yggdroot/indentLine' | |
Plug 'vim-syntastic/syntastic' | |
Plug 'majutsushi/tagbar' | |
Plug 'vim-airline/vim-airline' | |
Plug 'tpope/vim-fugitive' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'maxboisvert/vim-simple-complete' | |
Plug 'wakatime/vim-wakatime' | |
Plug 'prettier/vim-prettier', { 'do': 'yarn install' } | |
Plug 'bronson/vim-trailing-whitespace' | |
Plug 'jreybert/vimagit' | |
Plug 'tpope/vim-dispatch' | |
Plug 'tpope/vim-surround' | |
Plug 'tpope/vim-commentary' | |
" Languages related | |
"HTML | |
Plug 'mattn/emmet-vim' | |
" Rails Plugins | |
Plug 'tpope/vim-bundler' | |
Plug 'tpope/vim-rails' | |
Plug 'ngmy/vim-rubocop' | |
" Elixir Plugins | |
Plug 'elixir-lang/vim-elixir' | |
Plug 'slashmili/alchemist.vim' | |
Plug 'mhinz/vim-mix-format' | |
" Vue Plugins | |
Plug 'leafOfTree/vim-vue-plugin' | |
" Themes List | |
Plug 'chriskempson/base16-vim' | |
Plug 'morhetz/gruvbox' | |
call plug#end() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment