adding hl-line-mode
This commit is contained in:
parent
1ef1dbed58
commit
dab319bbf8
2 changed files with 36 additions and 17 deletions
31
README.org
31
README.org
|
@ -537,6 +537,29 @@ Visual fill column does a lot of the same as olivetti, but works with visual lin
|
|||
:after org)
|
||||
#+end_src
|
||||
|
||||
*** Lin and Pulsar
|
||||
These two packages created by Prot are interesting to me and may help to make sure I do not loose my place in emacs so much.
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(use-package lin
|
||||
:config
|
||||
(setq lin-mode-hooks
|
||||
'(bongo-mode-hook
|
||||
dired-mode-hook
|
||||
elfeed-search-mode-hook
|
||||
git-rebase-mode-hook
|
||||
ibuffer-mode-hook
|
||||
ilist-mode-hook
|
||||
ledger-report-mode-hook
|
||||
log-view-mode-hook
|
||||
magit-log-mode-hook
|
||||
mu4e-headers-mode
|
||||
notmuch-search-mode-hook
|
||||
notmuch-tree-mode-hook
|
||||
occur-mode-hook
|
||||
org-agenda-mode-hook
|
||||
tabulated-list-mode-hook)))
|
||||
#+end_src
|
||||
|
||||
** Completion
|
||||
My completion framework is a combination of packages so that everything remains seperate and lightweight.
|
||||
|
||||
|
@ -1171,6 +1194,12 @@ Before getting into languages, often times compilation of things use ansi-colors
|
|||
(add-hook 'comint-mode-hook 'ansi-color-for-comint-mode-on)
|
||||
#+END_SRC
|
||||
|
||||
Let's also set =hl-line-mode= to be on for comint and prog modes
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook 'comint-mode-hook 'hl-line-mode)
|
||||
(add-hook 'prog-mode-hook 'hl-line-mode)
|
||||
#+END_SRC
|
||||
|
||||
*** C++
|
||||
In c++ I just want to make sure lsp is called when enter cc-mode
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
@ -1658,6 +1687,8 @@ Part of this config includes some special capture templates for my work as a you
|
|||
(add-hook 'org-agenda-finalize-hook 'evil-normal-state)
|
||||
(add-hook 'org-agenda-finalize-hook 'chris/org-agenda-setup)
|
||||
|
||||
(advice-add 'org-agenda-todo :after #'org-save-all-org-buffers)
|
||||
|
||||
(setq org-refile-targets '((org-agenda-files . (:maxlevel . 6))))
|
||||
|
||||
(setq org-agenda-window-setup 'current-window)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue