Skip to content
/ hacking Public

General hacking scripts, tools, or configurations used by jarrpa

License

Notifications You must be signed in to change notification settings

jarrpa/hacking

Repository files navigation

jarrpa-hacking

General hacking scripts, tools, or configurations used by jarrpa

git

  • gitconfig: My global .gitconfig
  • git-reviewed.sh: A script for doing e-mail based git reviews
  • Installed tools:
    • tig: History browsing and branch management
    • stgit: Patch development workflow

vim

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:

  1. curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
  2. sudo dnf install vim python3-neovim vim-go vim-fugitive yarn
  3. Install vimrc files to /etc
  4. vim +PlugInstall
  5. vim +GoInstallBinaries
  6. npm i -g bash-language-server
  7. Install coc-settings.json in ~/.vim

About

General hacking scripts, tools, or configurations used by jarrpa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages