;; Setup font size based on emacs-font-size-pair
(set-font emacs-english-font emacs-cjk-font '(13 . 16))
;; Setup font size based on emacs-font-size-pair
(set-font emacs-english-font emacs-cjk-font '(13 . 16))
- (global-set-key (kbd "s-=") 'increase-emacs-font-size)
- (global-set-key (kbd "s--") 'decrease-emacs-font-size)
+ ;; (global-set-key (kbd "s-=") 'increase-emacs-font-size)
+ ;; (global-set-key (kbd "s--") 'decrease-emacs-font-size)
(setq org-use-speed-commands t)
(setq org-completion-use-ido t)
(setq org-startup-with-inline-images t)
(setq org-use-speed-commands t)
(setq org-completion-use-ido t)
(setq org-startup-with-inline-images t)
- ;; (setq org-emphasis-regexp-components
- ;; ;; markup 记号前后允许中文
- ;; (list (concat " \t('\"{" "[:nonascii:]")
- ;; (concat "- \t.,:!?;'\")}\\[" "[:nonascii:]")
- ;; " \t\r\n,\"'"
- ;; "."
- ;; 1))
- )
+ (setq org-startup-with-latex-preview t)
+ (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)))
("\\.\\(?:xcf\\)\\'" "gimp")
("\\.csv\\'" "libreoffice")
("\\.tex\\'" "pdflatex" "latex")
("\\.\\(?:xcf\\)\\'" "gimp")
("\\.csv\\'" "libreoffice")
("\\.tex\\'" "pdflatex" "latex")
- ;; (global-set-key (kbd "s-=") 'text-scale-increase)
- ;; (global-set-key (kbd "s--") 'text-scale-decrease)
+ (global-set-key (kbd "s-=") 'text-scale-increase)
+ (global-set-key (kbd "s--") 'text-scale-decrease)
;; Windows undo - redo
("u" (progn (winner-undo) (setq this-command 'winner-undo)) "undo")
("r" (progn (winner-redo) (setq this-command 'winner-redo)) "redo")
;; Windows undo - redo
("u" (progn (winner-undo) (setq this-command 'winner-undo)) "undo")
("r" (progn (winner-redo) (setq this-command 'winner-redo)) "redo")
;; ibuffer, dired, eshell, bookmarks
;; ("C-i" other-window nil :exit t)
("C-b" ido-switch-buffer nil :exit t)
;; ibuffer, dired, eshell, bookmarks
;; ("C-i" other-window nil :exit t)
("C-b" ido-switch-buffer nil :exit t)
- ("C-h" nil nil :exit t)
- ("C-j" nil nil :exit t)
- ;; ("C-k" nil :exit t)
- ("C-l" nil nil :exit t)
+ ("C-h" windmove-left nil :exit t)
+ ("C-j" windmove-down nil :exit t)
+ ("C-k" windmove-up :exit t)
+ ("C-l" windmove-right nil :exit t)