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