~idmyn/dotfiles

f7bdd0edaeb8bdbf67425f31624329403ee62555 — David Mynors 29 days ago be4f029
Add some sublime config
M emacs/.doom.d/config.org => emacs/.doom.d/config.org +12 -6
@@ 201,12 201,10 @@ same thing for comint mode
#+END_SRC
easier motion around lines and paragraphs
#+BEGIN_SRC emacs-lisp
;; (map!
;;  :after evil
;;  :nvm "J" 'evil-first-non-blank
;;  :nvm "K" 'forward-paragraph
;;  :nvm "L" 'backward-paragraph
;;  :nvm ";" 'evil-last-non-blank)
(map!
 :after evil
 :nvm "H" 'evil-first-non-blank
 :nvm "L" 'evil-last-non-blank)
#+END_SRC
easier movement between windows and frames (taken from [[https://github.com/Brettm12345/doom-emacs-literate-config/blob/master/config.org#easy-window-navigation][here]])
#+BEGIN_SRC emacs-lisp


@@ 318,6 316,13 @@ evil-multiedit bindings
 :n "C-j" 'evil-multiedit-match-symbol-and-next
 :n "C-k" 'evil-multiedit-match-symbol-and-prev)
#+END_SRC
unbind evil-surround from S
#+BEGIN_SRC emacs-lisp
(map!
 :after evil
 :map evil-surround-mode-map
 :v "S" 'evil-snipe-S)
#+END_SRC
** Search
*** Ivy
instruct ivy-posframe to appear right under cursor with no border


@@ 539,5 544,6 @@ use proportional (not monospaced) font in markdown mode
#+END_SRC
** Rust
#+BEGIN_SRC emacs-lisp
(add-to-list 'eglot-server-programs '(rust-mode . (eglot-rls "rls")))
;(setq rustic-lsp-server 'rust-analyzer)
#+END_SRC

M emacs/.doom.d/init.el => emacs/.doom.d/init.el +1 -1
@@ 153,7 153,7 @@
       rest              ; Emacs as a REST client
       ;;rst               ; ReST in peace
       ;ruby              ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
       (rust +lsp)              ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
       (rust)              ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
       ;;scala             ; java, but good
       ;;scheme            ; a fully conniving family of lisps
       sh                ; she sells {ba,z,fi}sh shells on the C xor

M macOS/karabiner/karabiner.edn => macOS/karabiner/karabiner.edn +2 -1
@@ 24,7 24,8 @@
                           "^co\\.zeit\\.hyper$"
                           "^com\\.apple\\.Terminal$"
                           "^net\\.kovidgoyal\\.kitty$"
                           "^com\\.workflowy\\.desktop$"]
                           "^com\\.workflowy\\.desktop$"
                           "^com\\.sublimetext\\.3$"]
                :Terminals ["^com\\.googlecode\\.iterm2$"
                            "^co\\.zeit\\.hyper$"
                            "^com\\.apple\\.Terminal$"

M macOS/phoenix/phoenix.js => macOS/phoenix/phoenix.js +8 -0
@@ 73,6 73,14 @@ const showOrOpenVSCodium = new Key('v', ['alt', 'ctrl'], () => {
  }
})

const showOrOpenSublime = new Key('t', ['alt', 'ctrl'], () => {
  if (App.get('Sublime Text')) {
    App.get('Sublime Text').focus()
  } else {
    App.launch('Sublime Text')
  }
})

const showOrOpenBrowser = new Key('w', ['alt', 'ctrl'], () => {
  if (App.get('Firefox Developer Edition')) {
    App.get('Firefox Developer Edition').focus()