mirror of
https://github.com/vale981/dotfiles
synced 2025-03-06 01:51:40 -05:00
updates
This commit is contained in:
parent
060581e81b
commit
c1cc36a670
2 changed files with 17 additions and 0 deletions
|
@ -37,6 +37,11 @@ Taken from https://github.com/Atman50/emacs-config.
|
||||||
(setq auto-window-vscroll nil)
|
(setq auto-window-vscroll nil)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
*** Tune GC
|
||||||
|
#+begin_src emacs-lisp :tangle yes
|
||||||
|
(setq gc-cons-threshold 20000000)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
*** Disable Garbage Collection on Fontcache
|
*** Disable Garbage Collection on Fontcache
|
||||||
#+BEGIN_SRC emacs-lisp :tangle yes
|
#+BEGIN_SRC emacs-lisp :tangle yes
|
||||||
(setq inhibit-compacting-font-caches t)
|
(setq inhibit-compacting-font-caches t)
|
||||||
|
@ -355,6 +360,9 @@ Support for the =Language Server Protocol=.
|
||||||
company-echo-metadata-frontend))
|
company-echo-metadata-frontend))
|
||||||
|
|
||||||
:hook (after-init . global-company-mode))
|
:hook (after-init . global-company-mode))
|
||||||
|
(use-package company-flx
|
||||||
|
:after company
|
||||||
|
:config (company-flx-mode +1))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Set up the company backends: (maybe do it the other way around...)
|
Set up the company backends: (maybe do it the other way around...)
|
||||||
|
|
9
dots/scripts/clip2any.sh
Executable file
9
dots/scripts/clip2any.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
TMP=`mktemp`
|
||||||
|
RST=`mktemp`
|
||||||
|
xclip -o > $TMP
|
||||||
|
echo $TMP
|
||||||
|
pandoc "$@" $TMP > $RST
|
||||||
|
echo $RST
|
||||||
|
xclip -i < $RST
|
Loading…
Add table
Reference in a new issue