projects
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Emacs - modify the default face of search highlight
[dotfiles.git]
/
emacs.d
/
config.org
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
75597aa
..
e25b01e
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-54,6
+54,9
@@
Set system PATH and emacs exec path
;;supress the redefined warning at startup
(setq ad-redefinition-action 'accept)
;;supress the redefined warning at startup
(setq ad-redefinition-action 'accept)
+
+ (setq scroll-step 1)
+ (setq scroll-margin 5)
#+END_SRC
*** Custom file
#+END_SRC
*** Custom file
@@
-355,6
+358,11
@@
improve color for org-mode
#+END_SRC
#+END_SRC
+search text theme
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+ (set-face-attribute 'lazy-highlight nil :background "yellow" :foreground "black" :weight 'bold)
+#+END_SRC
+
** Rainbow-delimiter
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
** Rainbow-delimiter
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
@@
-422,6
+430,8
@@
clean mode line, Refer to [[https://www.masteringemacs.org/article/hiding-replac
(irony-mode . "")
(page-break-lines-mode . "")
(yas-minor-mode . "y")
(irony-mode . "")
(page-break-lines-mode . "")
(yas-minor-mode . "y")
+ ;; default jj
+ (evil-escape-mode . "")
;; Major modes
(lisp-interaction-mode . "λ")
(hi-lock-mode . "")
;; Major modes
(lisp-interaction-mode . "λ")
(hi-lock-mode . "")
@@
-545,6
+555,7
@@
Revised powerline-center-theme
))
(center (list (powerline-raw " " face1)
(funcall separator-left face1 face2)
))
(center (list (powerline-raw " " face1)
(funcall separator-left face1 face2)
+ (powerline-raw (when (and (boundp 'evil-mode) evil-mode) evil-mode-line-tag) face2)
(when (and (boundp 'erc-track-minor-mode) erc-track-minor-mode)
(powerline-raw erc-modified-channels-object face2 'l))
(powerline-major-mode face2 'l)
(when (and (boundp 'erc-track-minor-mode) erc-track-minor-mode)
(powerline-raw erc-modified-channels-object face2 'l))
(powerline-major-mode face2 'l)
@@
-1257,6
+1268,8
@@
set default eshell history folder
;; (add-hook 'eshell-mode-hook (lambda ()
;; (local-set-key (kbd "C-l") 'sd/eshell-clear-buffer)))
(add-hook 'eshell-mode-hook (apply-partially #'local-set-key (kbd "C-l") 'sd/eshell-clear-buffer))
;; (add-hook 'eshell-mode-hook (lambda ()
;; (local-set-key (kbd "C-l") 'sd/eshell-clear-buffer)))
(add-hook 'eshell-mode-hook (apply-partially #'local-set-key (kbd "C-l") 'sd/eshell-clear-buffer))
+ ;; (add-hook 'eshell-mode-map (lambda () (interactive)
+ ;; (define-key eshell-mode-map (kbd "<tab>") 'completion-at-point)))
#+END_SRC
** Toggle Eshell
#+END_SRC
** Toggle Eshell
@@
-2107,6
+2120,7
@@
bindings in =lispy-mode-map= after loaded. see [[http://stackoverflow.com/questi
(use-package lispy
:ensure t
:init
(use-package lispy
:ensure t
:init
+ (setq lispy-delete-backward-recenter 0)
(with-eval-after-load "lispy"
(define-key lispy-mode-map (kbd "M-o") nil)
(define-key lispy-mode-map (kbd "g") 'special-lispy-goto-local)
(with-eval-after-load "lispy"
(define-key lispy-mode-map (kbd "M-o") nil)
(define-key lispy-mode-map (kbd "g") 'special-lispy-goto-local)
@@
-3519,8
+3533,7
@@
Refer [[https://github.com/fnwiya/dotfiles/blob/c9ca79f1b22c919d9f4c3a0f944ba828
#+END_SRC
* Evil Mode
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
#+END_SRC
* Evil Mode
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
- ;; (org-babel-load-file "~/.emacs.d/emacs-evil.org")
-
+ (org-babel-load-file "~/.emacs.d/emacs-evil.org")
#+END_SRC
#+END_SRC
@@
-3537,3
+3550,9
@@
Use =display-graphic-p= instead of =window-system=
blog with modify list
draw one line top of the windows
blog with modify list
draw one line top of the windows
+* test
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+ ;; test local mode line
+ ;; (add-to-list 'load-path "~/.emacs.d/elisp")
+ ;; (require 'my-mode-line)
+#+END_SRC