syntax enable let mapleader = " " call plug#begin('~/.vim/plugged') Plug 'ervandew/supertab' Plug 'dracula/vim', { 'as': 'dracula' } Plug 'preservim/nerdtree' Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf.vim' Plug 'mhinz/vim-startify' Plug 'jeetsukumaran/vim-buffergator' Plug 'ap/vim-buftabline' Plug 'airblade/vim-gitgutter' Plug 'majutsushi/tagbar' Plug 'vim-airline/vim-airline' Plug 'ctrlpvim/ctrlp.vim' Plug 'enricobacis/vim-airline-clock' call plug#end() map :NERDTreeToggle set tabstop=2 set shell=/bin/bash set shiftwidth=2 set expandtab set hidden set background=dark colorscheme dracula " Relative numbers and when not in buiffer set absolute numbers set number relativenumber augroup numbertoggle autocmd! autocmd BufEnter,FocusGained,InsertLeave * set relativenumber autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber augroup END " Colors nnoremap / :Ag nnoremap :bnext nnoremap :bprev nmap bq :bp bd # "Clock let g:airline#extensions#clock#format = '%I:%M:%S %X'