Sen descrición

Kevin Heinicke 6b32dc62ee Minor updates hai 4 meses
dotbot 8eeeff1576 Add install script to dotbot conf %!s(int64=2) %!d(string=hai) anos
external c08a10f1cb First adjustments for sheldon hai 1 ano
nvim 72035f463d Add Brewfile to managed files %!s(int64=4) %!d(string=hai) anos
scripts 8add883dc2 More backup script fixes hai 6 meses
themes a8b14d788e mv tomorrow-night to match repo %!s(int64=11) %!d(string=hai) anos
.gitignore 3c7548d955 Link ctags and use gutentags %!s(int64=7) %!d(string=hai) anos
.gitmodules c08a10f1cb First adjustments for sheldon hai 1 ano
DefaultKeyBinding.dict fb8fc5098e chmod DefaultKeyBinding to make it editable %!s(int64=11) %!d(string=hai) anos
README.md cdde9244ff Remove rosetta stuff %!s(int64=2) %!d(string=hai) anos
clang-format 3a277b4605 Add clang-format file %!s(int64=8) %!d(string=hai) anos
coc-extensions.json af789030cf Merge upstream hai 1 ano
ctags e0feab1ffe Some local changes to ctags, vimrc, env %!s(int64=4) %!d(string=hai) anos
flake8 0733779bb0 Fine tune flake8 config %!s(int64=7) %!d(string=hai) anos
gitconfig 292180ccf0 Add common gitconfig file hai 8 meses
gitignore_global ffe034727b Add note about storing secrets on macos %!s(int64=2) %!d(string=hai) anos
imgcat fd61c1b0b1 Update imgcat %!s(int64=5) %!d(string=hai) anos
install d1dd234b9d Add arch config file %!s(int64=8) %!d(string=hai) anos
install.conf.yaml 292180ccf0 Add common gitconfig file hai 8 meses
iterm-profiles.json 80268dbfac Generalize iterm profile %!s(int64=2) %!d(string=hai) anos
nvimrc 5f019540a5 Switch those colors around hai 10 meses
p10k.zsh 8fd6f23938 Latest zsh startup adjustments %!s(int64=2) %!d(string=hai) anos
sheldon-plugins.toml a81f5e5f06 Latest updates hai 7 meses
task.theme 0eb6d8db74 Remove almost all the taskwarrior color %!s(int64=7) %!d(string=hai) anos
taskrc-dark a50e7d4c81 Add latest zsh config fixes hai 9 meses
taskrc-light 6b32dc62ee Minor updates hai 4 meses
tmux.conf 9b80b6c4f5 Some maintenance %!s(int64=3) %!d(string=hai) anos
zlogin a81f5e5f06 Latest updates hai 7 meses
zsh_local_example 07bfcfeb23 Move all hidden files to visible. %!s(int64=10) %!d(string=hai) anos
zshrc 6b32dc62ee Minor updates hai 4 meses

README.md

my conf files

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

Oddities

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.

Power settings on my old-ish MBP

These should be fine, as per man pmset

sudo pmset -b hibernatemode 25 standbydelaylow 600 standbydelayhigh 1200

Storing secrets and stuff in keychain

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