mild tuning ; shore up mobile support ; activate xclip on mobile
This commit is contained in:
parent
9a60998c25
commit
8d62f62ea4
|
@ -36,9 +36,12 @@
|
||||||
; Better fonts
|
; Better fonts
|
||||||
(setq org-src-fontify-natively t)
|
(setq org-src-fontify-natively t)
|
||||||
|
|
||||||
|
(use-package xclip :config (xclip-mode 1)))
|
||||||
|
|
||||||
; Setup xdg-open as the default for opening files (except for the few we want emacs to open native)
|
; Setup xdg-open as the default for opening files (except for the few we want emacs to open native)
|
||||||
; xdg-open is linked to termux-open by default ; if you need 'more' look into tmux-open and adjust accordingly
|
; xdg-open is linked to termux-open by default ; if you need 'more' look into tmux-open and adjust accordingly
|
||||||
; (add-to-list 'org-file-apps '("\\.doc.*" . "open %s"))
|
; (add-to-list 'org-file-apps '("\\.doc.*" . "open %s"))
|
||||||
|
(setq browse-url-browser-function 'browse-url-xdg-open)
|
||||||
(setq org-file-apps
|
(setq org-file-apps
|
||||||
'(;; default
|
'(;; default
|
||||||
(auto-mode . emacs)
|
(auto-mode . emacs)
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
||||||
(package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
(package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
||||||
(add-to-list 'package-selected-packages
|
(add-to-list 'package-selected-packages
|
||||||
'(doom-modeline magit helpful helm helm-org helm-ls-git projectile helm-projectile dired-rainbow dired-rainbow-listing dired-single dash s origami persp-mode persp-mode-projectile-bridge modus-themes transpose-frame use-package)
|
'(dired-single diredfl xclip doom-modeline magit helpful helm helm-org helm-ls-git projectile helm-projectile dired-rainbow dired-rainbow-listing dired-single dash s origami persp-mode persp-mode-projectile-bridge modus-themes transpose-frame use-package)
|
||||||
)
|
)
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
|
|
||||||
|
@ -56,7 +56,11 @@
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; dired adjustments
|
; dired adjustments
|
||||||
; use single buffer for nav damnit
|
(with-eval-after-load 'dired
|
||||||
|
(require 'dired-x)
|
||||||
|
;; Set dired-x global variables here. For example:
|
||||||
|
;; (setq dired-x-hands-off-my-keys nil)
|
||||||
|
)
|
||||||
(require 'dired-single)
|
(require 'dired-single)
|
||||||
(defun my-dired-init ()
|
(defun my-dired-init ()
|
||||||
"Bunch of stuff to run for dired, either immediately or when it's
|
"Bunch of stuff to run for dired, either immediately or when it's
|
||||||
|
|
Reference in a new issue