Disabled pdf tools and vterm on android
This commit is contained in:
parent
12c91c0ec6
commit
c24cc21434
1 changed files with 6 additions and 3 deletions
|
|
@ -444,6 +444,7 @@ The modeline is the bottom status bar that appears in Emacs windows. While you
|
||||||
* PDF Tools
|
* PDF Tools
|
||||||
[[https://github.com/vedang/pdf-tools][pdf-tools]] is a replacement of DocView for viewing PDF files inside Emacs. It uses the poppler library, which also means that ‘pdf-tools’ can by used to modify PDFs. I use to disable ‘display-line-numbers-mode’ in ‘pdf-view-mode’ because line numbers crash it.
|
[[https://github.com/vedang/pdf-tools][pdf-tools]] is a replacement of DocView for viewing PDF files inside Emacs. It uses the poppler library, which also means that ‘pdf-tools’ can by used to modify PDFs. I use to disable ‘display-line-numbers-mode’ in ‘pdf-view-mode’ because line numbers crash it.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(unless (string-equal system-type "android") ;; fails to compile
|
||||||
(use-package pdf-tools
|
(use-package pdf-tools
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
:defer t
|
||||||
|
|
@ -459,7 +460,7 @@ The modeline is the bottom status bar that appears in Emacs windows. While you
|
||||||
|
|
||||||
(add-hook 'pdf-view-mode-hook #'(lambda () (interactive) (display-line-numbers-mode -1)
|
(add-hook 'pdf-view-mode-hook #'(lambda () (interactive) (display-line-numbers-mode -1)
|
||||||
(blink-cursor-mode -1)
|
(blink-cursor-mode -1)
|
||||||
(doom-modeline-mode -1)))
|
(doom-modeline-mode -1))))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
* RAINBOW DELIMITERS
|
* RAINBOW DELIMITERS
|
||||||
|
|
@ -633,16 +634,18 @@ Eshell is an Emacs 'shell' that is written in Elisp.
|
||||||
Vterm is a terminal emulator within Emacs. The 'shell-file-name' setting sets the shell to be used in M-x shell, M-x term, M-x ansi-term and M-x vterm. By default, the shell is set to 'fish' but could change it to 'bash' or 'zsh' if you prefer.
|
Vterm is a terminal emulator within Emacs. The 'shell-file-name' setting sets the shell to be used in M-x shell, M-x term, M-x ansi-term and M-x vterm. By default, the shell is set to 'fish' but could change it to 'bash' or 'zsh' if you prefer.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(unless (string-equal system-type "android") ;;Fails to compile
|
||||||
(use-package vterm
|
(use-package vterm
|
||||||
:ensure t
|
:ensure t
|
||||||
;;:config
|
;;:config
|
||||||
)
|
))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Vterm-Toggle
|
** Vterm-Toggle
|
||||||
[[https://github.com/jixiuf/vterm-toggle][vterm-toggle]] toggles between the vterm buffer and whatever buffer you are editing.
|
[[https://github.com/jixiuf/vterm-toggle][vterm-toggle]] toggles between the vterm buffer and whatever buffer you are editing.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(unless (string-equal system-type "android")
|
||||||
(use-package vterm-toggle
|
(use-package vterm-toggle
|
||||||
:ensure t
|
:ensure t
|
||||||
:after vterm
|
:after vterm
|
||||||
|
|
@ -661,7 +664,7 @@ Vterm is a terminal emulator within Emacs. The 'shell-file-name' setting sets t
|
||||||
;;(direction . bottom)
|
;;(direction . bottom)
|
||||||
;;(dedicated . t) ;dedicated is supported in emacs27
|
;;(dedicated . t) ;dedicated is supported in emacs27
|
||||||
(reusable-frames . visible)
|
(reusable-frames . visible)
|
||||||
(window-height . 0.3))))
|
(window-height . 0.3)))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* SUDO EDIT
|
* SUDO EDIT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue