diff --git a/.gitignore b/.gitignore index 0c1f41e..9230d78 100644 --- a/.gitignore +++ b/.gitignore @@ -9,8 +9,7 @@ __pycache__/ *$py.class # Vim -.vim/bundle/* -!.vim/bundle/Vundle.vim +.vim/plugged/* .vim/.netrwhist *.swp diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 9eb7fea..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule ".vim/bundle/Vundle.vim"] - path = .vim/bundle/Vundle.vim - url = https://github.com/VundleVim/Vundle.vim.git diff --git a/.vim/bundle/Vundle.vim b/.vim/bundle/Vundle.vim deleted file mode 160000 index b255382..0000000 --- a/.vim/bundle/Vundle.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b255382d6242d7ea3877bf059d2934125e0c4d95 diff --git a/.vimrc b/.vimrc index b84a6c3..cf8bd4d 100644 --- a/.vimrc +++ b/.vimrc @@ -1,25 +1,19 @@ set nocompatible filetype off -" Install Vundle: -" $ git clone https://github.com/VundleVim/Vundle.vim.git \ -" ~/.vim/bundle/Vundle.vim -" " Install all plugins: -" $ vim +PluginInstall +qall +" $ vim +PlugInstall -set rtp+=~/.vim/bundle/Vundle.vim " Set the runtime path to include Vundle and initialize. -call vundle#begin() -Plugin 'VundleVim/Vundle.vim' " Let Vundle manage Vundle, required. -Plugin 'bling/vim-airline' " Lean & mean status/tabline for vim that's light as air. -Plugin 'antoyo/vim-licenses' " Vim Plugin that Provides Commands to Add Licenses at the Top of the Buffer. -Plugin 'breard-r/vim-dnsserial' " Another DNS-zone serial number updater. -Plugin 'sjl/badwolf' " A Vim color scheme. -Plugin 'rust-lang/rust.vim' " Vim configuration for Rust. -Plugin 'cespare/vim-toml' " Vim syntax for TOML. -Plugin 'editorconfig/editorconfig-vim' " EditorConfig plugin -Plugin 'Yggdroot/indentLine' " Display thin vertical lines at each indentation level -call vundle#end() +call plug#begin('~/.vim/plugged') +Plug 'bling/vim-airline' " Lean & mean status/tabline for vim that's light as air. +Plug 'antoyo/vim-licenses' " Vim Plugin that Provides Commands to Add Licenses at the Top of the Buffer. +Plug 'breard-r/vim-dnsserial' " Another DNS-zone serial number updater. +Plug 'sjl/badwolf' " A Vim color scheme. +Plug 'rust-lang/rust.vim' " Vim configuration for Rust. +Plug 'cespare/vim-toml' " Vim syntax for TOML. +Plug 'editorconfig/editorconfig-vim' " EditorConfig plugin +Plug 'Yggdroot/indentLine' " Display thin vertical lines at each indentation level +call plug#end() syntax on " Enable syntax highlighting. diff --git a/README.md b/README.md index 4b9e945..3a56d37 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ pacman -S dosfstools mtools ``` sh # Base utils -yay -S liquidprompt +yay -S liquidprompt vim-plug # Printer yay -S brother-dcp1610w brscan-skey brscan4 # Graphical software @@ -39,25 +39,10 @@ yay -S cardpeek ## vim -Plugins are managed by Vundle, which is a git submodule. After cloning the `dotfiles` repository, you have to initialize the submodule and install all plugins. +Plugins are managed by `vim-plug`, which is installed from the AUR. ``` sh -cd dotfiles/ -git submodule init -git submodule update -vim +PluginInstall +qall -``` - -Plugins can be updated with `vim +PluginUpdate +qall`. - -Updating the Vundle submodule: - -``` sh -cd .vim/bundle/Vundle.vim -git checkout master -git pull -cd - -git commit -m 'Update Vundle' +vim +PlugInstall ```