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

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
@ -136,14 +137,14 @@
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
+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
;;+pomodoro ; be fruitful with the tomato technique
+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

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