Compare commits
No commits in common. "b541e076e0564b6da631d68fdbd3df91e259efbc" and "db6848c11cbd61c5a6f228af4a5ee6a8c5797f57" have entirely different histories.
b541e076e0
...
db6848c11c
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
(add-to-list 'aws-profiles "personal")
|
(add-to-list 'aws-profiles "personal")
|
||||||
(add-to-list 'aws-profiles "lola-cde")
|
(add-to-list 'aws-profiles "lola-cde")
|
||||||
(add-to-list 'aws-profiles "lola-gbt")
|
|
||||||
|
|
||||||
(defun aws-switch-profile (profile)
|
(defun aws-switch-profile (profile)
|
||||||
(interactive (list (completing-read "Profile: " aws-profiles)))
|
(interactive (list (completing-read "Profile: " aws-profiles)))
|
||||||
|
@ -117,24 +117,21 @@
|
|||||||
|
|
||||||
;; org-roam provides backlinks between org documents
|
;; org-roam provides backlinks between org documents
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:hook ((org-mode . org-roam-db-autosync-mode))
|
:hook (org-mode . org-roam-mode)
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "~/org")
|
(org-roam-directory "~/org")
|
||||||
(org-roam-list-files-commands '(rg find fd fdfind))
|
:bind (:map org-roam-mode-map
|
||||||
:init
|
(("C-c n l" . org-roam)
|
||||||
(setq org-roam-v2-ack t)
|
("C-c n f" . org-roam-find-file)
|
||||||
(defvar org-roam-commands-map (make-sparse-keymap))
|
("C-c n g" . org-roam-graph))
|
||||||
(general-def org-roam-commands-map
|
:map org-mode-map
|
||||||
"l" #'org-roam-buffer-toggle
|
(("C-c n i" . org-roam-insert))
|
||||||
"f" #'org-roam-node-find
|
(("C-c n I" . org-roam-insert-immediate)))
|
||||||
"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"))
|
|
||||||
:general
|
:general
|
||||||
(leader-map "of" #'org-roam-node-find)
|
(leader-map "of" #'org-roam-find-file)
|
||||||
:config
|
: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
|
(general-def 'normal org-roam-backlinks-mode-map
|
||||||
"RET" #'org-open-at-point
|
"RET" #'org-open-at-point
|
||||||
"q" #'bury-buffer))
|
"q" #'bury-buffer))
|
||||||
|
@ -32,17 +32,6 @@
|
|||||||
default-directory)))
|
default-directory)))
|
||||||
(add-to-list 'flycheck-disabled-checkers 'python-flake8))
|
(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
|
;; pyvenv to track virtual environments
|
||||||
(use-package pyvenv
|
(use-package pyvenv
|
||||||
:defer 3
|
:defer 3
|
||||||
|
@ -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)
|
|
@ -90,7 +90,6 @@
|
|||||||
(require 'init-python)
|
(require 'init-python)
|
||||||
(require 'init-clojure)
|
(require 'init-clojure)
|
||||||
(require 'init-lisp)
|
(require 'init-lisp)
|
||||||
(require 'init-scala)
|
|
||||||
(require 'init-js)
|
(require 'init-js)
|
||||||
(require 'init-web)
|
(require 'init-web)
|
||||||
(require 'init-xml)
|
(require 'init-xml)
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
ulimit -n 10240
|
|
||||||
export PATH="$PATH:/Users/jdormit/.local/bin"
|
export PATH="$PATH:/Users/jdormit/.local/bin"
|
||||||
eval "$(pyenv init --path)"
|
eval "$(pyenv init --path)"
|
||||||
export SYSTEM_VERSION_COMPAT=1
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
typeset -U path
|
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"
|
export LEDGER_FILE="$HOME/journal.ledger"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user