Compare commits
5 Commits
fa0f619a43
...
251268265b
Author | SHA1 | Date | |
---|---|---|---|
251268265b | |||
ab33b91416 | |||
84b8fdfd51 | |||
b385f3a039 | |||
5f57a7dddd |
@ -153,6 +153,7 @@ targets."
|
||||
:custom
|
||||
(consult-project-function #'projectile-project-root)
|
||||
(consult-find-args "find . -not ( -wholename */.git/* -prune )")
|
||||
(consult-narrow-key "<")
|
||||
:general
|
||||
([remap switch-to-buffer] #'consult-buffer)
|
||||
([remap imenu] #'consult-imenu)
|
||||
@ -160,6 +161,13 @@ targets."
|
||||
([remap projectile-grep] #'consult-grep)
|
||||
("C-c p" #'consult-yank-from-kill-ring))
|
||||
|
||||
(use-package consult-projectile
|
||||
:after (consult projectile)
|
||||
:commands (consult-projectile)
|
||||
:general
|
||||
(projectile-command-map "RET" #'consult-projectile))
|
||||
|
||||
|
||||
(use-package consult-eglot
|
||||
:after (consult eglot)
|
||||
:general
|
||||
|
19
emacs/.emacs.d/config/init-devdocs.el
Normal file
19
emacs/.emacs.d/config/init-devdocs.el
Normal file
@ -0,0 +1,19 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package devdocs
|
||||
:commands (devdocs-peruse
|
||||
devdocs-lookup
|
||||
devdocs-install
|
||||
devdocs-delete
|
||||
devdocs-update-all)
|
||||
:general
|
||||
(help-map "D" #'devdocs-lookup)
|
||||
('normal devdocs-mode-map
|
||||
"<" #'devdocs-first-page
|
||||
">" #'devdocs-last-page
|
||||
"gd" #'devdocs-peruse
|
||||
"gg" #'devdocs-goto-page
|
||||
"n" #'devdocs-next-entry
|
||||
"p" #'devdocs-previous-entry))
|
||||
|
||||
(provide 'init-devdocs)
|
@ -49,6 +49,7 @@
|
||||
pass
|
||||
eshell
|
||||
prodigy
|
||||
docker)))
|
||||
docker
|
||||
devdocs)))
|
||||
|
||||
(provide 'init-evil)
|
||||
|
@ -1,12 +0,0 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
|
||||
;; Lola stuff
|
||||
|
||||
(defun lola-core-models-prod ()
|
||||
"Opens a PSQL buffer to the prod core models database"
|
||||
(interactive)
|
||||
(let ((sql-database (1password-get-password "lola-server prod db (read-only)"))
|
||||
(sql-postgres-login-params nil))
|
||||
(sql-postgres)))
|
||||
|
||||
(provide 'init-lola)
|
@ -364,6 +364,18 @@
|
||||
:working-dir root-dir))
|
||||
scripts)))
|
||||
|
||||
(defun run-command-recipe-rspec ()
|
||||
(when
|
||||
(and (derived-mode-p 'ruby-mode)
|
||||
(save-excursion
|
||||
(goto-char (point-min))
|
||||
(re-search-forward "RSpec" nil t)))
|
||||
(let ((root-dir (or (projectile-project-root) default-directory)))
|
||||
(list
|
||||
(list :command-name "test this file"
|
||||
:command-line (format "rspec %s" (buffer-file-name))
|
||||
:working-dir root-dir)))))
|
||||
|
||||
:general
|
||||
(leader-map "\"" #'run-command)
|
||||
:custom
|
||||
@ -386,6 +398,7 @@
|
||||
run-command-recipe-maven
|
||||
run-command-recipe-cargo
|
||||
run-command-recipe-rake
|
||||
run-command-recipe-scripts)))
|
||||
run-command-recipe-scripts
|
||||
run-command-recipe-rspec)))
|
||||
|
||||
(provide 'init-run-command)
|
||||
|
@ -52,7 +52,7 @@
|
||||
"WORKON_HOME" "PIPENV_VERBOSITY" "PIPENV_DONT_LOAD_ENV"
|
||||
"PIPENV_MAX_DEPTH" "PIPENV_VENV_IN_FILE" "PYENV_ROOT"
|
||||
"KOPS_STATE_STORE" "PLAID_CLIENT_ID" "PLAID_SECRET"
|
||||
"PLAID_ENVIRONMENT"))
|
||||
"PLAID_ENVIRONMENT" "NAVI_PATH" "NAVI_REPOS"))
|
||||
(exec-path-from-shell-check-startup-files nil)
|
||||
(exec-path-from-shell-arguments '("-l")))
|
||||
|
||||
@ -114,11 +114,11 @@
|
||||
(require 'init-epub)
|
||||
(require 'init-pdf)
|
||||
(require 'init-homebrew)
|
||||
(require 'init-devdocs)
|
||||
(require 'init-elfeed)
|
||||
(require 'init-1pass)
|
||||
(require 'init-wallabag)
|
||||
(require 'init-plantuml)
|
||||
(require 'init-lola)
|
||||
(require 'handwriting)
|
||||
(when (string-equal system-type "darwin")
|
||||
(require 'init-mac))
|
||||
|
@ -41,3 +41,5 @@ if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
|
||||
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
|
||||
fi
|
||||
# End Nix
|
||||
|
||||
export NAVI_PATH="/Users/jdormit/Library/Application Support/navi/cheats/denisidoro__cheats:/Users/jdormit/Library/Application Support/navi/cheats/denisidoro__navi-tldr-pages"
|
||||
|
@ -268,3 +268,5 @@ PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
|
||||
[[ -z "$tw_prompt" ]] || tw_prompt=$tw_prompt'%{$(vterm_prompt_end)%}'
|
||||
|
||||
[[ -f "$HOME/.zshrc-spotify" ]] && source "$HOME/.zshrc-spotify"
|
||||
|
||||
type navi > /dev/null && eval "$(navi widget zsh)"
|
||||
|
Loading…
Reference in New Issue
Block a user