emacs: include eshell, vterm and python notebook support
This commit is contained in:
parent
e0e6a5d6e0
commit
9e2aa4d2e9
@ -59,6 +59,8 @@
|
||||
|
||||
;; Open external terminal
|
||||
(map! :leader :desc "Open external terminal" "o t" (cmd! (call-process-shell-command "alacritty &" nil 0)))
|
||||
;; Open external file manager
|
||||
(map! :leader :desc "Open external file explorer" "o e" (cmd! (call-process-shell-command "thunar &" nil 0)))
|
||||
|
||||
;; Remap font scaling keybindings to make more sense
|
||||
(map! :desc "Increase font size" :n "C-+" #'text-scale-increase)
|
||||
@ -82,6 +84,7 @@
|
||||
(+format/buffer)
|
||||
(save-buffer))
|
||||
|
||||
;; Do not ask before exiting emacs
|
||||
(setq confirm-kill-emacs nil)
|
||||
#+end_src
|
||||
|
||||
@ -187,6 +190,19 @@ headline, up to the next headline."
|
||||
;; Fixes latexindent not finding perl libraries
|
||||
(setenv "PERL5LIB" "~/perl5/lib/perl5")
|
||||
;; (setenv "GOPATH" "~/go")
|
||||
|
||||
|
||||
;; Configuratoin proposed by jupyter notebook replacement tutorial
|
||||
;; (org-babel-do-load-languages
|
||||
;; 'org-babel-load-languages
|
||||
;; '((emacs-lisp . t) ;; Other languages
|
||||
;; (shell . t)
|
||||
;; ;; Python & Jupyter
|
||||
;; (python . t)
|
||||
;; (ein . t)
|
||||
;; (jupyter . t)))
|
||||
;; (org-babel-jupyter-override-src-block "python")
|
||||
;; (setq ob-async-no-async-languages-alist '("python" "jupyter-python"))
|
||||
#+end_src
|
||||
|
||||
** Spell Checking
|
||||
@ -255,7 +271,7 @@ Return nil if on a link url, markup, html, or references."
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
|
||||
;; (setq lsp-dart-flutter-sdk-dir "~/snap/flutter/common/flutter")
|
||||
(map! :mode dart-mode :leader "r" #'flutter-run-or-hot-reload)
|
||||
;; (map! :mode dart-mode :leader "r" #'flutter-run-or-hot-reload)
|
||||
#+end_src
|
||||
** Evil snipe
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
@ -360,6 +376,9 @@ Return nil if on a link url, markup, html, or references."
|
||||
(defun fd-inventory-transfer()
|
||||
(interactive)
|
||||
())
|
||||
|
||||
(with-eval-after-load 'lsp-rust
|
||||
(require 'dap-cpptools))
|
||||
#+end_src
|
||||
|
||||
** Inventory
|
||||
|
@ -74,10 +74,10 @@
|
||||
vc ; version-control and Emacs, sitting in a tree
|
||||
|
||||
:term
|
||||
;;eshell ; the elisp shell that works everywhere
|
||||
eshell ; the elisp shell that works everywhere
|
||||
;;shell ; simple shell REPL for Emacs
|
||||
;;term ; basic terminal emulator for Emacs
|
||||
;;vterm ; the best terminal emulation in Emacs
|
||||
vterm ; the best terminal emulation in Emacs
|
||||
|
||||
:checkers
|
||||
(syntax +childframe) ; tasing you for every semicolon you forget
|
||||
@ -91,7 +91,7 @@
|
||||
;;direnv
|
||||
docker
|
||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
||||
;;ein ; tame Jupyter notebooks with emacs
|
||||
ein ; tame Jupyter notebooks with emacs
|
||||
(eval +overlay) ; run code, run (also, repls)
|
||||
;;gist ; interacting with github gists
|
||||
(lookup +docsets +dictionary) ; navigate your code and its documentation
|
||||
@ -164,7 +164,7 @@
|
||||
;;rest ; Emacs as a REST client
|
||||
;;rst ; ReST in peace
|
||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
(rust +lsp +tree-sitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
;;scala ; java, but good
|
||||
;;(scheme +guile) ; a fully conniving family of lisps
|
||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||
|
Loading…
x
Reference in New Issue
Block a user