minor fix

* Disable option+ key in mac
* Add highlight yank in valinna emacs
This commit is contained in:
js0ny 2025-02-02 20:41:39 +00:00
parent 87c237684b
commit 0b4ef3ad61
3 changed files with 39 additions and 22 deletions

View file

@ -1,14 +1 @@
# $DOTFILES/common/npmrc strict-ssl=false
# Date: 2024-12-22
# Author: js0ny
# Location:
# $NPM_CONFIG_USERCONFIG
# ~/.npmrc (Default location)
# Linking:
# export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
# ln -s $DOTFILES/.config/npm/npmrc $NPM_CONFIG_USERCONFIG
# New-Item -ItemType SymbolicLink -Path $env:NPM_CONFIG_USERCONFIG -Value $env:DOTFILES/.config/npm/npmrc
# registry=https://registry.npmmirror.com

View file

@ -1,11 +1,29 @@
// ~/Library/Keybindings/DefaultKeyBinding.dict // ~/Library/Keybindings/DefaultKeyBinding.dict
{ {
// Colemak Vim Style Arrows "~a" = ();
"^h" = "moveBackward:"; "~b" = ();
"^n" = "moveDown:"; "~c" = ();
"^e" = "moveUp:"; "~d" = ();
"^i" = "moveForward:"; "~e" = ();
// Colemak Vim Style Home/End, Insert & Append "~f" = ();
"^l" = "moveToBeginningOfLine:"; "~g" = ();
"^a" = "moveToEndOfLine:"; "~h" = ();
"~i" = ();
"~j" = ();
"~k" = ();
"~l" = ();
"~m" = ();
"~n" = ();
"~o" = ();
"~p" = ();
"~q" = ();
"~r" = ();
"~s" = ();
"~t" = ();
"~u" = ();
"~v" = ();
"~w" = ();
"~x" = ();
"~y" = ();
"~z" = ();
} }

View file

@ -53,4 +53,16 @@
(global-evil-surround-mode 1)) (global-evil-surround-mode 1))
;; Evil-goggles: Highlight-yank (and more)
(use-package evil-goggles
:ensure t
:config
(evil-goggles-mode)
;; optionally use diff-mode's faces; as a result, deleted text
;; will be highlighed with `diff-removed` face which is typically
;; some red color (as defined by the color theme)
;; other faces such as `diff-added` will be used for other actions
(evil-goggles-use-diff-faces))
(provide 'init-evil) (provide 'init-evil)