|
|
hace 2 años | |
|---|---|---|
| automator-scripts | hace 9 años | |
| dotbot | hace 4 años | |
| external | hace 2 años | |
| iterm | hace 8 años | |
| nvim | hace 4 años | |
| scripts | hace 2 años | |
| themes | hace 11 años | |
| .gitignore | hace 7 años | |
| .gitmodules | hace 5 años | |
| Brewfile | hace 4 años | |
| Brewfile.lock.json | hace 4 años | |
| Brewfile_max | hace 4 años | |
| Brewfile_max.lock.json | hace 4 años | |
| DefaultKeyBinding.dict | hace 11 años | |
| README.md | hace 3 años | |
| Xmodmap | hace 5 años | |
| clang-format | hace 8 años | |
| coc-extensions.json | hace 2 años | |
| ctags | hace 4 años | |
| flake8 | hace 7 años | |
| gitignore_global | hace 2 años | |
| imgcat | hace 5 años | |
| install | hace 8 años | |
| install.conf.yaml | hace 4 años | |
| install_arch.conf.yaml | hace 6 años | |
| install_e5.conf.yaml | hace 5 años | |
| install_osx.conf.yaml | hace 4 años | |
| iterm-profiles.json | hace 2 años | |
| latexmkrc | hace 7 años | |
| nvimrc | hace 2 años | |
| osx_startup_script.sh | hace 7 años | |
| p10k.zsh | hace 4 años | |
| task.theme | hace 7 años | |
| taskrc | hace 4 años | |
| tmux.conf | hace 3 años | |
| xinitrc | hace 6 años | |
| ycm_extra_conf.py | hace 10 años | |
| zlogin | hace 5 años | |
| zsh_local_example | hace 10 años | |
| zsh_local_osx | hace 4 años | |
| zshrc | hace 2 años |
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