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