~idmyn/dotfiles

be4f029dfc3d3fe045b2dee7680e4ac3eb33c96d — David Mynors a month ago b7a0e9a
Update karabiner config to match trad vimkeys
M emacs/.doom.d/config.org => emacs/.doom.d/config.org +0 -9
@@ 513,15 513,6 @@ some web-mode config
   :map web-mode-map
   :i "M-/" 'dabbrev-expand)
#+END_SRC
browser-refresh
#+BEGIN_SRC emacs-lisp
(use-package! browser-refresh
  :bind ("s-r" . browser-refresh)
  :custom
  (browser-refresh-default-browser 'brave)
  (browser-refresh-save-buffer nil)
  (browser-refresh-activate nil))
#+END_SRC

** Markdown & Org
set the =grip-binary-path= for [[https://github.com/seagle0128/grip-mode][grip-mode]], fix some keybinds

M emacs/.doom.d/packages.el => emacs/.doom.d/packages.el +1 -5
@@ 23,10 23,6 @@
(package! ebuku
  :recipe (:host github :repo "flexibeast/ebuku"))

(package! browser-refresh
  :recipe (:host github :repo "syohex/emacs-browser-refresh"
                        :fork "idmyn/emacs-browser-refresh"))

(package! framemove
  :recipe (:host github :repo "emacsmirror/framemove"))



@@ 43,7 39,7 @@
  :recipe (:host github :repo "mooz/js-doc"))


(package! evil-snipe :disable t)
;(package! evil-snipe :disable t)
(package! ivy-rich :disable t)

;; This is where you install packages, by declaring them with the `package!'

M macOS/karabiner/karabiner.edn => macOS/karabiner/karabiner.edn +4 -4
@@ 50,11 50,11 @@
        {:des   "outside vim (and emulators, and WorkFlowy): caps_lock to f13 when pressed alone, to ctrl as modifier"
         :rules [[:condi :!Vim] [:##caps_lock :left_control nil {:alone :f13}]]}

        {:des   "in Brave, C-k and C-l are bound to down and up"
         :rules [[:condi :Browsers] [:!Tk :down_arrow] [:!Tl :up_arrow] [:!Tg :escape]]}
        {:des   "in Browsers, C-j and C-k are bound to down and up"
         :rules [[:condi :Browsers] [:!Tj :down_arrow] [:!Tk :up_arrow] [:!Tg :escape]]}

        {:des   "in Terminals, C-k and C-l are bound to down and up, Cmd-l is bound to C-l"
         :rules [[:condi :Terminals] [:!Tk :down_arrow] [:!Tl :up_arrow] [:!Cl :!Tl]]}
        {:des   "in Terminals, C-j and C-k are bound to down and up, Cmd-l is bound to C-l"
         :rules [[:condi :Terminals] [:!Tj :down_arrow] [:!Tk :up_arrow] [:!Cl :!Tl]]}

        {:des "workman dead state"
         :rules [[:comma ["dead-state" 1] :!dead-state]

M shell/elvish/rc.elv => shell/elvish/rc.elv +1 -1
@@ 37,7 37,7 @@ edit:insert:binding[Alt+Backspace]=$edit:kill-small-word-left~
# aliases

fn e [@a]{
  if (pgrep -f emacs) {
  if (> (ps -ax | rg -c emacs) 1) {
    if (> (emacsclient -e '(length (frame-list))') 1) {
      osascript -e 'tell application "emacs" to activate first window'
      emacsclient -n $@a