diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2021-04-23 15:57:30 +0200 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2021-04-23 15:57:30 +0200 |
commit | d0fe115925e1542d5948d82a3df1b8f6e989b29f (patch) | |
tree | 95519c58e602e2f6b00353cfa7c4af9b68bcdb25 | |
parent | 3cb81994c46549b30dec04e6b0020e8dbb04716f (diff) | |
download | dotfiles-d0fe115925e1542d5948d82a3df1b8f6e989b29f.tar.gz dotfiles-d0fe115925e1542d5948d82a3df1b8f6e989b29f.tar.bz2 dotfiles-d0fe115925e1542d5948d82a3df1b8f6e989b29f.zip |
fix doom configuration
-rw-r--r-- | config/doom/config.el | 19 | ||||
-rw-r--r-- | config/doom/init.el | 22 | ||||
-rw-r--r-- | config/doom/packages.el | 1 |
3 files changed, 29 insertions, 13 deletions
diff --git a/config/doom/config.el b/config/doom/config.el index 90df404..93b4800 100644 --- a/config/doom/config.el +++ b/config/doom/config.el @@ -58,5 +58,20 @@ (setq haskell-process-args-cabal-repl '("--ghc-option=-ferror-spans" - "--ghc-options=-dynamic") - dante-repl-command-line '("cabal" "v2-repl" dante-target "--builddir=newdist/dante" "--ghc-options=-dynamic")) + "--ghc-option=-dynamic") + dante-repl-command-line '("cabal" "v2-repl" dante-target "--ghc-options=-dynamic")) + +(if (string-equal (user-login-name) "on") + (setenv "SSH_AUTH_SOCK" (concat "/run/user/1000/gnupg/S.gpg-agent.ssh")) + (setenv "SSH_AUTH_SOCK" (concat (getenv "XDG_RUNTIME_DIR")"/gnupg/S.gpg-agent.ssh"))) + + +;; https://tecosaur.github.io/emacs-config/#dictionary +(defadvice! +lookup/dictionary-definition-lexic (identifier &optional arg) + "Look up the definition of the word at point (or selection) using `lexic-search'." + :override #'+lookup/dictionary-definition + (interactive + (list (or (doom-thing-at-point-or-region 'word) + (read-string "Look up in dictionary: ")) + current-prefix-arg)) + (lexic-search identifier nil nil t)) diff --git a/config/doom/init.el b/config/doom/init.el index e8e46d9..1ee0a5b 100644 --- a/config/doom/init.el +++ b/config/doom/init.el @@ -55,9 +55,9 @@ (evil +everywhere); come to the dark side, we have cookies file-templates ; auto-snippets for empty files fold ; (nigh) universal code folding - ;;(format +onsave) ; automated prettiness + (format +onsave) ; automated prettiness ;;god ; run Emacs commands without modifier keys - ;;lispy ; vim for lisp, for people who don't like vim + lispy ; vim for lisp, for people who don't like vim ;;multiple-cursors ; editing in many places at once ;;objed ; text object editing for the innocent ;;parinfer ; turn lisp into python, sort of @@ -80,7 +80,7 @@ :checkers syntax ; tasing you for every semicolon you forget - ;;(spell +flyspell) ; tasing you for misspelling mispelling + (spell +flyspell) ; tasing you for misspelling mispelling ;;grammar ; tasing grammar mistake every you make :tools @@ -93,11 +93,11 @@ (eval +overlay) ; run code, run (also, repls) ;;gist ; interacting with github gists lookup ; navigate your code and its documentation - ;;lsp + lsp magit ; a git porcelain for Emacs ;;make ; run make tasks from Emacs - ;;pass ; password manager for nerds - ;;pdf ; pdf enhancements + pass ; password manager for nerds + pdf ; pdf enhancements ;;prodigy ; FIXME managing external services & code builders ;;rgb ; creating color strings ;;taskrunner ; taskrunner for all your projects @@ -136,7 +136,7 @@ ;;idris ; a language you can depend on ;;json ; At least it ain't XML ;;(java +meghanada) ; the poster child for carpal tunnel syndrome - javascript ; all(hope(abandon(ye(who(enter(here)))))) + (javascript +lsp) ; all(hope(abandon(ye(who(enter(here)))))) ;;julia ; a better, faster MATLAB ;;kotlin ; a better, slicker Java(Script) ;;latex ; writing papers in Emacs has never been so fun @@ -147,11 +147,11 @@ ;;nim ; python + lisp at the speed of c ;;nix ; I hereby declare "nix geht mehr!" ;;ocaml ; an objective camel - (org +roam) ; organize your plain life in plain text + (org +roam +hugo) ; organize your plain life in plain text ;;php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional - python ; beautiful is better than ugly + (python +lsp) ; beautiful is better than ugly ;;qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6 @@ -160,7 +160,7 @@ ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;scala ; java, but good - ;;(scheme +guile) ; a fully conniving family of lisps + (scheme +guile) ; a fully conniving family of lisps sh ; she sells {ba,z,fi}sh shells on the C xor ;;sml ;;solidity ; do you need a blockchain? No. @@ -180,7 +180,7 @@ ;;emms ;;everywhere ; *leave* Emacs!? You must be joking ;;irc ; how neckbeards socialize - ;;(rss +org) ; emacs as an RSS reader + (rss +org) ; emacs as an RSS reader ;;twitter ; twitter client https://twitter.com/vnought :config diff --git a/config/doom/packages.el b/config/doom/packages.el index b80e9cc..f9bcf25 100644 --- a/config/doom/packages.el +++ b/config/doom/packages.el @@ -48,3 +48,4 @@ ;(unpin! pinned-package another-pinned-package) ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) ;(unpin! t) +(package! lexic) |