feat: add some vim plugins
This commit is contained in:
parent
058e23302b
commit
28ca2f79be
1 changed files with 10 additions and 1 deletions
|
@ -3,6 +3,12 @@ set number
|
||||||
set relativenumber
|
set relativenumber
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
|
" No arrow keys
|
||||||
|
noremap <Up> <Nop>
|
||||||
|
noremap <Down> <Nop>
|
||||||
|
noremap <Left> <Nop>
|
||||||
|
noremap <Right> <Nop>
|
||||||
|
|
||||||
" ensure vim-plug
|
" ensure vim-plug
|
||||||
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
||||||
if empty(glob(data_dir . '/autoload/plug.vim'))
|
if empty(glob(data_dir . '/autoload/plug.vim'))
|
||||||
|
@ -13,5 +19,8 @@ endif
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
|
|
||||||
Plug 'ThePrimeagen/vim-be-good'
|
Plug 'ThePrimeagen/vim-be-good'
|
||||||
|
Plug 'machakann/vim-highlightedyank'
|
||||||
|
Plug 'tpope/vim-commentary'
|
||||||
|
Plug 'wellle/targets.vim'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
Loading…
Reference in a new issue