Refactoring

- Added macos
This commit is contained in:
foozzi 2024-01-14 23:29:33 -05:00
parent 03a7616e8c
commit 2c1ccaffd1
47 changed files with 76 additions and 33 deletions

View file

@ -0,0 +1,17 @@
[keyboard]
bindings = [
{key = "W", mods = "Command", chars = "\u001BW" },
{key = "X", mods = "Command", chars = "\u001BX" },
{key = 30, mods = "Command|Shift", chars = "\u001Bn" },
{key = 33, mods = "Command|Shift", chars = "\u001Bp" },
{key = "Z", mods = "Command", chars = "\u0001w" },
{key = "T", mods = "Command", chars = "\u001Bt" },
{key = "E", mods = "Command", chars = "\u001Be" },
{key = "D", mods = "Command", chars = "\u001Bd" },
# tmux resurrect plugin
{key = "R", mods = "Command", chars = "\u0001\u0012" },
{key = "S", mods = "Command", chars = "\u0001\u0013" },
# move cursor per word
{key = "Right", mods = "Command", chars = "\u001BF" },
{key = "Left", mods = "Command", chars = "\u001BB" },
]

View file

@ -0,0 +1,17 @@
[keyboard]
bindings = [
{key = "W", mods = "Command", chars = "\u001BW" },
{key = "X", mods = "Command", chars = "\u001BX" },
{key = 30, mods = "Command|Shift", chars = "\u001Bn" },
{key = 33, mods = "Command|Shift", chars = "\u001Bp" },
{key = "Z", mods = "Command", chars = "\u0001w" },
{key = "T", mods = "Command", chars = "\u001Bt"},
{key = "E", mods = "Command", chars = "\u001Be"},
{key = "D", mods = "Command", chars = "\u001Bd"},
# tmux resurrect plugin
{key = "R", mods = "Command", chars = "\u0001\u0012" },
{key = "S", mods = "Command", chars = "\u0001\u0013" },
# move cursor per word
{key = "Right", mods = "Alt", chars = "\u001BF"},
{key = "Left", mods = "Alt", chars = "\u001BB"},
]

10
macos/.config/mutt/paths Normal file
View file

@ -0,0 +1,10 @@
# Where to put the stuff
set header_cache = "$HOME/Library/Caches/mutt/headers"
set message_cachedir = "$HOME/Library/Caches/mutt/bodies"
set certificate_file = "$HOME/Library/Caches/mutt/certificates"
# link to mailcap file
set mailcap_path = "$HOME/.config/mutt/mailcap"
# save attachments to a folder
macro attach s '<save-entry> <bol>$HOME/Documents/attachments/<eol>' 'save attachment'

10
macos/.zshrc-additional Normal file
View file

@ -0,0 +1,10 @@
## brew
if [[ "$OSTYPE" == "darwin"* ]]; then
alias bu='brew update'
alias bug='brew upgrade'
fi
## python 3.12
#export PATH=/opt/homebrew/opt/python@3.12/libexec/bin:$PATH
## python 3.11
export PATH=/opt/homebrew/opt/python@3.11/libexec/bin:$PATH