Last active
November 2, 2021 17:05
-
-
Save vindarel/260f53893cdbea28bc8fd46683e7d00d to your computer and use it in GitHub Desktop.
Revisions
-
vindarel revised this gist
Nov 2, 2021 . 1 changed file with 4 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,17 +13,16 @@ (company-quickhelp-mode 0) (setq slime-contribs (remove 'slime-company slime-contribs)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Other Emacs configuration possibilities. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Use C-c C-z from the REPL too to go to the other window (which is in lisp mode or not). (define-key slime-repl-mode-map (kbd "C-c C-z") 'other-window) ;; Add a shortcut in Slime mode to eval the last expression and print its result under it. ;; note: there are of course elisp packages to do more, like showing the result in an overlay. (define-key slime-mode-map (kbd "C-c J") 'slime-eval-print-last-expression) ;; Instead of "yes" or "no", validate with "y" or "n": (fset 'yes-or-no-p 'y-or-n-p) -
vindarel revised this gist
Nov 2, 2021 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,3 +19,11 @@ ;; Add a shortcut in Slime mode to eval the last expression and print its result under it. ;; note: there are of course elisp packages to do more, like showing the result in an overlay. (define-key slime-mode-map (kbd "C-c J") 'slime-eval-print-last-expression) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Other Emacs configuration possibilities. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Instead of "yes" or "no", validate with "y" or "n": (fset 'yes-or-no-p 'y-or-n-p) -
vindarel revised this gist
Nov 1, 2021 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,7 @@ ;; Possible Portacle elisp configuration. ;; ;; this is to be saved under <your Portacle directory>/config/user.el ;; Disable paredit-mode, automatically adding parenthesis and other pair delimiters. -
vindarel revised this gist
Nov 1, 2021 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,3 +12,7 @@ ;; Use C-c C-z from the REPL too to go to the other window (which is in lisp mode or not). (define-key slime-repl-mode-map (kbd "C-c C-z") 'other-window) ;; Add a shortcut in Slime mode to eval the last expression and print its result under it. ;; note: there are of course elisp packages to do more, like showing the result in an overlay. (define-key slime-mode-map (kbd "C-c J") 'slime-eval-print-last-expression) -
vindarel created this gist
Nov 1, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ ;; Possible Portacle elisp configuration. ;; Disable paredit-mode, automatically adding parenthesis and other pair delimiters. (remove-hook 'slime-repl-mode-hook 'enable-paredit-mode) ; disable paredit-mode for the REPL (remove-hook 'lisp-mode-hook 'enable-paredit-mode) ; disable paredit-mode for lisp files ;; Disable company-mode, pop-up suggestions. (global-company-mode 0) (company-quickhelp-mode 0) (setq slime-contribs (remove 'slime-company slime-contribs)) ;; Use C-c C-z from the REPL too to go to the other window (which is in lisp mode or not). (define-key slime-repl-mode-map (kbd "C-c C-z") 'other-window)