- Lua 46.9%
- Vim Script 27.7%
- Python 25%
- Nix 0.3%
Giovanni Bassi's vim and nvim files
Main repo: codeberg.org/giggio/vimfiles
These are my personal vim and nvim files. These are personal, if you want to use it, do it with care. Read the whole thing!
I am using Vim both on Ubuntu and Windows. Right now there are some nice bundles, like NERDTree. I use Vim mostly for script editing in general.
Installation instructions
Linux
Vim:
git clone --recursive https://codeberg.org/giggio/vimfiles.git ~/.vim
echo "source ~/.vim/init.vim" > ~/.vimrc
Neovim:
# either clone directory to nvim config dir
git clone --recursive https://codeberg.org/giggio/vimfiles.git ~/.config/nvim/
# or symlink this directory to ~/.config/nvim
ln -s /path/to/your/clone ~/.config/nvim/
# sharing with the vim directory, it would be:
ln -s $HOME/.vim ~/.config/nvim/
Windows (PowerShell Core)
Vim:
git clone --recursive https://codeberg.org/giggio/vimfiles.git ~/.vim
# or git clone --recursive git@codeberg.org:giggio/vimfiles.git ~/.vim
# I'm using scoop to install Python, adapt at your will:
Set-Content -NoNewline -Path ~/_vimrc -Value "let `$PYTHONHOME = '$env:USERPROFILE\scoop\apps\python\current\'`nsource $($($env:USERPROFILE).Replace('\', '/'))/.vim/init.vim`n"
Neovim:
# TBD
Notes on Windows' version: The normal Vim home (runtimepath) would be at
~/vimfiles, but this is changed to ~/.vim so that Linux and Windows work the
same way.
Contributing
Questions, comments, bug reports, and pull requests are all welcome. Submit them at the project on Codeberg.
Bug reports that include steps-to-reproduce (including code) are the best. Even better, make them in the form of pull requests. Pull requests on Github will probably be ignored, so avoid them.
Author
License
Licensed under the MIT license.