This commit is contained in:
Valentin Boettcher 2019-10-14 13:12:13 +02:00
parent 060581e81b
commit c1cc36a670
2 changed files with 17 additions and 0 deletions

View file

@ -37,6 +37,11 @@ Taken from https://github.com/Atman50/emacs-config.
(setq auto-window-vscroll nil)
#+END_SRC
*** Tune GC
#+begin_src emacs-lisp :tangle yes
(setq gc-cons-threshold 20000000)
#+end_src
*** Disable Garbage Collection on Fontcache
#+BEGIN_SRC emacs-lisp :tangle yes
(setq inhibit-compacting-font-caches t)
@ -355,6 +360,9 @@ Support for the =Language Server Protocol=.
company-echo-metadata-frontend))
:hook (after-init . global-company-mode))
(use-package company-flx
:after company
:config (company-flx-mode +1))
#+END_SRC
Set up the company backends: (maybe do it the other way around...)

9
dots/scripts/clip2any.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
TMP=`mktemp`
RST=`mktemp`
xclip -o > $TMP
echo $TMP
pandoc "$@" $TMP > $RST
echo $RST
xclip -i < $RST