Enable direnv and fix language option in eisvogel

This commit is contained in:
coolneng 2020-05-24 08:15:14 +02:00
parent 682675cbfd
commit efefbc80f2
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
4 changed files with 19 additions and 17 deletions

2
+ui.el
View File

@ -15,3 +15,5 @@
doom-modeline-persp-name t
doom-modeline-buffer-encoding nil)
(setq evil-command-window-height 3)
;; Hide direnv environment variables popup
(setq direnv-always-show-summary nil)

View File

@ -19,9 +19,9 @@
;; Load org configuration
(after! org (load! "+org"))
;; Enter writeroom and disable completion and line numbers in Markdown
(add-hook 'markdown-mode-hook (lambda () (display-line-numbers-mode -1)))
(after! markdown
(set-company-backend! 'markdown-mode nil)
(add-hook 'markdown-mode-hook (lambda () (display-line-numbers-mode -1)))
(add-hook 'markdown-mode-hook 'global-writeroom-mode))
;; Reload file from disk without confirmation
(defun revert-buffer-no-confirm ()
@ -42,7 +42,6 @@
(setq compilation-finish-functions
(lambda (buf str)
(if (null (string-match ".*exited abnormally.*" str))
;;no errors, make the compilation window go away in a few seconds
(progn
(run-at-time
"0.5 sec" nil 'delete-windows-on

29
init.el
View File

@ -81,8 +81,8 @@
;;ansible
biblio
debugger ; FIXME stepping through code, to help you add bugs
;;direnv
docker
direnv
;;docker
;;editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
@ -122,6 +122,7 @@
;;(haskell +dante) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ;
json ; At least it ain't XML
(java +meghanada) ; the poster child for carpal tunnel syndrome
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB
@ -131,36 +132,36 @@
;;factor
;;ledger ; an accounting system in Emacs
;;lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
nix ; I hereby declare "nix geht mehr!"
nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel
(org ; organize your plain life in plain text
;;+dragndrop ; drag & drop files/images into org buffers
(org ; organize your plain life in plain text
+dragndrop ; drag & drop files/images into org buffers
;;+hugo ; use Emacs for hugo blogging
;;+ipython ; ipython/jupyter support for babel
+pandoc ; export-with-pandoc support
+pandoc ; export-with-pandoc support
;;+pomodoro ; be fruitful with the tomato technique
+present) ; using org-mode for presentations
+present) ; using org-mode for presentations
;;perl ; write code no one else can comprehend
php ; perl's insecure younger brother
(php +lsp) ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
(python +lsp) ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
rest ; Emacs as a REST client
rest ; Emacs as a REST client
;;rst ; ReST in peace
;;ruby ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good
;;scheme ; a fully conniving family of lisps
sh ; she sells {ba,z,fi}sh shells on the C xor
sh ; she sells {ba,z,fi}sh shells on the C xor
;;solidity ; do you need a blockchain? No.
swift ; who asked for emoji variables?
swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance.
web ; the tubes
yaml ; JSON, but readable
web ; the tubes
yaml ; JSON, but readable
:email
;;(mu4e +gmail)

View File

@ -6,10 +6,10 @@
#+SUBTITLE:
#+AUTHOR: Amin Kasrou Aouam
#+DATE: `(format-time-string "%Y-%m-%d")`
#+LANGUAGE: es
#+PANDOC_OPTIONS: template:~/.pandoc/templates/eisvogel.latex
#+PANDOC_OPTIONS: listings:t
#+PANDOC_OPTIONS: toc:t
#+PANDOC_METADATA: lang=es
#+PANDOC_METADATA: titlepage:t
#+PANDOC_METADATA: listings-no-page-break:t
#+PANDOC_METADATA: toc-own-page:t