Move the vim configuration to a directory within the XDG Base Directory Specification
This commit is contained in:
parent
f289e97ced
commit
f9a54f3aa0
13 changed files with 7 additions and 3 deletions
|
@ -4,7 +4,7 @@ filetype off
|
||||||
" Install all plugins:
|
" Install all plugins:
|
||||||
" $ vim +PlugInstall
|
" $ 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 'bling/vim-airline' " Lean & mean status/tabline for vim that's light as air.
|
||||||
Plug 'sjl/badwolf' " A Vim color scheme.
|
Plug 'sjl/badwolf' " A Vim color scheme.
|
||||||
Plug 'rust-lang/rust.vim' " Vim configuration for Rust.
|
Plug 'rust-lang/rust.vim' " Vim configuration for Rust.
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -9,8 +9,6 @@ __pycache__/
|
||||||
*$py.class
|
*$py.class
|
||||||
|
|
||||||
# Vim
|
# Vim
|
||||||
.vim/plugged/*
|
|
||||||
.vim/.netrwhist
|
|
||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
# Emacs
|
# Emacs
|
||||||
|
|
|
@ -68,6 +68,12 @@ yay -S cardpeek
|
||||||
|
|
||||||
## vim / neovim
|
## vim / neovim
|
||||||
|
|
||||||
|
Compatibility workaround for NeoVim:
|
||||||
|
|
||||||
|
```
|
||||||
|
ln -s .config/vim/vimrc .vimrc
|
||||||
|
```
|
||||||
|
|
||||||
Plugins are managed by `vim-plug`, which is installed from the AUR.
|
Plugins are managed by `vim-plug`, which is installed from the AUR.
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue