|
|
1 жил өмнө | |
|---|---|---|
| dotbot | 2 жил өмнө | |
| external | 2 жил өмнө | |
| nvim | 4 жил өмнө | |
| scripts | 1 жил өмнө | |
| themes | 11 жил өмнө | |
| .gitignore | 7 жил өмнө | |
| .gitmodules | 5 жил өмнө | |
| DefaultKeyBinding.dict | 11 жил өмнө | |
| README.md | 2 жил өмнө | |
| clang-format | 8 жил өмнө | |
| coc-extensions.json | 2 жил өмнө | |
| ctags | 4 жил өмнө | |
| flake8 | 7 жил өмнө | |
| gitignore_global | 2 жил өмнө | |
| imgcat | 5 жил өмнө | |
| install | 8 жил өмнө | |
| install.conf.yaml | 2 жил өмнө | |
| install_arch.conf.yaml | 6 жил өмнө | |
| install_e5.conf.yaml | 5 жил өмнө | |
| install_osx.conf.yaml | 4 жил өмнө | |
| iterm-profiles.json | 2 жил өмнө | |
| latexmkrc | 7 жил өмнө | |
| nvimrc | 2 жил өмнө | |
| p10k.zsh | 2 жил өмнө | |
| task.theme | 7 жил өмнө | |
| taskrc | 4 жил өмнө | |
| tmux.conf | 3 жил өмнө | |
| zlogin | 5 жил өмнө | |
| zsh_local_example | 10 жил өмнө | |
| zsh_local_osx | 4 жил өмнө | |
| zshrc | 2 жил өмнө |
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