|
|
hai 10 meses | |
|---|---|---|
| dotbot | %!s(int64=2) %!d(string=hai) anos | |
| external | hai 1 ano | |
| nvim | %!s(int64=4) %!d(string=hai) anos | |
| scripts | hai 10 meses | |
| themes | %!s(int64=11) %!d(string=hai) anos | |
| .gitignore | %!s(int64=7) %!d(string=hai) anos | |
| .gitmodules | hai 1 ano | |
| DefaultKeyBinding.dict | %!s(int64=11) %!d(string=hai) anos | |
| README.md | %!s(int64=2) %!d(string=hai) anos | |
| clang-format | %!s(int64=8) %!d(string=hai) anos | |
| coc-extensions.json | hai 1 ano | |
| ctags | %!s(int64=4) %!d(string=hai) anos | |
| flake8 | %!s(int64=7) %!d(string=hai) anos | |
| gitignore_global | %!s(int64=2) %!d(string=hai) anos | |
| imgcat | %!s(int64=5) %!d(string=hai) anos | |
| install | %!s(int64=8) %!d(string=hai) anos | |
| install.conf.yaml | hai 10 meses | |
| iterm-profiles.json | %!s(int64=2) %!d(string=hai) anos | |
| nvimrc | hai 10 meses | |
| p10k.zsh | %!s(int64=2) %!d(string=hai) anos | |
| sheldon-plugins.toml | hai 10 meses | |
| task.theme | %!s(int64=7) %!d(string=hai) anos | |
| taskrc-dark | hai 10 meses | |
| taskrc-light | hai 10 meses | |
| tmux.conf | %!s(int64=3) %!d(string=hai) anos | |
| zlogin | %!s(int64=5) %!d(string=hai) anos | |
| zsh_local_example | %!s(int64=10) %!d(string=hai) anos | |
| zshrc | hai 10 meses |
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
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
Thanks to some medium article
security add-generic-password -a "$USER" -s 'name_of_your_key' -w 'passphrase'
and
security find-generic-password -a "$USER" -s 'name_of_your_key' -w