mirror of
https://github.com/sameer1612/.dotfiles.git
synced 2025-02-19 19:10:07 +02:00
removed karabiner esc f11 mapping
This commit is contained in:
parent
d8e842e531
commit
d857c90560
3
.config/emacs/.gitignore
vendored
3
.config/emacs/.gitignore
vendored
@ -1,2 +1,5 @@
|
||||
elpa
|
||||
eln-cache
|
||||
auto-save-list
|
||||
|
||||
recentf
|
@ -1,13 +0,0 @@
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(custom-safe-themes
|
||||
'("48042425e84cd92184837e01d0b4fe9f912d875c43021c3bcb7eeb51f1be5710" default))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
@ -7,6 +7,8 @@
|
||||
(setq ring-bell-function 'ignore)
|
||||
(setq visible-bell nil)
|
||||
(setq inhibit-startup-message t)
|
||||
(setq scroll-preserve-screen-position t)
|
||||
|
||||
(setq-default tab-width 2)
|
||||
(setq-default indent-tabs-mode nil)
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
(defun reverse-join-line ()
|
||||
"Join the next line to the current line."
|
||||
(interactive)
|
||||
(next-line) ;; Move to the next line
|
||||
(join-line)) ;; Then join the line
|
||||
|
||||
(use-package general
|
||||
:config
|
||||
(general-create-definer rune/leader-keys
|
||||
@ -6,7 +12,8 @@
|
||||
:global-prefix "C-SPC")
|
||||
|
||||
(rune/leader-keys
|
||||
"j" '(join-line :which-key "join line")
|
||||
"fc" '(lambda () (interactive) (find-file "~/.config/emacs/"))
|
||||
"j" '(reverse-join-line :which-key "reverse join line")
|
||||
"w" '(save-buffer :which-key "save buffer")
|
||||
"fc" '(lambda () (interactive) (counsel-find-file "~/.config/emacs/"))
|
||||
"ff" '(counsel-find-file :which-key "join line")
|
||||
"fb" '(counsel-ibuffer :which-key "counsel buffer list")))
|
||||
|
144
.config/karabiner/automatic_backups/karabiner_20241009.json
Normal file
144
.config/karabiner/automatic_backups/karabiner_20241009.json
Normal file
@ -0,0 +1,144 @@
|
||||
{
|
||||
"global": { "show_in_menu_bar": false },
|
||||
"profiles": [
|
||||
{
|
||||
"complex_modifications": {
|
||||
"rules": [
|
||||
{
|
||||
"description": "Caps Lock -> Escape/Control",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": { "key_code": "caps_lock" },
|
||||
"to": [
|
||||
{
|
||||
"key_code": "left_control",
|
||||
"modifiers": ["left_control"],
|
||||
"repeat": false
|
||||
}
|
||||
],
|
||||
"to_if_alone": [
|
||||
{
|
||||
"key_code": "escape",
|
||||
"repeat": false
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Map Left Option plus h/j/k/l to Arrows",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "h",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_option"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "left_arrow" }],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "j",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_option"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "down_arrow" }],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "k",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_option"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "up_arrow" }],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "l",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_option"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "right_arrow" }],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Right Command -> Enter",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "right_command",
|
||||
"modifiers": { "optional": ["any"] }
|
||||
},
|
||||
"parameters": {
|
||||
"basic.to_if_alone_timeout_milliseconds": 300,
|
||||
"basic.to_if_held_down_threshold_milliseconds": 0
|
||||
},
|
||||
"to_if_alone": [{ "key_code": "return_or_enter" }],
|
||||
"to_if_held_down": [{ "key_code": "right_command" }],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"devices": [
|
||||
{
|
||||
"identifiers": {
|
||||
"is_keyboard": true,
|
||||
"product_id": 172,
|
||||
"vendor_id": 1226
|
||||
},
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": { "key_code": "escape" },
|
||||
"to": [{ "key_code": "f11" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "left_command" },
|
||||
"to": [{ "key_code": "left_option" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "left_option" },
|
||||
"to": [{ "key_code": "left_command" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "right_option" },
|
||||
"to": [{ "key_code": "right_command" }]
|
||||
}
|
||||
],
|
||||
"treat_as_built_in_keyboard": true
|
||||
},
|
||||
{
|
||||
"identifiers": {
|
||||
"is_keyboard": true,
|
||||
"product_id": 835,
|
||||
"vendor_id": 1452
|
||||
},
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": { "key_code": "escape" },
|
||||
"to": [{ "key_code": "f11" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"name": "Default profile",
|
||||
"selected": true,
|
||||
"virtual_hid_keyboard": { "keyboard_type_v2": "ansi" }
|
||||
}
|
||||
]
|
||||
}
|
@ -121,19 +121,6 @@
|
||||
}
|
||||
],
|
||||
"treat_as_built_in_keyboard": true
|
||||
},
|
||||
{
|
||||
"identifiers": {
|
||||
"is_keyboard": true,
|
||||
"product_id": 835,
|
||||
"vendor_id": 1452
|
||||
},
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": { "key_code": "escape" },
|
||||
"to": [{ "key_code": "f11" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"name": "Default profile",
|
||||
|
Loading…
x
Reference in New Issue
Block a user