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

29
init.el
View File

@ -81,8 +81,8 @@
;;ansible ;;ansible
biblio biblio
debugger ; FIXME stepping through code, to help you add bugs debugger ; FIXME stepping through code, to help you add bugs
;;direnv direnv
docker ;;docker
;;editorconfig ; let someone else argue about tabs vs spaces ;;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) (eval +overlay) ; run code, run (also, repls)
@ -122,6 +122,7 @@
;;(haskell +dante) ; a language that's lazier than I am ;;(haskell +dante) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python ;;hy ; readability of scheme w/ speed of python
;;idris ; ;;idris ;
json ; At least it ain't XML
(java +meghanada) ; the poster child for carpal tunnel syndrome (java +meghanada) ; the poster child for carpal tunnel syndrome
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here)))))) (javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB ;;julia ; a better, faster MATLAB
@ -131,36 +132,36 @@
;;factor ;;factor
;;ledger ; an accounting system in Emacs ;;ledger ; an accounting system in Emacs
;;lua ; one-based indices? one-based indices ;;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 ;;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 ;;ocaml ; an objective camel
(org ; organize your plain life in plain text (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 ;;+hugo ; use Emacs for hugo blogging
;;+ipython ; ipython/jupyter support for babel ;;+ipython ; ipython/jupyter support for babel
+pandoc ; export-with-pandoc support +pandoc ; export-with-pandoc support
;;+pomodoro ; be fruitful with the tomato technique ;;+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 ;;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 ;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional ;;purescript ; javascript, but functional
(python +lsp) ; beautiful is better than ugly (python +lsp) ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever ;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs ;;racket ; a DSL for DSLs
rest ; Emacs as a REST client rest ; Emacs as a REST client
;;rst ; ReST in peace ;;rst ; ReST in peace
;;ruby ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} ;;ruby ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good ;;scala ; java, but good
;;scheme ; a fully conniving family of lisps ;;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. ;;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. ;;terra ; Earth and Moon in alignment for performance.
web ; the tubes web ; the tubes
yaml ; JSON, but readable yaml ; JSON, but readable
:email :email
;;(mu4e +gmail) ;;(mu4e +gmail)

View File

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