diff --git a/dotfiles/config/karabiner/karabiner.json b/dotfiles/config/karabiner/karabiner.json new file mode 100644 index 00000000..81286be4 --- /dev/null +++ b/dotfiles/config/karabiner/karabiner.json @@ -0,0 +1,106 @@ +{ + "global": { + "check_for_updates_on_startup": true, + "show_in_menu_bar": true, + "show_profile_name_in_menu_bar": false + }, + "profiles": [ + { + "complex_modifications": { + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 1000 + }, + "rules": [ + { + "manipulators": [ + { + "description": "Change right command to command+control+option+shift.", + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "left_shift", + "modifiers": [ + "left_command", + "left_control", + "left_option" + ] + } + ], + "to_if_alone": [ + { + "key_code": "escape", + "modifiers": { + "optional": [ + "any" + ] + } + } + ], + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": {}, + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 610, + "vendor_id": 1452 + }, + "ignore": false, + "simple_modifications": {} + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": {}, + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 597, + "vendor_id": 1452 + }, + "ignore": false, + "simple_modifications": {} + } + ], + "fn_function_keys": { + "f1": "vk_consumer_brightness_down", + "f10": "mute", + "f11": "volume_down", + "f12": "volume_up", + "f2": "vk_consumer_brightness_up", + "f3": "vk_mission_control", + "f4": "vk_launchpad", + "f5": "vk_consumer_illumination_down", + "f6": "vk_consumer_illumination_up", + "f7": "vk_consumer_previous", + "f8": "vk_consumer_play", + "f9": "vk_consumer_next" + }, + "name": "Default profile", + "one_to_many_mappings": {}, + "selected": true, + "simple_modifications": { + "caps_lock": "left_control" + }, + "standalone_keys": {}, + "virtual_hid_keyboard": { + "caps_lock_delay_milliseconds": 0, + "keyboard_type": "ansi", + "standalone_keys_delay_milliseconds": 200 + } + } + ] +} diff --git a/dotfiles/emacs.d/.gitignore b/dotfiles/emacs.d/.gitignore index 2a148406..319cc27a 100644 --- a/dotfiles/emacs.d/.gitignore +++ b/dotfiles/emacs.d/.gitignore @@ -12,6 +12,7 @@ README.html ac-comphist.dat auto-save-list backups +benchmark.el bookmarks custom-after.el custom-before.el @@ -37,6 +38,7 @@ session.* skewer-cache smex-items speed-type/ +straight/ this-machine.el tramp tutorial diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index e3019590..da6f1aa8 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2839,6 +2839,7 @@ Intero seems to be causing hangs, so it has been disabled *** org **** config #+BEGIN_SRC emacs-lisp :tangle org-config.el +(defvar imalison:org-dir "~/org") (use-package org :bind (:map org-mode-map (("C-e" . end-of-visual-line))) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 3484bda0..a61290a2 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -16,7 +16,7 @@ (setq use-package-enable-imenu-support t use-package-always-ensure t) -(defvar imalison:do-benchmark) +(defvar imalison:do-benchmark nil) (let ((bench-file (concat (file-name-directory user-init-file) "benchmark.el"))) (when (file-exists-p bench-file) (load bench-file))) diff --git a/tasks/brewfiles/essential b/tasks/brewfiles/essential index 7bb8415c..8035a56e 100644 --- a/tasks/brewfiles/essential +++ b/tasks/brewfiles/essential @@ -1,4 +1,5 @@ tap 'thoughtbot/formulae' +tap 'caskroom/fonts' brew 'cask' brew 'coreutils' @@ -21,6 +22,7 @@ brew 'tmux' brew 'wget' brew 'zsh' +cask 'font-source-code-pro' cask 'alfred' cask 'flash' cask 'flycut' @@ -29,8 +31,7 @@ cask 'google-hangouts' cask 'gpgtools' cask 'iterm2' cask 'java' -cask 'karabiner' -cask 'macpass' +cask 'karabiner-elements' cask 'slate' cask 'sparkleshare' cask 'spotify'