Add vim-plug + vim-fugitive

pull/86/head
Minh Quang Bui 2024-09-08 23:22:42 +07:00
parent 466945ef52
commit 830038c694
3 changed files with 10 additions and 0 deletions

5
init.vim 100644
View File

@ -0,0 +1,5 @@
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-fugitive'
call plug#end()
lua require('config')

View File

@ -2,7 +2,12 @@
sudo apt-get install ripgrep sudo apt-get install ripgrep
# setup font
mkdir -p ~/.local/share/fonts mkdir -p ~/.local/share/fonts
cp .font/{*.ttf,*.otf} ~/.local/share/fonts cp .font/{*.ttf,*.otf} ~/.local/share/fonts
sudo cp *.ttf /usr/share/fonts/truetype/ sudo cp *.ttf /usr/share/fonts/truetype/
sudo fc-cache -f -v sudo fc-cache -f -v
# setup vim-plug
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'