diff options
-rwxr-xr-x | emacs.org | 80 |
1 files changed, 3 insertions, 77 deletions
@@ -28,7 +28,6 @@ Request the following packages: dap-mode toc-org emojify - general doom-themes gruvbox-theme doom-modeline @@ -74,7 +73,8 @@ Request the following packages: chatgpt org-download eshell-git-prompt - eshell-vterm)) + eshell-vterm + hackernews)) #+end_src ** Installation & activation Set ~package-archives~, and install packages @@ -941,8 +941,7 @@ Create function to watch videos using ~mpv~ (if visual-fill-column-center-text (setq visual-fill-column-center-text nil) (setq visual-fill-column-center-text t)) - (visual-fill-column-mode 1) - (message "General's task completed!")) + (visual-fill-column-mode 1)) (defun apollo/rofi-switch-window () @@ -1068,76 +1067,3 @@ Create function to watch videos using ~mpv~ (define-key thanos/vterm-map (kbd "d") 'multi-vterm-dedicated-open) (define-key thanos/vterm-map (kbd "o") 'multi-vterm) #+end_src -*** General -#+begin_src emacs-lisp - - ;; my general's leader key! - (defconst general-key "C-c g") - - (general-create-definer general-does - :prefix general-key) - - ;; Basic functions - (general-define-key - "C-d" 'kill-region - "C-k" 'copy-region-as-kill - "C-x 9" 'make-mini-buffer - "C-c l e" 'apollo/emacs-keys - ;;Change keyboard layouts/language - "C-c l g" 'apollo/greek-keyboard - "C-κ" 'apollo/emacs-keys - "C-x C-b" 'ibuffer) - - - - ;; My Generals does: - (general-does - "t" 'counsel-load-theme - "l" 'display-line-numbers-mode - "v" 'multi-vterm - "e" 'eshell - "c" 'apollo/center-buffer - "m" 'mu4e - "f" 'elfeed) - - ;;pdf-tools - (general-define-key - :keymaps 'pdf-view-mode-map - "C-c d" 'pdf-view-midnight-minor-mode - "C-s" 'isearch-forward - "C-o" 'pdf-isearch-occur) - - ;;vterm - (general-does - :keymaps 'vterm-mode-map - "n" 'multi-vterm-next - "o" 'multi-vterm - "p" 'multi-vterm-prev) - - (general-does - :keymaps 'eshell-mode-map - "n" 'eshell-new) - - (general-does - :keymaps 'org-mode-map - "3" 'org-insert-image-size-300) -#+end_src -** ChatGPT -#+begin_src emacs-lisp - (setq openai-key (password-store-get "chatgpt/api")) -#+end_src -** Circe -#+begin_src emacs-lisp - (use-package circe - :ensure t - :config - (setq circe-network-options - `(("Libera Chat" - :host "irc.libera.chat" :port 6697 :tls t - :nick "thanosapollo" - :sasl-username "thanos_apollo" - :channels ("#emacs" "#emacs-circe") - :sasl-password ,(password-store-get "liberachat/thanos_apollo") - ))) - (define-key thanos/applications-map (kbd "i") 'circe)) -#+end_src |