|
|
il y a 8 mois | |
|---|---|---|
| dotbot | il y a 2 ans | |
| external | il y a 1 an | |
| nvim | il y a 4 ans | |
| scripts | il y a 10 mois | |
| themes | il y a 11 ans | |
| .gitignore | il y a 7 ans | |
| .gitmodules | il y a 1 an | |
| DefaultKeyBinding.dict | il y a 11 ans | |
| README.md | il y a 2 ans | |
| clang-format | il y a 8 ans | |
| coc-extensions.json | il y a 1 an | |
| ctags | il y a 4 ans | |
| flake8 | il y a 7 ans | |
| gitconfig | il y a 8 mois | |
| gitignore_global | il y a 2 ans | |
| imgcat | il y a 5 ans | |
| install | il y a 8 ans | |
| install.conf.yaml | il y a 8 mois | |
| iterm-profiles.json | il y a 2 ans | |
| nvimrc | il y a 10 mois | |
| p10k.zsh | il y a 2 ans | |
| sheldon-plugins.toml | il y a 9 mois | |
| task.theme | il y a 7 ans | |
| taskrc-dark | il y a 9 mois | |
| taskrc-light | il y a 9 mois | |
| tmux.conf | il y a 3 ans | |
| zlogin | il y a 9 mois | |
| zsh_local_example | il y a 10 ans | |
| zshrc | il y a 9 mois |
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