Compare commits

..

4 Commits

Author SHA1 Message Date
Jeremy Dormitzer
9bb08ed607 Don't display line numbers in dired-sidebar 2021-02-20 18:38:29 -05:00
Jeremy Dormitzer
38db53be4c Add Helpful and Evil keybindings for info-mode 2021-02-20 18:38:14 -05:00
Jeremy Dormitzer
b9c6ea569b Formatting 2021-02-20 18:38:02 -05:00
Jeremy Dormitzer
f2e62a5c84 Evil bindings for *Warnings* and *Messages* buffers 2021-02-20 18:37:39 -05:00
4 changed files with 32 additions and 5 deletions

View File

@ -9,4 +9,14 @@
:config
(evil-collection-view-setup))
(use-package simple
:straight (:type built-in)
:general
(normal special-mode-map
"gr" #'revert-buffer
"q" #'quit-window)
(normal messages-buffer-mode-map
"gr" #'revert-buffer
"q" #'quit-window))
(provide 'init-built-ins)

View File

@ -15,6 +15,7 @@
(unless (file-remote-p default-directory)
(auto-revert-mode))))
(add-hook 'dired-sidebar-mode-hook #'hide-mode-line-mode)
(add-hook 'dired-sidebar-mode-hook (lambda () (display-line-numbers-mode -1)))
:general
(leader-map "d" #'dired-sidebar-toggle-sidebar)
:custom

View File

@ -0,0 +1,14 @@
;; Emacs has fanstastic built-in help features, but they could be more convenient
(use-package info
:straight (:type built-in)
:config
(evil-collection-info-setup))
(use-package helpful
:general
([remap describe-function] #'helpful-callable)
([remap describe-variable] #'helpful-variable)
([remap describe-key] #'helpful-key))
(provide 'init-help)

View File

@ -23,11 +23,12 @@
(use-package exec-path-from-shell
:hook (after-init . exec-path-from-shell-initialize)
:custom
(exec-path-from-shell-variables '("PATH" "MANPATH" "LEDGER_FILE" "LOLA_HOME"
"MODELS_HOME" "LOLA_TRAVEL_SERVICE_HOME" "WORKON_HOME"
"PIPENV_VERBOSITY" "PIPENV_DONT_LOAD_ENV"
"PIPENV_MAX_DEPTH" "PYENV_ROOT" "KOPS_STATE_STORE"
"PLAID_CLIENT_ID" "PLAID_SECRET" "PLAID_ENVIRONMENT"))
(exec-path-from-shell-variables
'("PATH" "MANPATH" "LEDGER_FILE" "LOLA_HOME"
"MODELS_HOME" "LOLA_TRAVEL_SERVICE_HOME" "WORKON_HOME"
"PIPENV_VERBOSITY" "PIPENV_DONT_LOAD_ENV"
"PIPENV_MAX_DEPTH" "PYENV_ROOT" "KOPS_STATE_STORE"
"PLAID_CLIENT_ID" "PLAID_SECRET" "PLAID_ENVIRONMENT"))
(exec-path-from-shell-check-startup-files nil))
@ -56,6 +57,7 @@
(require 'init-git)
(require 'init-ide)
(require 'init-eshell)
(require 'init-help)
;; Load the custom file
(when (file-exists-p custom-file)