some tweaks to markdown-mode and pdf-tools
This commit is contained in:
parent
d4b1faee25
commit
0d3c41c5d1
2 changed files with 11 additions and 55 deletions
14
README.org
14
README.org
|
@ -356,7 +356,7 @@ Let's use =no-littering= in order to stop emacs from filling all our folders wit
|
|||
|
||||
** Ligatures
|
||||
Here let's try to add ligatures to our font system since the VictorMono Nerd Font supports all ligatures being a "Nerd Font".
|
||||
#+begin_src emacs-lisp
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(let ((alist '((?! . "\\(?:!\\(?:==\\|[!=]\\)\\)")
|
||||
(?# . "\\(?:#\\(?:###?\\|_(\\|[!#(:=?[_{]\\)\\)")
|
||||
(?$ . "\\(?:\\$>\\)")
|
||||
|
@ -2088,8 +2088,8 @@ It's probably smart to have markdown.
|
|||
(use-package markdown-mode
|
||||
:mode ("\\.md\\'" . markdown-mode)
|
||||
:config
|
||||
(setq markdown-fontify-code-blocks-natively t))
|
||||
|
||||
(setq markdown-fontify-code-blocks-natively t)
|
||||
(add-hook 'markdown-mode-hook 'chris/org-mode-setup))
|
||||
#+end_src
|
||||
|
||||
*** QML
|
||||
|
@ -2765,12 +2765,10 @@ Using sly makes a lot better common-lisp interaction within emacs.
|
|||
Let's use pdf-tools for a lot better interaction with pdfs.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package pdf-tools
|
||||
:straight (:host github
|
||||
:repo "flatwhatson/pdf-tools"
|
||||
:branch "fix-macros")
|
||||
:defer 1
|
||||
:config
|
||||
:ensure nil
|
||||
:init
|
||||
(pdf-tools-install)
|
||||
:config
|
||||
(custom-set-variables '(pdf-misc-print-program "/usr/bin/lpr")
|
||||
'(pdf-misc-print-program-args (quote ("-o media=Letter" "-o fitplot"))))
|
||||
(add-hook 'pdf-view-mode 'pdf-view-fit-page-to-window))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue