Update .vimrc
This commit is contained in:
parent
94a7b9fc01
commit
82e47d966a
1 changed files with 7 additions and 4 deletions
11
Vim/.vimrc
11
Vim/.vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue