Compare commits

..

No commits in common. "b541e076e0564b6da631d68fdbd3df91e259efbc" and "db6848c11cbd61c5a6f228af4a5ee6a8c5797f57" have entirely different histories.

7 changed files with 12 additions and 41 deletions

View File

@ -15,7 +15,6 @@
(add-to-list 'aws-profiles "personal")
(add-to-list 'aws-profiles "lola-cde")
(add-to-list 'aws-profiles "lola-gbt")
(defun aws-switch-profile (profile)
(interactive (list (completing-read "Profile: " aws-profiles)))

View File

@ -117,24 +117,21 @@
;; org-roam provides backlinks between org documents
(use-package org-roam
:hook ((org-mode . org-roam-db-autosync-mode))
:hook (org-mode . org-roam-mode)
:custom
(org-roam-directory "~/org")
(org-roam-list-files-commands '(rg find fd fdfind))
:init
(setq org-roam-v2-ack t)
(defvar org-roam-commands-map (make-sparse-keymap))
(general-def org-roam-commands-map
"l" #'org-roam-buffer-toggle
"f" #'org-roam-node-find
"i" #'org-roam-node-insert
"I" #'org-roam-node-insert-immediate)
(with-eval-after-load 'org
(general-def org-mode-map "C-c n" org-roam-commands-map)
(which-key-declare-prefixes-for-mode 'org-mode "C-c n" "org-roam"))
:bind (:map org-roam-mode-map
(("C-c n l" . org-roam)
("C-c n f" . org-roam-find-file)
("C-c n g" . org-roam-graph))
:map org-mode-map
(("C-c n i" . org-roam-insert))
(("C-c n I" . org-roam-insert-immediate)))
:general
(leader-map "of" #'org-roam-node-find)
(leader-map "of" #'org-roam-find-file)
:config
(general-def org-roam-mode-map "C-c n" '(nil :which-key "org-roam"))
(general-def org-mode-map "C-c n" '(nil :which-key "org-roam"))
(general-def 'normal org-roam-backlinks-mode-map
"RET" #'org-open-at-point
"q" #'bury-buffer))

View File

@ -32,17 +32,6 @@
default-directory)))
(add-to-list 'flycheck-disabled-checkers 'python-flake8))
;; Run a python repl at the project root
(defun projectile-run-python ()
(interactive)
(let ((default-directory (projectile-project-root)))
(call-interactively #'run-python)))
(with-eval-after-load 'projectile
(general-def projectile-command-map
"s p" #'projectile-run-python
"x p" #'projectile-run-python))
;; pyvenv to track virtual environments
(use-package pyvenv
:defer 3

View File

@ -1,11 +0,0 @@
;; -*- lexical-binding: t; -*-
(use-package lsp-metals
:hook (scala-mode . lsp)
:custom
;; Metals claims to support range formatting by default but it supports range
;; formatting of multiline strings only. You might want to disable it so that
;; emacs can use indentation provided by scala-mode.
(lsp-metals-server-args '("-J-Dmetals.allow-multiline-string-formatting=off")))
(provide 'init-scala)

View File

@ -90,7 +90,6 @@
(require 'init-python)
(require 'init-clojure)
(require 'init-lisp)
(require 'init-scala)
(require 'init-js)
(require 'init-web)
(require 'init-xml)

View File

@ -1,4 +1,2 @@
ulimit -n 10240
export PATH="$PATH:/Users/jdormit/.local/bin"
eval "$(pyenv init --path)"
export SYSTEM_VERSION_COMPAT=1

View File

@ -1,5 +1,5 @@
typeset -U path
path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/local/bin ~/.cargo/bin /usr/local/opt/make/libexec/gnubin $path)
path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/local/bin ~/.cargo/bin $path)
export LEDGER_FILE="$HOME/journal.ledger"