|
|
3 gadi atpakaļ | |
|---|---|---|
| automator-scripts | 9 gadi atpakaļ | |
| dotbot | 4 gadi atpakaļ | |
| external | 4 gadi atpakaļ | |
| iterm | 8 gadi atpakaļ | |
| nvim | 4 gadi atpakaļ | |
| scripts | 5 gadi atpakaļ | |
| themes | 11 gadi atpakaļ | |
| .gitignore | 7 gadi atpakaļ | |
| .gitmodules | 5 gadi atpakaļ | |
| Brewfile | 4 gadi atpakaļ | |
| Brewfile.lock.json | 4 gadi atpakaļ | |
| Brewfile_max | 4 gadi atpakaļ | |
| Brewfile_max.lock.json | 4 gadi atpakaļ | |
| DefaultKeyBinding.dict | 11 gadi atpakaļ | |
| README.md | 3 gadi atpakaļ | |
| Xmodmap | 5 gadi atpakaļ | |
| clang-format | 8 gadi atpakaļ | |
| coc-extensions.json | 3 gadi atpakaļ | |
| ctags | 4 gadi atpakaļ | |
| flake8 | 7 gadi atpakaļ | |
| gitignore_global | 4 gadi atpakaļ | |
| imgcat | 5 gadi atpakaļ | |
| install | 8 gadi atpakaļ | |
| install.conf.yaml | 4 gadi atpakaļ | |
| install_arch.conf.yaml | 6 gadi atpakaļ | |
| install_e5.conf.yaml | 5 gadi atpakaļ | |
| install_osx.conf.yaml | 4 gadi atpakaļ | |
| iterm-profiles.json | 5 gadi atpakaļ | |
| latexmkrc | 7 gadi atpakaļ | |
| nvimrc | 3 gadi atpakaļ | |
| osx_startup_script.sh | 7 gadi atpakaļ | |
| p10k.zsh | 4 gadi atpakaļ | |
| task.theme | 7 gadi atpakaļ | |
| taskrc | 4 gadi atpakaļ | |
| tmux.conf | 3 gadi atpakaļ | |
| xinitrc | 6 gadi atpakaļ | |
| ycm_extra_conf.py | 10 gadi atpakaļ | |
| zlogin | 5 gadi atpakaļ | |
| zsh_local_e5 | 4 gadi atpakaļ | |
| zsh_local_example | 10 gadi atpakaļ | |
| zsh_local_osx | 4 gadi atpakaļ | |
| zshrc | 4 gadi atpakaļ |
Using dotbot its awesome.
I'm using a fork (of a fork of a fork) of instant-markdown-d which uses KaTeX
for maths (and has the upstream up to date):
npm install -g git+https://github.com/bixel/instant-markdown-d.git
There are some other tweaks for macOS, I do not want to miss:
Enabling and setting key-repeat and initial key-repeat rates via
defaults write -g ApplePressAndHoldEnabled -bool false
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write -g InitialKeyRepeat -int 10
The changes take effect after a logout. Warning If you want to present a slideshow with these settings enabled, you'll have a nightmate using most presenters.
Remap ESC and CAPSLOCK keys
sudo defaults read com.apple.loginwindow || sudo defaults write com.apple.loginwindow LoginHook $PWD/osx_startup_script.sh && sudo ./osx_startup_script.sh
Currently, adding this to the .zsh_local for x86 vs arm64 workarounds
if [ "$(uname -m)" = "x86_64" ]; then
export X86_SLUG="86"
fi
export PATH="/opt/homebrew$X86_SLUG/bin:/opt/homebrew$X86_SLUG/sbin:$PATH"
export PYENV_ROOT="$HOME/.pyenv$X86_SLUG"
export PATH="$PYENV_ROOT/bin:$HOME/.jenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
eval "$(jenv init -)"
I've added a prompt segment to indicate if I'm currently in a rosetta shell.
To properly activate autocompletion, I need to run
rm ~/.zcompdump
compinit
Weirdly, this reported "compinit: insecure directories". After a few tries, it "just worked"... If this is not the case, this github issue might help.
These should be fine, as per man pmset
sudo pmset -b hibernatemode 25 standbydelaylow 600 standbydelayhigh 1200