mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-14 08:01:35 +09:00
Emacs : some updates
This commit is contained in:
@ -21,6 +21,10 @@
|
||||
;;(require 'rational-windows)
|
||||
(require 'rational-use-package)
|
||||
|
||||
;; Load auctex
|
||||
(load "auctex.el" nil t t)
|
||||
(load "preview-latex.el" nil t t)
|
||||
|
||||
;; backup in one place. flat, no tree structure
|
||||
(setq backup-directory-alist '(("." . "~/.emacs.rational.d/backups")))
|
||||
(customize-set-variable
|
||||
@ -383,11 +387,11 @@
|
||||
"avi" "wmv" "wav" "mov" "flv"
|
||||
"ogm" "ogg" "mkv"))
|
||||
"mpv"
|
||||
'(file))
|
||||
(list (openwith-make-extension-regexp
|
||||
'("pdf"))
|
||||
"evince"
|
||||
'(file)))))
|
||||
;;(list (openwith-make-extension-regexp
|
||||
;; '("pdf"))
|
||||
;; "evince"
|
||||
;; '(file)))))
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;;; Magit
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
@ -497,7 +501,12 @@
|
||||
|
||||
(use-package org-superstar :straight t :after org :hook (org-mode . org-superstar-mode))
|
||||
(use-package org-attach-screenshot :straight t)
|
||||
(use-package org-download :straight t)
|
||||
(use-package org-download
|
||||
:straight t
|
||||
:config
|
||||
(setq-default org-download-image-dir "./images")
|
||||
(setq-default org-download-heading-lvl nil))
|
||||
(add-hook 'dired-mode-hook 'org-download-enable)
|
||||
|
||||
(defun efs/org-mode-visual-fill ()
|
||||
(setq visual-fill-column-width 100
|
||||
@ -671,7 +680,7 @@
|
||||
;; Python & Jupyter
|
||||
(python . t)
|
||||
(jupyter . t)))
|
||||
(org-babel-jupyter-override-src-block "python")
|
||||
;;(org-babel-jupyter-override-src-block "python")
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;;; Eshell
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
@ -65,8 +65,8 @@
|
||||
(setq exwm-workspace-warp-cursor t)
|
||||
|
||||
;; Window focus should follow the mouse pointer
|
||||
(setq mouse-autoselect-window t
|
||||
focus-follows-mouse t)
|
||||
;;(setq mouse-autoselect-window t
|
||||
;; focus-follows-mouse t)
|
||||
|
||||
(add-hook 'exwm-floating-setup-hook
|
||||
(lambda ()
|
||||
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
||||
.ssh/*
|
||||
!.ssh/config
|
||||
/.emacs.rational.d/backups/
|
||||
/.emacs.rational.d/var/
|
||||
/.emacs.rational.d/undo/
|
||||
|
||||
Reference in New Issue
Block a user