A bunch of changes

This commit is contained in:
Jeremy Dormitzer 2019-02-14 09:41:31 -05:00
parent 53bd91ccf5
commit 708f19b228

View File

@ -125,7 +125,7 @@ Interfacing with Pass, the "standard Unix password manager". This should also be
#+BEGIN_SRC emacs-lisp
(defun password-store-synchronize ()
(interactive)
(async-shell-command "pass git pull && pass git push"))
(with-editor-async-shell-command "pass git pull && pass git push"))
(use-package password-store
:if (executable-find "pass")
@ -526,6 +526,8 @@ A package to browse files in a tree view
#+BEGIN_SRC emacs-lisp
(use-package neotree
:commands neotree-project-dir
:init
(leader-def-key "d" #'neotree-toggle)
:config
(defun neotree-project-dir ()
"Open NeoTree using the git root."
@ -539,7 +541,6 @@ A package to browse files in a tree view
(neotree-dir project-dir)
(neotree-find file-name))
(message "Could not find git project root."))))
(leader-def-key "d" #'neotree-toggle)
(setq neo-smart-open t)
:general
(neotree-mode-map "SPC" leader-map))
@ -941,6 +942,16 @@ Some aliases:
:mode (("\\.json\\'" . json-mode)))
#+END_SRC
Use nvm to manage node versions:
#+BEGIN_SRC emacs-lisp
(use-package nvm
:commands (nvm-use nvm-use-for nvm-use-for-buffer))
#+END_SRC
* HTML
#+BEGIN_SRC emacs-lisp
(use-package web-mode)
#+END_SRC
* Java
LSP Java uses the Eclipse JDT Language Server as a backend to enable Java IDE features.
#+BEGIN_SRC emacs-lisp
@ -1240,7 +1251,9 @@ Use ido-mode for completion within Magit:
#+BEGIN_SRC emacs-lisp
(use-package forge :quelpa
:config
(general-def 'normal magit-mode-map "'" #'forge-dispatch))
(general-def 'normal magit-mode-map "'" #'forge-dispatch)
(add-to-list 'forge-alist '("git.jeremydormitzer.com" "git.jeremydormitzer.com/api/v1"
"git.jeremydormitzer.com" forge-gitea-repository)))
#+END_SRC
* Ledger Mode
@ -2405,7 +2418,7 @@ The Emacs Multi-Media System. For libtag to work, libtag must be installed on th
(leader-def-key "aed" 'emms-play-directory-tree)
(when (eq system-type 'darwin)
(define-emms-simple-player afplay '(file)
(regexp-opt '(".mp3" ".m4a" ".aac"))
(regexp-opt '(".mp3" ".m4a" ".aac" ".m4p"))
"afplay")
(setq emms-player-list `(,emms-player-afplay))))
#+END_SRC