mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
Compare commits
No commits in common. "8262ba87242851bec9020211659121712c95533b" and "230baa9819edb87dfec70764615732e27bab90bf" have entirely different histories.
8262ba8724
...
230baa9819
@ -14,5 +14,3 @@ alias v="vimr -s"
|
||||
alias be="bundle exec"
|
||||
|
||||
alias fuckit="git reset HEAD --hard"
|
||||
|
||||
alias httpserver="ruby -run -e httpd"
|
||||
|
||||
138
chunkwmrc
138
chunkwmrc
@ -1,138 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# NOTE: any 'chunkc' command that is run from this config file
|
||||
# that is NOT 'chunkc core::<..>' or 'chunkc set ..'
|
||||
# MUST be put in the background using &
|
||||
#
|
||||
# e.g:
|
||||
# chunkc tiling::rule --owner Finder --name Copy --state float &
|
||||
#
|
||||
|
||||
#
|
||||
# NOTE: specify the absolutepath of the file to use for logging.
|
||||
# 'stdout' or 'stderr' can be used instead of an actual filepath.
|
||||
#
|
||||
|
||||
chunkc core::log_file ~/chunk.log
|
||||
|
||||
#
|
||||
# NOTE: specify the desired level of logging.
|
||||
#
|
||||
# - none, debug, profile, warn, error
|
||||
#
|
||||
|
||||
chunkc core::log_level debug
|
||||
|
||||
#
|
||||
# NOTE: specify the absolutepath to the directory to use when loading a plugin.
|
||||
#
|
||||
|
||||
chunkc core::plugin_dir /usr/local/share/chunkwm/plugins/
|
||||
|
||||
|
||||
#
|
||||
# NOTE: if enabled, chunkwm will monitor the specified plugin_dir
|
||||
# and automatically reload any '.so' file that is changed.
|
||||
#
|
||||
|
||||
chunkc core::hotload 0
|
||||
|
||||
#
|
||||
# NOTE: the following are config variables for the chunkwm-tiling plugin.
|
||||
#
|
||||
|
||||
chunkc set custom_bar_enabled 0
|
||||
chunkc set custom_bar_all_monitors 0
|
||||
chunkc set custom_bar_offset_top 22
|
||||
chunkc set custom_bar_offset_bottom 0
|
||||
chunkc set custom_bar_offset_left 0
|
||||
chunkc set custom_bar_offset_right 0
|
||||
|
||||
chunkc set global_desktop_mode bsp
|
||||
chunkc set global_desktop_offset_top 12
|
||||
chunkc set global_desktop_offset_bottom 12
|
||||
chunkc set global_desktop_offset_left 12
|
||||
chunkc set global_desktop_offset_right 12
|
||||
chunkc set global_desktop_offset_gap 8
|
||||
|
||||
#
|
||||
# NOTE: syntax for desktop-specific settings
|
||||
#
|
||||
# chunkc set 2_desktop_mode monocle
|
||||
# chunkc set 5_desktop_mode float
|
||||
# chunkc set 3_desktop_offset_top 190
|
||||
# chunkc set 3_desktop_offset_bottom 190
|
||||
# chunkc set 3_desktop_offset_left 190
|
||||
# chunkc set 3_desktop_offset_right 190
|
||||
# chunkc set 3_desktop_offset_gap 30
|
||||
#
|
||||
|
||||
chunkc set desktop_padding_step_size 8.0
|
||||
chunkc set desktop_gap_step_size 2.0
|
||||
|
||||
chunkc set bsp_spawn_left 1
|
||||
chunkc set bsp_optimal_ratio 1.618
|
||||
chunkc set bsp_split_mode optimal
|
||||
chunkc set bsp_split_ratio 0.5
|
||||
|
||||
chunkc set monitor_focus_cycle 1
|
||||
chunkc set window_focus_cycle monitor
|
||||
|
||||
chunkc set mouse_follows_focus intrinsic
|
||||
chunkc set window_float_next 0
|
||||
chunkc set window_region_locked 1
|
||||
|
||||
chunkc set mouse_move_window \"fn 1\"
|
||||
chunkc set mouse_resize_window \"fn 2\"
|
||||
chunkc set mouse_motion_interval 35
|
||||
|
||||
chunkc set preselect_border_color 0xffd75f5f
|
||||
chunkc set preselect_border_width 5
|
||||
|
||||
#
|
||||
# NOTE: these settings require chwm-sa.
|
||||
# (https://github.com/koekeishiya/chwm-sa)
|
||||
#
|
||||
|
||||
chunkc set window_float_topmost 0
|
||||
chunkc set window_fade_inactive 0
|
||||
chunkc set window_fade_alpha 0.85
|
||||
chunkc set window_fade_duration 0.25
|
||||
chunkc set window_use_cgs_move 0
|
||||
|
||||
#
|
||||
# NOTE: the following are config variables for the chunkwm-border plugin.
|
||||
#
|
||||
|
||||
chunkc set focused_border_color 0xff0f6288
|
||||
chunkc set focused_border_width 5
|
||||
chunkc set focused_border_radius 4
|
||||
chunkc set focused_border_skip_floating 1
|
||||
chunkc set focused_border_skip_monocle 1
|
||||
|
||||
#
|
||||
# NOTE: the following are config variables for the chunkwm-ffm plugin.
|
||||
#
|
||||
|
||||
chunkc set ffm_bypass_modifier fn
|
||||
chunkc set ffm_standby_on_float 1
|
||||
|
||||
#
|
||||
# NOTE: specify plugins to load when chunkwm starts.
|
||||
#
|
||||
|
||||
chunkc core::load border.so
|
||||
chunkc core::load tiling.so
|
||||
# chunkc core::load ffm.so
|
||||
|
||||
#
|
||||
# NOTE: sample rules for the tiling plugin
|
||||
#
|
||||
|
||||
chunkc tiling::rule --owner Finder --name Copy --state float &
|
||||
chunkc tiling::rule --owner \"App Store\" --state float &
|
||||
chunkc tiling::rule --owner \"Acorn\" --state float &
|
||||
chunkc tiling::rule --owner \"DaisyDisk\" --state float &
|
||||
chunkc tiling::rule --owner \"ImageOptim\" --state float &
|
||||
chunkc tiling::rule --owner Emacs --except "^$" --state tile &
|
||||
@ -1,507 +0,0 @@
|
||||
{
|
||||
"title": "Map fn + number keys to function keys (rev 2)",
|
||||
"rules": [
|
||||
{
|
||||
"description": "Map fn + number keys to their corresponding function keys (rev 1)",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "1",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f1",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "2",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f2",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "3",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f3",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "4",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f4",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "5",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f5",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "6",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f6",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "7",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f7",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "8",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f8",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "9",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f9",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "0",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f10",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "hyphen",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f11",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "equal_sign",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f12",
|
||||
"modifiers": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Map fn + number keys to their corresponding media control keys (rev 2)",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "1",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "2",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "3",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f3"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "4",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f4"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "5",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "6",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "7",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f7"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "8",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f8"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "9",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f9"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "0",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f10"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "hyphen",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f11"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "equal_sign",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
],
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f12"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -1,191 +0,0 @@
|
||||
{
|
||||
"title": "Prevent unintended command-q (rev 2)",
|
||||
"rules": [
|
||||
{
|
||||
"description": "Quit application by pressing command-q twice",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "variable_if",
|
||||
"name": "command-q",
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"from": {
|
||||
"key_code": "q",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"command"
|
||||
],
|
||||
"optional": [
|
||||
"caps_lock"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "q",
|
||||
"modifiers": "left_command"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "q",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"command"
|
||||
],
|
||||
"optional": [
|
||||
"caps_lock"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "command-q",
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"to_delayed_action": {
|
||||
"to_if_invoked": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "command-q",
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"to_if_canceled": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "command-q",
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Quit application by holding command-q",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "q",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"command"
|
||||
],
|
||||
"optional": [
|
||||
"caps_lock"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to_if_held_down": [
|
||||
{
|
||||
"key_code": "q",
|
||||
"modifiers": [
|
||||
"left_command"
|
||||
],
|
||||
"repeat": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Quit Safari by pressing command-q twice",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "variable_if",
|
||||
"name": "command-q",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"type": "frontmost_application_if",
|
||||
"bundle_identifiers": [
|
||||
"^com\\.apple\\.Safari$"
|
||||
]
|
||||
}
|
||||
],
|
||||
"from": {
|
||||
"key_code": "q",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"command"
|
||||
],
|
||||
"optional": [
|
||||
"caps_lock"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "q",
|
||||
"modifiers": "left_command"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "frontmost_application_if",
|
||||
"bundle_identifiers": [
|
||||
"^com\\.apple\\.Safari$"
|
||||
]
|
||||
}
|
||||
],
|
||||
"from": {
|
||||
"key_code": "q",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"command"
|
||||
],
|
||||
"optional": [
|
||||
"caps_lock"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "command-q",
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"to_delayed_action": {
|
||||
"to_if_invoked": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "command-q",
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"to_if_canceled": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "command-q",
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -1,68 +0,0 @@
|
||||
{
|
||||
"title": "device_if,device_unless example",
|
||||
"rules": [
|
||||
{
|
||||
"description": "Open Karabiner-Elements by f5 in non-Apple keyboards",
|
||||
"manipulators": [
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"type": "device_unless",
|
||||
"identifiers": [
|
||||
{
|
||||
"vendor_id": 1452
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "f5",
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"shell_command": "open -a 'Karabiner-Elements.app'"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Open Karabiner-EventViewer by f6 in HHKB BT JP keyboards",
|
||||
"manipulators": [
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"type": "device_if",
|
||||
"identifiers": [
|
||||
{
|
||||
"vendor_id": 1278,
|
||||
"product_id": 515
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "f6",
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"shell_command": "open -a 'Karabiner-EventViewer.app'"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -676,85 +676,6 @@
|
||||
"ignore": true,
|
||||
"manipulate_caps_lock_led": false,
|
||||
"simple_modifications": []
|
||||
},
|
||||
{
|
||||
"disable_built_in_keyboard_if_exists": false,
|
||||
"fn_function_keys": [],
|
||||
"identifiers": {
|
||||
"is_keyboard": true,
|
||||
"is_pointing_device": false,
|
||||
"product_id": 591,
|
||||
"vendor_id": 1452
|
||||
},
|
||||
"ignore": false,
|
||||
"manipulate_caps_lock_led": true,
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "caps_lock"
|
||||
},
|
||||
"to": {
|
||||
"key_code": "left_control"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"disable_built_in_keyboard_if_exists": false,
|
||||
"fn_function_keys": [],
|
||||
"identifiers": {
|
||||
"is_keyboard": true,
|
||||
"is_pointing_device": false,
|
||||
"product_id": 598,
|
||||
"vendor_id": 1452
|
||||
},
|
||||
"ignore": false,
|
||||
"manipulate_caps_lock_led": true,
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "caps_lock"
|
||||
},
|
||||
"to": {
|
||||
"key_code": "left_control"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"disable_built_in_keyboard_if_exists": false,
|
||||
"fn_function_keys": [],
|
||||
"identifiers": {
|
||||
"is_keyboard": true,
|
||||
"is_pointing_device": false,
|
||||
"product_id": 615,
|
||||
"vendor_id": 76
|
||||
},
|
||||
"ignore": false,
|
||||
"manipulate_caps_lock_led": true,
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "caps_lock"
|
||||
},
|
||||
"to": {
|
||||
"key_code": "left_control"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"disable_built_in_keyboard_if_exists": false,
|
||||
"fn_function_keys": [],
|
||||
"identifiers": {
|
||||
"is_keyboard": true,
|
||||
"is_pointing_device": true,
|
||||
"product_id": 45081,
|
||||
"vendor_id": 1133
|
||||
},
|
||||
"ignore": true,
|
||||
"manipulate_caps_lock_led": false,
|
||||
"simple_modifications": []
|
||||
}
|
||||
],
|
||||
"fn_function_keys": [
|
||||
@ -865,4 +786,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
[diceware]
|
||||
num = 5
|
||||
caps = off
|
||||
delimiter = "-"
|
||||
wordlist = en_eff
|
||||
44
skhdrc
44
skhdrc
@ -1,44 +0,0 @@
|
||||
# enter fullscreen mode for the focused container
|
||||
alt - f : chunkc tiling::window --toggle fullscreen
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
shift + alt - space : chunkc tiling::window --toggle float
|
||||
|
||||
# change layout of desktop
|
||||
alt - e : chunkc tiling::desktop --layout bsp
|
||||
alt - s : chunkc tiling::desktop --layout monocle
|
||||
|
||||
# kill focused window
|
||||
shift + alt - q : chunkc tiling::window --close
|
||||
|
||||
# change focus
|
||||
alt - h : chunkc tiling::window --focus west
|
||||
alt - j : chunkc tiling::window --focus south
|
||||
alt - k : chunkc tiling::window --focus north
|
||||
alt - l : chunkc tiling::window --focus east
|
||||
|
||||
alt - p : chunkc tiling::window --focus prev
|
||||
alt - n : chunkc tiling::window --focus next
|
||||
|
||||
# move focused window
|
||||
shift + alt - h : chunkc tiling::window --warp west
|
||||
shift + alt - j : chunkc tiling::window --warp south
|
||||
shift + alt - k : chunkc tiling::window --warp north
|
||||
shift + alt - l : chunkc tiling::window --warp east
|
||||
|
||||
alt - r : chunkc tiling::desktop --rotate 90
|
||||
|
||||
# move focused container to workspace
|
||||
shift + alt - m : chunkc tiling::window --send-to-desktop $(chunkc get _last_active_desktop)
|
||||
shift + alt - p : chunkc tiling::window --send-to-desktop prev
|
||||
shift + alt - n : chunkc tiling::window --send-to-desktop next
|
||||
shift + alt - 1 : chunkc tiling::window --send-to-desktop 1
|
||||
shift + alt - 2 : chunkc tiling::window --send-to-desktop 2
|
||||
shift + alt - 3 : chunkc tiling::window --send-to-desktop 3
|
||||
shift + alt - 4 : chunkc tiling::window --send-to-desktop 4
|
||||
shift + alt - 5 : chunkc tiling::window --send-to-desktop 5
|
||||
shift + alt - 6 : chunkc tiling::window --send-to-desktop 6
|
||||
|
||||
# float / unfloat window and center on screen
|
||||
alt - t : chunkc tiling::window --toggle float;\
|
||||
chunkc tiling::window --grid-layout 4:4:1:1:2:2
|
||||
@ -1,5 +0,0 @@
|
||||
ruby 2.6.2
|
||||
nodejs 11.14.0
|
||||
python 3.7.3
|
||||
erlang 21.3.6
|
||||
elixir 1.8.1
|
||||
@ -2,5 +2,5 @@ set background=dark
|
||||
colorscheme Tomorrow-Night
|
||||
|
||||
if has("gui_running") || has("gui_vimr")
|
||||
colorscheme solarized8
|
||||
colorscheme solarized8_high
|
||||
endif
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
augroup pencil
|
||||
autocmd!
|
||||
autocmd FileType markdown,mkd call pencil#init({'wrap': 'hard', 'autoformat': 0})
|
||||
autocmd FileType text call pencil#init({'wrap': 'hard', 'autoformat': 0})
|
||||
autocmd FileType markdown,mkd call pencil#init()
|
||||
autocmd FileType text call pencil#init()
|
||||
augroup END
|
||||
|
||||
@ -3,7 +3,7 @@ Plug 'scrooloose/nerdtree'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
|
||||
Plug 'mileszs/ack.vim', { 'on': 'Ack' }
|
||||
Plug 'mileszs/ack.vim'
|
||||
|
||||
Plug 'ConradIrwin/vim-bracketed-paste'
|
||||
|
||||
@ -12,30 +12,28 @@ Plug 'rizzatti/dash.vim'
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
|
||||
" Language additions
|
||||
Plug 'briancollins/vim-jst', { 'for': ['jst', 'ejs'] }
|
||||
Plug 'elixir-editors/vim-elixir'
|
||||
Plug 'itspriddle/vim-jquery', { 'for': 'javascript' }
|
||||
Plug 'leshill/vim-json', { 'for': 'json' }
|
||||
Plug 'briancollins/vim-jst'
|
||||
Plug 'elixir-lang/vim-elixir'
|
||||
Plug 'itspriddle/vim-jquery'
|
||||
Plug 'leshill/vim-json'
|
||||
Plug 'mattn/emmet-vim'
|
||||
Plug 'mustache/vim-mustache-handlebars'
|
||||
Plug 'mxw/vim-jsx', { 'for': 'javascript.jsx' }
|
||||
Plug 'othree/html5.vim', { 'for': 'html' }
|
||||
Plug 'pangloss/vim-javascript', { 'for': 'javascript' }
|
||||
Plug 'posva/vim-vue', { 'for': ['javascript', 'vue'] }
|
||||
Plug 'rhysd/vim-crystal', { 'for': 'crystal' }
|
||||
Plug 'rust-lang/rust.vim', { 'for': 'rust' }
|
||||
Plug 'mxw/vim-jsx'
|
||||
Plug 'othree/html5.vim'
|
||||
Plug 'pangloss/vim-javascript'
|
||||
Plug 'posva/vim-vue'
|
||||
Plug 'rhysd/vim-crystal'
|
||||
Plug 'rust-lang/rust.vim'
|
||||
Plug 'scrooloose/nerdcommenter'
|
||||
Plug 'tpope/vim-haml', { 'for': ['haml', 'sass', 'scss'] }
|
||||
Plug 'vim-ruby/vim-ruby', { 'for': 'ruby' }
|
||||
Plug 'keith/swift.vim', { 'for': 'swift' }
|
||||
Plug 'tpope/vim-markdown', { 'for': 'markdown' }
|
||||
Plug 'tpope/vim-haml'
|
||||
Plug 'vim-ruby/vim-ruby'
|
||||
Plug 'keith/swift.vim'
|
||||
Plug 'tpope/vim-markdown'
|
||||
Plug 'AndrewRadev/splitjoin.vim'
|
||||
|
||||
Plug 'junegunn/goyo.vim'
|
||||
Plug 'reedes/vim-pencil'
|
||||
|
||||
Plug 'joker1007/vim-ruby-heredoc-syntax', { 'for': 'ruby' }
|
||||
|
||||
" Todo
|
||||
Plug 'tbabej/taskwiki'
|
||||
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
" Color scheme
|
||||
set background=dark
|
||||
colorscheme Tomorrow-Night
|
||||
|
||||
" Display extra whitespace
|
||||
set list listchars=tab:»·,trail:·
|
||||
|
||||
|
||||
@ -48,8 +48,6 @@ fi
|
||||
# Environment config
|
||||
[[ -f ~/.zshrc.env ]] && source ~/.zshrc.env
|
||||
|
||||
if (( $+commands[thefuck] )); then
|
||||
eval "$(thefuck --alias)"
|
||||
fi
|
||||
eval "$(thefuck --alias)"
|
||||
|
||||
export PATH="$HOME/.bin:$PATH"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user