Update .vimrc

This commit is contained in:
Rawley 2022-04-09 20:56:05 +00:00
parent 94a7b9fc01
commit 82e47d966a

View file

@ -12,6 +12,8 @@ call plug#begin()
Plug 'arzg/vim-swift', { 'for': 'swift' } Plug 'arzg/vim-swift', { 'for': 'swift' }
Plug 'tyru/open-browser.vim' Plug 'tyru/open-browser.vim'
Plug 'junegunn/vim-easy-align' Plug 'junegunn/vim-easy-align'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'preservim/NERDTree', { 'on': 'NERDTreeToggle' } Plug 'preservim/NERDTree', { 'on': 'NERDTreeToggle' }
Plug 'itchyny/lightline.vim' Plug 'itchyny/lightline.vim'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
@ -31,8 +33,8 @@ colorscheme dracula
syntax on syntax on
set ai set ai
set number set number
set ts=2 set ts=4
set sw=2 set sw=4
set background=dark set background=dark
set nowrap set nowrap
set hidden set hidden
@ -41,11 +43,12 @@ set wildmenu
set hlsearch set hlsearch
set confirm set confirm
set expandtab set expandtab
"Buffer movement, going to go to harpoon soon to try to get away from buffer "Buffer hopping
"switch inefficiency
nmap <C-h> :bp<cr> nmap <C-h> :bp<cr>
nmap <C-l> :bn<cr> nmap <C-l> :bn<cr>
nmap <C-q> :Bclose<cr> nmap <C-q> :Bclose<cr>
"Ripgrep with fzf
nmap <C-f> :Rg<cr>
"Nerd tree "Nerd tree
nmap <S-w> :NERDTreeToggle<cr> nmap <S-w> :NERDTreeToggle<cr>
"COC auto complete "COC auto complete