Added vimRC

This commit is contained in:
Rawley Ivan Fowler 2021-10-05 08:16:40 -06:00 committed by GitHub
parent a832abe807
commit 701247d38d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

41
vimrc Normal file
View file

@ -0,0 +1,41 @@
"Plug calls"
call plug#begin(has('vim') ? stdpath('data') . '/plugged' : '~/.vim/plugged')
Plug 'morhetz/gruvbox'
Plug 'jremmen/vim-ripgrep'
Plug 'preservim/NERDTree'
Plug 'tpope/vim-fugitive'
Plug 'leafgarland/typescript-vim'
Plug 'git@github.com:Valloric/YouCompleteMe.git'
Plug 'mbbill/undotree'
Plug 'pangloss/vim-javascript'
Plug 'scrooloose/syntastic'
call plug#end()
"Mappings"
nmap <F3> :NERDTreeToggle<CR>
nmap <F2> :NERDTree-CD
"Sets"
colorscheme gruvbox
set background=dark
let NERDTreeShowHidden=1
set number
let mapleader=" "
set ai
set ls=2
set tabstop=4
set backup
set backupdir=~/.private/vimtmp/
set directory=~/.private/vimtmp/
set shiftwidth=4
set expandtab
set swapfile
set dir=~/.private/vimtmp/
let g:javascript_plugin_flow=1
let g:javascript_conceal_arrow_function='⇒'
set noerrorbells
set smartcase
set ignorecase
set nowrap
if executable('rg')
let g:rg_derive_root='true'
endif
let g:ctrlp_user_command =['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']