mirror of
https://github.com/mikkelsvartveit/dotfiles.git
synced 2025-12-22 19:22:38 +00:00
Update fish aliases
This commit is contained in:
parent
3e62c22ab9
commit
b1039d6bbe
3 changed files with 584 additions and 287 deletions
|
|
@ -1,8 +1,10 @@
|
||||||
alias fixmouse="killall LogiMgrDaemon"
|
alias fixmouse="killall LogiMgrDaemon"
|
||||||
alias icloud="cd ~/Library/Mobile\ Documents/com~apple~CloudDocs"
|
alias icloud="cd ~/Library/Mobile\ Documents/com~apple~CloudDocs"
|
||||||
alias pi="ssh pi@pi.misva.me -p 1733"
|
alias pi="ssh pi@pi.misva.me -p 1733"
|
||||||
alias ubuntu="ssh mikkelsvartveit@gcp.misva.me"
|
alias gcp="ssh mikkelsvartveit@gcp.misva.me"
|
||||||
alias cloud="ssh ubuntu@cloud.misva.me"
|
alias cloud="ssh ubuntu@cloud.misva.me"
|
||||||
|
alias cloud-status="rsync -auzPn --exclude=.DS_Store '/Volumes/Samsung T7/misvaCloud/' ubuntu@cloud.misva.me:~/misvaCloud/ && rsync -auzPn --exclude=.DS_Store ubuntu@cloud.misva.me:~/misvaCloud/ '/Volumes/Samsung T7/misvaCloud/'"
|
||||||
|
alias cloud-sync="rsync -auzP --exclude=.DS_Store '/Volumes/Samsung T7/misvaCloud/' ubuntu@cloud.misva.me:~/misvaCloud/ && rsync -auzP --exclude=.DS_Store ubuntu@cloud.misva.me:~/misvaCloud/ '/Volumes/Samsung T7/misvaCloud/'"
|
||||||
alias zshrc="nvim ~/.zshrc"
|
alias zshrc="nvim ~/.zshrc"
|
||||||
alias fishconfig="cd ~/.config/fish && nvim config.fish && cd -"
|
alias fishconfig="cd ~/.config/fish && nvim config.fish && cd -"
|
||||||
alias nvimconfig="cd ~/.config/nvim && nvim && cd -"
|
alias nvimconfig="cd ~/.config/nvim && nvim && cd -"
|
||||||
|
|
@ -13,10 +15,14 @@ abbr v "nvim"
|
||||||
abbr s "npm run serve"
|
abbr s "npm run serve"
|
||||||
abbr d "npm run dev"
|
abbr d "npm run dev"
|
||||||
abbr venv "source venv/bin/activate.fish"
|
abbr venv "source venv/bin/activate.fish"
|
||||||
|
abbr nobrew "HOMEBREW_NO_AUTO_UPDATE=1 brew"
|
||||||
abbr gpf "git push --force-with-lease"
|
abbr gpf "git push --force-with-lease"
|
||||||
abbr ghv "gh repo view --web"
|
abbr ghv "gh repo view --web"
|
||||||
abbr pr "gh pr checkout"
|
abbr pr "gh pr checkout"
|
||||||
abbr prc "gh pr create --web"
|
abbr prc "gh pr create --web"
|
||||||
|
abbr cloud-push "rsync -auzP --exclude=.DS_Store '/Volumes/Samsung T7/misvaCloud/' ubuntu@cloud.misva.me:~/misvaCloud/"
|
||||||
|
abbr cloud-pull "rsync -auzP --exclude=.DS_Store ubuntu@cloud.misva.me:~/misvaCloud/ '/Volumes/Samsung T7/misvaCloud/'"
|
||||||
|
abbr cloud-purge "rsync -auzP --exclude=.DS_Store '/Volumes/Samsung T7/misvaCloud/' ubuntu@cloud.misva.me:~/misvaCloud/ --delete --dry-run"
|
||||||
|
|
||||||
function ghid
|
function ghid
|
||||||
gh issue develop $argv[1] --checkout --name $argv[2]
|
gh issue develop $argv[1] --checkout --name $argv[2]
|
||||||
|
|
|
||||||
289
karabiner/automatic_backups/karabiner_20230521.json
Normal file
289
karabiner/automatic_backups/karabiner_20230521.json
Normal file
|
|
@ -0,0 +1,289 @@
|
||||||
|
{
|
||||||
|
"global": {
|
||||||
|
"check_for_updates_on_startup": true,
|
||||||
|
"show_in_menu_bar": true,
|
||||||
|
"show_profile_name_in_menu_bar": false,
|
||||||
|
"unsafe_ui": false
|
||||||
|
},
|
||||||
|
"profiles": [
|
||||||
|
{
|
||||||
|
"complex_modifications": {
|
||||||
|
"parameters": {
|
||||||
|
"basic.simultaneous_threshold_milliseconds": 50,
|
||||||
|
"basic.to_delayed_action_delay_milliseconds": 500,
|
||||||
|
"basic.to_if_alone_timeout_milliseconds": 500,
|
||||||
|
"basic.to_if_held_down_threshold_milliseconds": 500,
|
||||||
|
"mouse_motion_to_scroll.speed": 100
|
||||||
|
},
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"description": "Post Esc if Caps is tapped, Control if held.",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "left_control",
|
||||||
|
"modifiers": {
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "left_control",
|
||||||
|
"lazy": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"to_if_alone": [
|
||||||
|
{
|
||||||
|
"key_code": "escape"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"devices": [
|
||||||
|
{
|
||||||
|
"disable_built_in_keyboard_if_exists": false,
|
||||||
|
"fn_function_keys": [],
|
||||||
|
"identifiers": {
|
||||||
|
"is_keyboard": true,
|
||||||
|
"is_pointing_device": false,
|
||||||
|
"product_id": 641,
|
||||||
|
"vendor_id": 1452
|
||||||
|
},
|
||||||
|
"ignore": false,
|
||||||
|
"manipulate_caps_lock_led": true,
|
||||||
|
"simple_modifications": [],
|
||||||
|
"treat_as_built_in_keyboard": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"disable_built_in_keyboard_if_exists": false,
|
||||||
|
"fn_function_keys": [],
|
||||||
|
"identifiers": {
|
||||||
|
"is_keyboard": false,
|
||||||
|
"is_pointing_device": true,
|
||||||
|
"product_id": 641,
|
||||||
|
"vendor_id": 1452
|
||||||
|
},
|
||||||
|
"ignore": true,
|
||||||
|
"manipulate_caps_lock_led": false,
|
||||||
|
"simple_modifications": [],
|
||||||
|
"treat_as_built_in_keyboard": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"disable_built_in_keyboard_if_exists": false,
|
||||||
|
"fn_function_keys": [],
|
||||||
|
"identifiers": {
|
||||||
|
"is_keyboard": true,
|
||||||
|
"is_pointing_device": false,
|
||||||
|
"product_id": 666,
|
||||||
|
"vendor_id": 76
|
||||||
|
},
|
||||||
|
"ignore": false,
|
||||||
|
"manipulate_caps_lock_led": true,
|
||||||
|
"simple_modifications": [],
|
||||||
|
"treat_as_built_in_keyboard": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"disable_built_in_keyboard_if_exists": false,
|
||||||
|
"fn_function_keys": [],
|
||||||
|
"identifiers": {
|
||||||
|
"is_keyboard": false,
|
||||||
|
"is_pointing_device": true,
|
||||||
|
"product_id": 613,
|
||||||
|
"vendor_id": 1452
|
||||||
|
},
|
||||||
|
"ignore": true,
|
||||||
|
"manipulate_caps_lock_led": false,
|
||||||
|
"simple_modifications": [],
|
||||||
|
"treat_as_built_in_keyboard": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"disable_built_in_keyboard_if_exists": false,
|
||||||
|
"fn_function_keys": [],
|
||||||
|
"identifiers": {
|
||||||
|
"is_keyboard": true,
|
||||||
|
"is_pointing_device": false,
|
||||||
|
"product_id": 50504,
|
||||||
|
"vendor_id": 1133
|
||||||
|
},
|
||||||
|
"ignore": false,
|
||||||
|
"manipulate_caps_lock_led": true,
|
||||||
|
"simple_modifications": [],
|
||||||
|
"treat_as_built_in_keyboard": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"disable_built_in_keyboard_if_exists": false,
|
||||||
|
"fn_function_keys": [],
|
||||||
|
"identifiers": {
|
||||||
|
"is_keyboard": false,
|
||||||
|
"is_pointing_device": true,
|
||||||
|
"product_id": 50504,
|
||||||
|
"vendor_id": 1133
|
||||||
|
},
|
||||||
|
"ignore": true,
|
||||||
|
"manipulate_caps_lock_led": false,
|
||||||
|
"simple_modifications": [],
|
||||||
|
"treat_as_built_in_keyboard": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fn_function_keys": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f1"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"consumer_key_code": "display_brightness_decrement"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f2"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"consumer_key_code": "display_brightness_increment"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f3"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"apple_vendor_keyboard_key_code": "mission_control"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f4"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"apple_vendor_keyboard_key_code": "spotlight"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f5"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"consumer_key_code": "dictation"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f6"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "f6"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f7"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"consumer_key_code": "rewind"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f8"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"consumer_key_code": "play_or_pause"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f9"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"consumer_key_code": "fast_forward"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f10"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"consumer_key_code": "mute"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f11"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"consumer_key_code": "volume_decrement"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "f12"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"consumer_key_code": "volume_increment"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "Default profile",
|
||||||
|
"parameters": {
|
||||||
|
"delay_milliseconds_before_open_device": 1000
|
||||||
|
},
|
||||||
|
"selected": true,
|
||||||
|
"simple_modifications": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "caps_lock"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "left_control"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "escape"
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "caps_lock"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"virtual_hid_keyboard": {
|
||||||
|
"country_code": 0,
|
||||||
|
"indicate_sticky_modifier_keys_state": true,
|
||||||
|
"mouse_key_xy_scale": 100
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"global": {
|
"global": {
|
||||||
|
"ask_for_confirmation_before_quitting": true,
|
||||||
"check_for_updates_on_startup": true,
|
"check_for_updates_on_startup": true,
|
||||||
"show_in_menu_bar": true,
|
"show_in_menu_bar": true,
|
||||||
"show_profile_name_in_menu_bar": false,
|
"show_profile_name_in_menu_bar": false,
|
||||||
|
|
@ -23,7 +24,9 @@
|
||||||
"from": {
|
"from": {
|
||||||
"key_code": "left_control",
|
"key_code": "left_control",
|
||||||
"modifiers": {
|
"modifiers": {
|
||||||
"optional": ["any"]
|
"optional": [
|
||||||
|
"any"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"to": [
|
"to": [
|
||||||
|
|
@ -286,4 +289,3 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue