Added some small text
This commit is contained in:
@@ -810,52 +810,54 @@ Handles org-clock and context link capture for tasks."
|
|||||||
:name "Python :: My Script with Args")))
|
:name "Python :: My Script with Args")))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Dape
|
** +Dape+
|
||||||
|
Tried it, was not able to make it work, so back to dap mode for now
|
||||||
|
|
||||||
#+begin_src emacs-lisp :tangle no
|
#+begin_src emacs-lisp :tangle no
|
||||||
;; (use-package dape
|
(use-package dape
|
||||||
;; :preface
|
:preface
|
||||||
;; ;; By default dape shares the same keybinding prefix as `gud'
|
;; By default dape shares the same keybinding prefix as `gud'
|
||||||
;; ;; If you do not want to use any prefix, set it to nil.
|
;; If you do not want to use any prefix, set it to nil.
|
||||||
;; ;; (setq dape-key-prefix "\C-x\C-a")
|
;; (setq dape-key-prefix "\C-x\C-a")
|
||||||
|
|
||||||
;; :hook
|
:hook
|
||||||
;; ;; Save breakpoints on quit
|
;; Save breakpoints on quit
|
||||||
;; (kill-emacs . dape-breakpoint-save)
|
(kill-emacs . dape-breakpoint-save)
|
||||||
;; ;; Load breakpoints on startup
|
;; Load breakpoints on startup
|
||||||
;; (after-init . dape-breakpoint-load)
|
(after-init . dape-breakpoint-load)
|
||||||
|
|
||||||
;; :custom
|
:custom
|
||||||
;; ;; Turn on global bindings for setting breakpoints with mouse
|
;; Turn on global bindings for setting breakpoints with mouse
|
||||||
;; (dape-breakpoint-global-mode +1)
|
(dape-breakpoint-global-mode +1)
|
||||||
|
|
||||||
;; ;; Info buffers to the right
|
;; Info buffers to the right
|
||||||
;; ;; (dape-buffer-window-arrangement 'right)
|
;; (dape-buffer-window-arrangement 'right)
|
||||||
;; ;; Info buffers like gud (gdb-mi)
|
;; Info buffers like gud (gdb-mi)
|
||||||
;; ;; (dape-buffer-window-arrangement 'gud)
|
;; (dape-buffer-window-arrangement 'gud)
|
||||||
;; ;; (dape-info-hide-mode-line nil)
|
;; (dape-info-hide-mode-line nil)
|
||||||
|
|
||||||
;; ;; Projectile users
|
;; Projectile users
|
||||||
;; (dape-cwd-function 'projectile-project-root)
|
(dape-cwd-function 'projectile-project-root)
|
||||||
|
|
||||||
;; :config
|
:config
|
||||||
;; ;; Pulse source line (performance hit)
|
;; Pulse source line (performance hit)
|
||||||
;; (add-hook 'dape-display-source-hook 'pulse-momentary-highlight-one-line)
|
(add-hook 'dape-display-source-hook 'pulse-momentary-highlight-one-line)
|
||||||
|
|
||||||
;; ;; Save buffers on startup, useful for interpreted languages
|
;; Save buffers on startup, useful for interpreted languages
|
||||||
;; (add-hook 'dape-start-hook (lambda () (save-some-buffers t t)))
|
(add-hook 'dape-start-hook (lambda () (save-some-buffers t t)))
|
||||||
|
|
||||||
;; ;; Kill compile buffer on build success
|
;; Kill compile buffer on build success
|
||||||
;; ;; (add-hook 'dape-compile-hook 'kill-buffer)
|
;; (add-hook 'dape-compile-hook 'kill-buffer)
|
||||||
;; )
|
)
|
||||||
|
|
||||||
;; ;; For a more ergonomic Emacs and `dape' experience
|
;; For a more ergonomic Emacs and `dape' experience
|
||||||
;; (use-package repeat
|
(use-package repeat
|
||||||
;; :custom
|
:custom
|
||||||
;; (repeat-mode +1))
|
(repeat-mode +1))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** LSP
|
** LSP
|
||||||
|
I had to work on C# Framework 4.8..
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; LSP BABY
|
;; LSP BABY
|
||||||
@@ -865,9 +867,9 @@ Handles org-clock and context link capture for tasks."
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Scroll-Margin
|
** Scroll-Margin
|
||||||
|
To keep my eye in the center of the screen while scrolling. Like in my nvim x)
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; To keep my eye in the center of the screen while scrolling. Like in my nvim x)
|
|
||||||
(setq scroll-margin 10)
|
(setq scroll-margin 10)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@@ -896,9 +898,9 @@ Load org-phscroll after org. This allow horizontal scroll in tables. (No line wr
|
|||||||
** Spellchecking
|
** Spellchecking
|
||||||
|
|
||||||
*** Ispell
|
*** Ispell
|
||||||
|
Now I can write x) (spellchecking)
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Now I can write x) (spellchecking)
|
|
||||||
(after! ispell
|
(after! ispell
|
||||||
(setq ispell-program-name "hunspell"
|
(setq ispell-program-name "hunspell"
|
||||||
ispell-dictionary "en_CA,fr_CA"
|
ispell-dictionary "en_CA,fr_CA"
|
||||||
@@ -922,9 +924,9 @@ Load org-phscroll after org. This allow horizontal scroll in tables. (No line wr
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Writegood Mode
|
*** Writegood Mode
|
||||||
|
Let me write like a broken engineer, thank you.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Let me write like a broken engineer, thank you.
|
|
||||||
(add-hook 'writegood-mode-hook 'writegood-passive-voice-turn-off)
|
(add-hook 'writegood-mode-hook 'writegood-passive-voice-turn-off)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@@ -956,7 +958,6 @@ Load org-phscroll after org. This allow horizontal scroll in tables. (No line wr
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Line Number Type
|
** Line Number Type
|
||||||
|
|
||||||
This determines the style of line numbers in effect. If set to ~nil~, line
|
This determines the style of line numbers in effect. If set to ~nil~, line
|
||||||
numbers are disabled. For relative line numbers, set this to ~relative~.
|
numbers are disabled. For relative line numbers, set this to ~relative~.
|
||||||
|
|
||||||
@@ -965,9 +966,9 @@ numbers are disabled. For relative line numbers, set this to ~relative~.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Evile-Escape (JK)
|
** Evile-Escape (JK)
|
||||||
|
JK to escape was not working. Added it back.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; JK to escape was not working. Added it back.
|
|
||||||
(use-package! evil-escape
|
(use-package! evil-escape
|
||||||
:config
|
:config
|
||||||
(setq evil-escape-excluded-states '(normal visual multiedit emacs motion)
|
(setq evil-escape-excluded-states '(normal visual multiedit emacs motion)
|
||||||
@@ -990,9 +991,9 @@ numbers are disabled. For relative line numbers, set this to ~relative~.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** KRL Mode
|
** KRL Mode
|
||||||
|
Im not working in WorkVisual. Thank you. (Kuka Robot stuff)
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; KRL mode
|
|
||||||
(add-hook 'krl-mode-hook 'font-lock-mode)
|
(add-hook 'krl-mode-hook 'font-lock-mode)
|
||||||
(add-hook 'krl-mode-hook 'display-line-numbers-mode)
|
(add-hook 'krl-mode-hook 'display-line-numbers-mode)
|
||||||
(use-package! krl-mode
|
(use-package! krl-mode
|
||||||
@@ -1007,12 +1008,12 @@ numbers are disabled. For relative line numbers, set this to ~relative~.
|
|||||||
ahs-default-range 'ahs-range-whole-buffer ; highlight in whole buffer
|
ahs-default-range 'ahs-range-whole-buffer ; highlight in whole buffer
|
||||||
ahs-case-fold-search t ; case-INsensitive matching
|
ahs-case-fold-search t ; case-INsensitive matching
|
||||||
ahs-include-definition t)) ; highlight definition too
|
ahs-include-definition t)) ; highlight definition too
|
||||||
|
#+end_src
|
||||||
|
|
||||||
(defcustom krl-formatter-command "python"
|
** KRL formater
|
||||||
"Command to run the KRL formatter."
|
Im a formating nazi now xD
|
||||||
:type 'string
|
|
||||||
:group 'krl)
|
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
(defcustom krl-formatter-script-path "~/ExoKortex/1-Projects/Exit_strat/exit_strat/scripts/krl_formatter.py"
|
(defcustom krl-formatter-script-path "~/ExoKortex/1-Projects/Exit_strat/exit_strat/scripts/krl_formatter.py"
|
||||||
"Path to the KRL formatter script."
|
"Path to the KRL formatter script."
|
||||||
:type 'string
|
:type 'string
|
||||||
@@ -1026,7 +1027,7 @@ numbers are disabled. For relative line numbers, set this to ~relative~.
|
|||||||
(shell-command-on-region
|
(shell-command-on-region
|
||||||
(point-min)
|
(point-min)
|
||||||
(point-max)
|
(point-max)
|
||||||
(concat krl-formatter-command " " krl-formatter-script-path)
|
(concat "python " krl-formatter-script-path)
|
||||||
t t)
|
t t)
|
||||||
;; Try to restore cursor position
|
;; Try to restore cursor position
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
@@ -1039,7 +1040,7 @@ numbers are disabled. For relative line numbers, set this to ~relative~.
|
|||||||
(shell-command-on-region
|
(shell-command-on-region
|
||||||
start
|
start
|
||||||
end
|
end
|
||||||
(concat krl-formatter-command " " krl-formatter-script-path)
|
(concat "python " krl-formatter-script-path)
|
||||||
t t)
|
t t)
|
||||||
(message "KRL region formatted"))
|
(message "KRL region formatted"))
|
||||||
|
|
||||||
@@ -1100,7 +1101,7 @@ numbers are disabled. For relative line numbers, set this to ~relative~.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Age
|
** Age
|
||||||
Allow me to edit age file directly in emacs buffer.
|
Allow me to edit encryted age file directly in emacs buffer.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! age
|
(use-package! age
|
||||||
@@ -1182,9 +1183,9 @@ Allow retrieval of password from age file formatted like passwordstore
|
|||||||
#+end_src
|
#+end_src
|
||||||
* Terminal
|
* Terminal
|
||||||
|
|
||||||
** EEE
|
** +EEE+
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp :tangle no
|
||||||
;; TUI tools in emacs
|
;; TUI tools in emacs
|
||||||
(after! eee
|
(after! eee
|
||||||
(setq ee-terminal-command "kitty")
|
(setq ee-terminal-command "kitty")
|
||||||
@@ -1204,6 +1205,7 @@ Allow retrieval of password from age file formatted like passwordstore
|
|||||||
* AI
|
* AI
|
||||||
|
|
||||||
** GPTel
|
** GPTel
|
||||||
|
The best LLM integration I found. Works with MCP server for more functionnalities. And Rewrite is awesome.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; GPTel AI chat for emacs
|
;; GPTel AI chat for emacs
|
||||||
@@ -1252,18 +1254,24 @@ Allow retrieval of password from age file formatted like passwordstore
|
|||||||
:stream t
|
:stream t
|
||||||
:models '("orieg/gemma3-tools:1b"))
|
:models '("orieg/gemma3-tools:1b"))
|
||||||
)
|
)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
*** Rewrite
|
||||||
|
Really useful to do stuff you dont want to do
|
||||||
|
#+begin_src emacs-lisp
|
||||||
(map! :after gptel
|
(map! :after gptel
|
||||||
:leader
|
:leader
|
||||||
(:prefix ("r" . "GPTel Rewrite")
|
(
|
||||||
|
:prefix ("r" . "GPTel Rewrite")
|
||||||
:desc "Rewrite region" "r" #'gptel-rewrite
|
:desc "Rewrite region" "r" #'gptel-rewrite
|
||||||
:desc "Show rewrite diff" "d" #'gptel--rewrite-diff
|
:desc "Show rewrite diff" "d" #'gptel--rewrite-diff
|
||||||
:desc "Accept rewrite" "a" #'gptel--rewrite-accept
|
:desc "Accept rewrite" "a" #'gptel--rewrite-accept
|
||||||
:desc "Reject rewrite" "x" #'gptel--rewrite-reject
|
:desc "Reject rewrite" "x" #'gptel--rewrite-reject
|
||||||
:desc "Iterate rewrite" "i" #'gptel--rewrite-iterate))
|
))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** +MCP+
|
** +MCP+
|
||||||
|
May reuse later with opencode or gptel, but for now, deactivated
|
||||||
|
|
||||||
#+begin_src emacs-lisp :tangle no
|
#+begin_src emacs-lisp :tangle no
|
||||||
#+end_(use-package! mcp
|
#+end_(use-package! mcp
|
||||||
@@ -1449,12 +1457,14 @@ Org-AI
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Diff HL Mode
|
* Diff HL Mode
|
||||||
|
Show git changes in the sidebar
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(diff-hl-mode +1)
|
(diff-hl-mode +1)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Tramp
|
* Tramp
|
||||||
|
Remote connection to server inside emacs (with all my config) <3
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; set `tramp-direct-async-process' locally in all ssh connections
|
;; set `tramp-direct-async-process' locally in all ssh connections
|
||||||
@@ -1467,6 +1477,8 @@ Org-AI
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Dirvish
|
* Dirvish
|
||||||
|
Allow fast navigation and preview to files.
|
||||||
|
Recently added the quick access entries. Game changer.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Dirvish config
|
;; Dirvish config
|
||||||
@@ -1524,6 +1536,7 @@ Org-AI
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Org-Modern
|
* Org-Modern
|
||||||
|
Make org task, agenda, tables look nicer, but you need to deactivate it sometimes to really see what is going on.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Modern look for org
|
;; Modern look for org
|
||||||
@@ -1572,6 +1585,7 @@ Org-AI
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Cursor Beacon
|
* Cursor Beacon
|
||||||
|
Useful for the user, but also when you have someone over your sholder trying to follow what is going on x)
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Flash the point (cursor) when moving between window
|
;; Flash the point (cursor) when moving between window
|
||||||
@@ -1694,6 +1708,7 @@ www.tdnde.com \\\\
|
|||||||
** TODO Fix noter if needed
|
** TODO Fix noter if needed
|
||||||
|
|
||||||
* PDF-Tools
|
* PDF-Tools
|
||||||
|
Really useful to be able to have a buffer with notes, and another with the official PDF doc
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Enable midnight mode by default for PDF files
|
;; Enable midnight mode by default for PDF files
|
||||||
|
|||||||
Reference in New Issue
Block a user