Move the vim configuration to a directory within the XDG Base Directory Specification

This commit is contained in:
Rodolphe Bréard 2025-01-24 16:39:23 +01:00
parent f289e97ced
commit f9a54f3aa0
Signed by: rodolphe
SSH key fingerprint: SHA256:3rodCKnk1MUOfSlIKY0nHbBtvFyQx4EqjS+JIy69lN0
13 changed files with 7 additions and 3 deletions

View file

@ -4,7 +4,7 @@ filetype off
" Install all plugins:
" $ vim +PlugInstall
call plug#begin('~/.vim/plugged')
call plug#begin('~/.local/vim/plugged')
Plug 'bling/vim-airline' " Lean & mean status/tabline for vim that's light as air.
Plug 'sjl/badwolf' " A Vim color scheme.
Plug 'rust-lang/rust.vim' " Vim configuration for Rust.

2
.gitignore vendored
View file

@ -9,8 +9,6 @@ __pycache__/
*$py.class
# Vim
.vim/plugged/*
.vim/.netrwhist
*.swp
# Emacs

View file

@ -68,6 +68,12 @@ yay -S cardpeek
## vim / neovim
Compatibility workaround for NeoVim:
```
ln -s .config/vim/vimrc .vimrc
```
Plugins are managed by `vim-plug`, which is installed from the AUR.
``` sh