Added development section

This commit is contained in:
opal
2021-12-26 14:54:09 -08:00
parent 58ea236fbe
commit 16c8b1abbe
3 changed files with 150 additions and 67 deletions

View File

@@ -92,26 +92,26 @@
(setq tramp-default-method "ssh")
(use-package modus-themes
:straight t
:init
(setq modus-themes-italic-constructs t
modus-themes-bold-constructs nil
modus-themes-region '(accented bg-only no-extend)
modus-themes-org-blocks 'greyscale
modus-themes-paren-match 'intense
modus-themes-mixed-fonts t)
(modus-themes-load-themes)
:config
(modus-themes-load-vivendi)
:bind
("<f5>" . modus-themes-toggle))
;; ;; Doing some doom themes for a while.
;; (use-package doom-themes
;; (use-package modus-themes
;; :straight t
;; :init
;; (load-theme 'doom-gruvbox))
;; (setq modus-themes-italic-constructs t
;; modus-themes-bold-constructs nil
;; modus-themes-region '(accented bg-only no-extend)
;; modus-themes-org-blocks 'greyscale
;; modus-themes-paren-match 'intense
;; modus-themes-mixed-fonts t)
;; (modus-themes-load-themes)
;; :config
;; (modus-themes-load-vivendi)
;; :bind
;; ("<f5>" . modus-themes-toggle))
;; Doing some doom themes for a while.
(use-package doom-themes
:straight t
:init
(load-theme 'doom-Iosvkem))
(set-face-attribute 'default nil :font "Fira Code" :height 125 :weight 'medium)
(set-face-attribute 'variable-pitch nil :font "Fira Sans" :height 1.0 :weight 'regular)
@@ -138,7 +138,9 @@
"." #'find-file ;; Find file (opens in mini-buffer)
"," #'consult-buffer ;; Switch to buffer
"<" #'switch-to-buffer ;; Switch to non-perspective.el minibuffer
"s" #'consult-line ;; Search in current buffer
"s" #'consult-line
"p" #'projectile-command-map
"l" #'lsp-map
;; Magit
"gg" #'magit-status
@@ -150,7 +152,8 @@
"bl" #'persp-next
"bh" #'persp-prev
"br" #'persp-rename
"bd" #'persp-remove-buffer
"bD" #'persp-remove-buffer
"bd" #'kill-buffer
;; Terminal/Shell
"tt" #'vterm
@@ -535,6 +538,36 @@
(use-package rainbow-mode :straight t)
(use-package magit
:straight t)
(use-package projectile
:straight t
:config
(projectile-mode)
:init
(when (file-directory-p "~/Projects/Code")
(setq projectile-project-search-path '("~/Projects/Code")))
(setq projectile-switch-project-action #'projectile-dired))
(use-package lsp-mode
:straight t
:commands (lsp lsp-deferred)
:config
(lsp-enable-which-key-integration t))
(use-package lsp-ui
:straight t
:hook (lsp-mode . lsp-ui-mode)
:custom
(lsp-ui-doc-position 'bottom))
(use-package python-mode
:ensure t
:hook (python-mode . lsp-deferred)
:custom
(python-shell-interpreter "python3"))
(use-package parinfer
:straight t
:init
@@ -548,45 +581,41 @@
(defvar inferior-lisp-program "sbcl")
(use-package sly :straight t)
(use-package magit
:straight t)
(use-package eshell-git-prompt :straight t)
(use-package yasnippet
:straight t
:hook (prog-mode . yas-minor-mode)
:config
(yas-reload-all))
(use-package eshell
:straight t
:config
;; Save command history when commands are entered
(add-hook 'eshell-pre-command-hook 'eshell-save-some-history)
;; Truncate buffer for performance
(add-to-list 'eshell-output-filter-functions 'eshell-truncate-buffer)
;; Evil keybinds
(evil-define-key '(normal insert visual) eshell-mode-map (kbd "C-r") 'counsel-esh-history)
(evil-define-key '(normal insert visual) eshell-mode-map (kbd "<home>") 'eshell-bol)
(evil-normalize-keymaps)
(with-eval-after-load 'esh-opt
(setq eshell-destroy-buffer-when-process-dies t)
(setq eshell-visual-commands '("htop" "zsh" "vim")))
(eshell-git-prompt-use-theme 'powerline)
(setq eshell-banner-message
'(format "%s %s\n"
(propertize (format " %s " (string-trim (buffer-name)))
'face 'mode-line-highlight)
(propertize (current-time-string)
'face 'font-lock-keyword-face))
eshell-scroll-to-bottom-on-input 'all
'face 'font-lock-keyword-face)))
(setq eshell-scroll-to-bottom-on-input 'all
eshell-scroll-to-bottom-on-output 'all
eshell-kill-processes-on-exit t
eshell-hist-ignoredups t
;; em-prompt
eshell-prompt-regexp "^.* λ "
;; em-glob
eshell-history-size 10000
eshell-buffer-maximum-lines 10000
eshell-scroll-to-bottom-on-input t))
eshell-scroll-to-bottom-on-input t)
(with-eval-after-load 'esh-opt
(setq eshell-destroy-buffer-when-process-dies t)
(setq eshell-visual-commands '("htop" "zsh" "vim"))))
(use-package vterm
:straight t