~porkbrain/dotfiles

Collection of configs, scripts and notes
Fixing value for autosetup
Always autosetup remote branch if it doesn't exist yet
Introducing default gitconfig with delta as diff tool

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~porkbrain/dotfiles
read/write
git@git.sr.ht:~porkbrain/dotfiles

You can also use your local clone with git send-email.

#Personal machine setup

#git

git config --global user.name "porkbrain"
git config --global user.email "git@porkbrain.com"
ssh-keygen -o -t rsa -b 4096 -C "git@porkbrain.com"

#alacritty

Install alacritty and then copy the alacritty config file to .config directory. Assuming you are in this (dotfiles) repo:

mkdir -p ~/.config/alacritty
cp alacritty.yml ~/.config/alacritty/alacritty.yml

#neovim

Install neovim with AppImage and plug for neovim. Then copy the nvim config file to .config directory. Assuming you are in this (dotfiles) repo:

mkdir -p ~/.config/nvim
cp init.vim ~/.config/nvim/init.vim
nvim

Or download the the conf from this repo with

curl -o $HOME/.config/nvim/init.vim https://git.sr.ht/~porkbrain/dotfiles/blob/main/init.vim

Install the plugins with:

:PlugInstall
:UpdateRemotePlugins
:TSInstall rust
:Copilot setup

Some useful dependencies:

  • apt install lldb for debugging
  • rustup component add rust-analyzer for language server (more info here)
    • note that this must be done for each distinct toolchain separately
  • apt install wmctrl to shift focus to browser when opening a link
  • apt install ripgrep
  • npm install -g prettier for markdown formatting
  • bacon for building and running Rust projects

#What would I like to see

  • Format *.toml files on save
  • Go to next error across source files
  • Rename symbol similar to VSCode
  • Go to symbol usage similar to VSCode
Do not follow this link