Merge remote-tracking branch 'origin/unstable' into unstable

unstable
Penguin 5 months ago
commit f224ccd022

@ -12,6 +12,27 @@
(unless 'display-graphic-p
(setq confirm-kill-emacs nil))
(defun penguin/lsp-treemacs-symbols-toggle ()
"Toggle the lsp-treemacs-symbols buffer."
(interactive)
(if (get-buffer "*LSP Symbols List*")
(kill-buffer "*LSP Symbols List*")
(progn (lsp-treemacs-symbols)
(other-window -1))))
(defun penguin/lsp-ui-imenu-toggle ()
(interactive)
(if (get-buffer "*lsp-ui-imenu*")
(kill-buffer "*lsp-ui-imenu*")
(progn (lsp-ui-imenu)
(other-window -1))))
(defun penguin/treemacs-with-symbols ()
(interactive)
(penguin/lsp-treemacs-symbols-toggle)
(+treemacs/toggle))
(load! "penguin/appearance.el")
(load! "penguin/lang.el")
(load! "penguin/keybinds.el")

@ -31,11 +31,11 @@
;;deft ; notational velocity for Emacs
doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs
;; doom-quit ; DOOM quit-message prompts when you quit Emacs
doom-quit ; DOOM quit-message prompts when you quit Emacs
(emoji +unicode) ; 🙂
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
hydra
;;indent-guides ; highlighted indent columns
indent-guides ; highlighted indent columns
;;ligatures ; ligatures and symbols to make your code pretty again
;;minimap ; show a map of the code on the side
modeline ; snazzy, Atom-inspired modeline, plus API
@ -48,7 +48,7 @@
;;unicode ; extended unicode support for various languages
(vc-gutter +pretty) ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB
;;window-select ; visually switch windows
window-select ; visually switch windows
workspaces ; tab emulation, persistence & separate workspaces
;;zen ; distraction-free coding or writing
@ -157,7 +157,7 @@
;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
(python +lsp +tree-sitter +pyright) ; beautiful is better than ugly
(python +lsp +tree-sitter +pyright +poetry) ; beautiful is better than ugly
qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6

@ -51,6 +51,7 @@
(package! helm-icons)
(package! helm-company)
(package! helm-make)
(package! helm-projectile)
(package! impatient-mode)
(package! vterm)
(package! multi-vterm)
@ -58,5 +59,9 @@
(package! evil-terminal-cursor-changer)
(package! dpaste)
(package! forge)
(package! pinentry)
(package! ox-rst)
(package! flycheck-projectile)
(package! treemacs-projectile)
(package! ox-mediawiki)
(load (expand-file-name "~/.local/share/doom/packages.el"))

@ -1,7 +1,9 @@
;;; $DOOMDIR/penguin/appearance.el -*- lexical-binding: t; -*-
(setq doom-font (font-spec :family "JetBrains Mono Nerd Font" :size 14 :weight 'semibold)
doom-big-font (font-spec :family "JetBrains Mono Nerd Font" :size 28 :weight 'bold)
doom-serif-font (font-spec :family "JetBrains Mono Nerd Font" :size 14 :weight 'bold))
doom-serif-font (font-spec :family "JetBrains Mono Nerd Font" :size 14 :weight 'bold)
doom-symbol-font (font-spec :family "JetBrains Mono Nerd Font" :size 12 :weight 'bold)
)
;; (setq doom-font "JetBrains Mono Nerd Font")
;; Doom exposes five (optional) variables for controlling fonts in Doom:
;;
@ -73,5 +75,8 @@
(setq centaur-tabs-style "wave")
(setq centaur-tabs-set-bar 'under)
(use-package! evil-terminal-cursor-changer
:hook (tty-setup . evil-terminal-cursor-changer-activate))
(unless (display-graphic-p)
(require 'evil-terminal-cursor-changer)
(evil-terminal-cursor-changer-activate) ; or (etcc-on)
)

@ -96,3 +96,13 @@ _h_ decrease width _l_ increase width _<left>_ decrease width _<right>
;; kill company completion
(with-eval-after-load 'company
(define-key company-active-map (kbd "C-k") 'company-abort))
(after! projectile
;; (map!
;; (:leader
;; :prefix "o"
;; :desc "Initialize or toggle treemacs and lsp treemacs symbols" "p" #'penguin/treemacs-with-symbols))
(map!
(:leader
:prefix "c"
:desc "Errors List" "x" #'flycheck-projectile-list-errors)))

@ -89,13 +89,14 @@
(add-hook 'python-mode-hook
(lambda ()
(setq +format-with-lsp nil)
(setq indent-tabs-mode t)
(setq tab-width 4)
(setq py-indent-tabs-mode t)
(setq python-indent 4)
(setq python-indent-offset 4)
;; (setq +format-with-lsp nil)
;; (setq indent-tabs-mode t)
;; (setq tab-width 4)
;; (setq py-indent-tabs-mode t)
;; (setq python-indent 4)
;; (setq python-indent-offset 4)
(add-to-list 'write-file-functions 'delete-trailing-whitespace)
(setq dap-python-debugger 'debugpy)
(setq dap-python-executable "python3"))
(tabify (point-min) (point-max)))
;; (tabify (point-min) (point-max))
)

@ -5,6 +5,7 @@
(setq org-directory "~/org/")
(setq org-noter-notes-search-path '("~/Documents/notes/"))
(after! org
(setq org-link-file-path-type 'relative)
(setq org-agenda-files
'("~/Documents/agendas"))
(org-link-set-parameters "rel" :follow #'browse-url :export #'wvxvw/export-rel-url)
@ -58,3 +59,6 @@
(html (format "<a href=\"%s\">%s</a>" path (or desc path)))
(latex (format "\\href{%s}{%s}" path (or desc path)))
(otherwise path)))
(after! 'org-mode
(require 'ox-rst))

Binary file not shown.

@ -12,7 +12,7 @@ fi
# plug "zap-zsh/supercharge"
# plug "zap-zsh/zap-prompt"
plug "romkatv/powerlevel10k"
plug "$HOME/.config/zsh/keybindings.zsh"
plug "embeddedpenguin/sanekeybinds"
plug "wintermi/zsh-lsd"
# Load and initialise completion system

Loading…
Cancel
Save