ed76776866eb06a94b338443878fbcbcacbeed06
I struggled to distinguish between a simple key-stroke and a pressed key, which should lead to repeat inputs. Initially I copied this value from my macos-settings where I use the same keyboard, but it turns out that the timing is somehow different. Remember set this to 200ms on macos and 250ms on X11. Note, I have no idea which one is more accurate, but since everything on a mac feels (and is) slow I would guess linux is correct and apple lies.
Dotfiles
I’ll use the "bare repository and alias method" to track my dotfiles.
Usage
Use all your familiar git commands but with config instead of git.
config status
config add .vimrc
config commit -m "Add vimrc"
config add .config/redshift.conf
config commit -m "Add redshift config"
config push
Setup
Quick setup
curl -s https://gitea.nehrke.info/nemoinho/dotfiles/raw/branch/main/.config/dotfiles/setup-machine.sh | bash
Clone on new machine
GIT_DIR=$HOME/Development/nemoinho/gitea.nehrke.info/nemoinho/dotfiles
GIT_REMOTE=git@gitea.nehrke.info:nemoinho/dotfiles.git
git clone --separate-git-dir=$GIT_DIR $GIT_REMOTE $HOME/tmp-dotfiles
rm -r ~/tmp-dotfiles
alias config='/usr/bin/git --git-dir=$GIT_DIR --work-tree=$HOME'
config checkout
config config --local status.showUntrackedFiles no
Initial setup
GIT_DIR=$HOME/Development/nemoinho/gitea.nehrke.info/nemoinho/dotfiles
GIT_REMOTE=git@gitea.nehrke.info:nemoinho/dotfiles.git
git init --bare -b main $GIT_DIR
alias config='/usr/bin/git --git-dir=$GIT_DIR --work-tree=$HOME'
config config status.showUntrackedFiles no
config remote add origin $GIT_REMOTE
config push -u origin main
Description
Languages
Lua
82.9%
Shell
10.6%
Vim Snippet
5.9%
Python
0.6%