Compare commits
6 Commits
87fb1cbfe8
...
ffc5fe6560
Author | SHA1 | Date | |
---|---|---|---|
|
ffc5fe6560 | ||
|
862785fdad | ||
|
af6c06b2cf | ||
|
169ce09cd7 | ||
|
1702fe4c41 | ||
|
1759224eaa |
@ -21,4 +21,8 @@ Repeated invocations toggle between the two most recently open buffers."
|
||||
"bm" #'kill-other-buffers
|
||||
"br" #'rename-buffer)
|
||||
|
||||
;; A library that provides a hook called on switching buffers
|
||||
(use-package switch-buffer-functions
|
||||
:demand t)
|
||||
|
||||
(provide 'init-buffers)
|
||||
|
@ -32,6 +32,7 @@
|
||||
(normal shell-mode-map "q" #'bury-buffer))
|
||||
|
||||
(use-package ediff
|
||||
:defer t
|
||||
:straight (:type built-in)
|
||||
:config
|
||||
(setq ediff-window-setup-function #'ediff-setup-windows-plain))
|
||||
|
@ -84,9 +84,7 @@
|
||||
(flycheck-command-map "!" #'consult-flycheck))
|
||||
|
||||
(use-package embark-consult
|
||||
:init
|
||||
(with-eval-after-load 'embark
|
||||
(require 'embark-consult)))
|
||||
:defer 1)
|
||||
|
||||
;; Make grep-like embark collect buffers editable
|
||||
(use-package wgrep
|
||||
|
@ -3,7 +3,8 @@
|
||||
;; Set up Vim keybindings with evil-mode
|
||||
(use-package evil
|
||||
:init
|
||||
(setq evil-want-keybinding nil)
|
||||
(setq evil-want-keybinding nil
|
||||
evil-respect-visual-line-mode t)
|
||||
:config
|
||||
(evil-mode 1)
|
||||
:custom
|
||||
|
9
emacs/.emacs.d/config/init-js.el
Normal file
9
emacs/.emacs.d/config/init-js.el
Normal file
@ -0,0 +1,9 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
|
||||
;; node version manager
|
||||
(use-package nvm
|
||||
:commands (nvm-use
|
||||
nvm-use-for
|
||||
nvm-use-for-buffer))
|
||||
|
||||
(provide 'init-js)
|
@ -6,6 +6,8 @@
|
||||
:general
|
||||
('normal prodigy-mode-map "SPC" leader-map)
|
||||
('normal prodigy-view-mode-map "SPC" leader-map)
|
||||
:custom
|
||||
(prodigy-completion-system 'default)
|
||||
:config
|
||||
(evil-collection-prodigy-setup)
|
||||
;; Add ability to associate a file with service logs instead of a buffer
|
||||
|
@ -39,8 +39,24 @@
|
||||
(pyvenv-tracking-mode))
|
||||
|
||||
;; pyenv to track Python version
|
||||
(use-package pyenv-mode
|
||||
:defer t)
|
||||
(use-package pyenv
|
||||
:straight (:host github :repo "aiguofer/pyenv.el")
|
||||
:if (executable-find "pyenv")
|
||||
:defer 3
|
||||
:init
|
||||
(setq pyenv-executable (executable-find "pyenv"))
|
||||
:config
|
||||
;; Patch version alias stuff I don't use to stop spamming messages
|
||||
(defun pyenv--version-alias-file ()
|
||||
"Get peynv version alias file path."
|
||||
(when pyenv-use-alias
|
||||
(pyenv--call-process "version-alias-file")))
|
||||
(global-pyenv-mode)
|
||||
(defun pyenv-switch-buffer-hook (prev curr)
|
||||
(pyenv-use-corresponding))
|
||||
(add-hook 'switch-buffer-functions #'pyenv-switch-buffer-hook)
|
||||
:custom
|
||||
(pyenv-show-active-python-in-modeline nil))
|
||||
|
||||
;; LSP using Microsoft's pyright language server
|
||||
(use-package lsp-pyright
|
||||
|
@ -78,6 +78,7 @@
|
||||
(require 'init-help)
|
||||
(require 'init-python)
|
||||
(require 'init-clojure)
|
||||
(require 'init-js)
|
||||
(require 'init-yaml)
|
||||
(require 'init-terraform)
|
||||
(require 'init-run-command)
|
||||
|
Loading…
Reference in New Issue
Block a user