feat: add some vim plugins

This commit is contained in:
Strix 2023-11-19 16:22:49 +01:00
parent 058e23302b
commit 28ca2f79be
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

@ -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()