General hacking scripts, tools, or configurations used by jarrpa
- gitconfig: My global .gitconfig
- git-reviewed.sh: A script for doing e-mail based git reviews
- Installed tools:
My vim setup is a little weird, but then again so would anyone's be after a few
years. I frequently find myself editing system files where I would like to have
my usual vim functionality, so I put my configurations mostly in /etc
. On
Fedora, the default /etc/vimrc
has a stanza to read custom local
configurations from /etc/vimrc.local
. Using that, I maintain two files:
- vimrc.local: My primary vim config
- vimrc.coc: Another vim config file, included by
vimrc.local
, for configuring the CoC plugin
In addition, CoC takes some additional configuration that must be specified in my home directory:
- coc-settings.json: CoC language server settings
These days I work primarily in Go and Bash. To set up my vim environment on Fedora 31, I did the following steps:
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo dnf install vim python3-neovim vim-go vim-fugitive yarn
- Install vimrc files to
/etc
vim +PlugInstall
vim +GoInstallBinaries
npm i -g bash-language-server
- Install
coc-settings.json
in~/.vim