~idmyn/dotfiles

7cd5de94742e1cb19e79ad65de566d138d510d6a — David Mynors a month ago 6c4f2c1
Small fixes
4 files changed, 9 insertions(+), 14 deletions(-)

M emacs/.doom.d/config.org
M emacs/.doom.d/init.el
M macOS/phoenix/phoenix.js
M shell/elvish/lib/k8s.elv
M emacs/.doom.d/config.org => emacs/.doom.d/config.org +4 -9
@@ 31,8 31,8 @@ any others) and then I add those details as below.
(use-package! eink-theme
  :custom
  (doom-theme 'eink)
  (doom-font (font-spec :family "Input Mono Narrow" :size 15))
  (doom-variable-pitch-font (font-spec :family "Input Sans Narrow"))
  (doom-font (font-spec :family "Iosevka SS09" :size 15))
  (doom-variable-pitch-font (font-spec :family "Iosevka Aile"))
  :config
  (hl-line-mode)
  (column-number-mode)


@@ 249,8 249,8 @@ bind jump-backward and jump-forward to more intuitive keys
#+BEGIN_SRC emacs-lisp
(map!
 (:after evil
   :n "C-h" 'better-jumper-jump-backward
   :n "C-l" 'better-jumper-jump-forward))
   :n "C-i" 'better-jumper-jump-backward
   :n "C-o" 'better-jumper-jump-forward))
#+END_SRC
handy to have an insert-mode binding to jump to a new line above
#+BEGIN_SRC emacs-lisp


@@ 542,8 542,3 @@ use proportional (not monospaced) font in markdown mode
   :i "C-j" 'sly-mrepl-next-input-or-button
   :i "C-k" 'sly-mrepl-previous-input-or-button))
#+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 +3 -3
@@ 73,7 73,7 @@
       eshell            ; a consistent, cross-platform shell (WIP)
       ;;shell             ; a terminal REPL for Emacs
       ;;term              ; terminals in Emacs
       vterm             ; another terminals in Emacs
       ;;vterm             ; another terminals in Emacs

       :checkers
       syntax              ; tasing you for every semicolon you forget


@@ 90,7 90,7 @@
       (eval +overlay)     ; run code, run (also, repls)
       ;;gist              ; interacting with github gists
       lookup
       (lsp +eglot)
       lsp
       ;;macos             ; MacOS-specific commands
       magit             ; a git porcelain for Emacs
       ;;make              ; run make tasks from Emacs


@@ 98,7 98,7 @@
       ;;pdf               ; pdf enhancements
       ;;prodigy           ; FIXME managing external services & code builders
       ;;rgb               ; creating color strings
       ;;terraform         ; infrastructure as code
       terraform         ; infrastructure as code
       ;;tmux              ; an API for interacting with tmux
       ;;upload            ; map local to remote projects via ssh/ftp


M macOS/phoenix/phoenix.js => macOS/phoenix/phoenix.js +1 -1
@@ 146,5 146,5 @@ const showOrOpenInsomnia = new Key('i', ['alt', 'ctrl'], () => {
  }
})

Phoenix.log("hello", App.get('Emacs').windows().length > 0)
Phoenix.log("hello")
/* eslint-enable no-unused-vars */

M shell/elvish/lib/k8s.elv => shell/elvish/lib/k8s.elv +1 -1
@@ 8,7 8,7 @@ fn toggle-prompt {
    SHOW_PROMPT = $true
    HAS_CONTEXT = ?(kubectl config current-context 1>&- 2>&-)
    if $HAS_CONTEXT {
      edit:rprompt = { put (kubectl config current-context):(kubectl config view --minify --output 'jsonpath={..namespace}') }
      edit:rprompt = { put (kubectl config current-context):(kubens --current) }
    } else {
      edit:rprompt = { put "no context" }
    }