Emacs: enable visual-line-mode in terminal
This commit is contained in:
parent
684f0700bc
commit
9664b7b92e
1 changed files with 5 additions and 2 deletions
|
@ -1204,8 +1204,11 @@
|
||||||
ad-do-it))
|
ad-do-it))
|
||||||
(ad-activate 'term-sentinel)
|
(ad-activate 'term-sentinel)
|
||||||
|
|
||||||
;; disable nlinum in shell
|
(add-hook 'term-mode-hook (lambda ()
|
||||||
:hook (term-mode-hook . (lambda () (nlinum-mode -1)))
|
;; disable nlinum in shell
|
||||||
|
(nlinum-mode -1)
|
||||||
|
;; enable visual line mode
|
||||||
|
(visual-line-mode 1)))
|
||||||
|
|
||||||
:bind (("C-c s" . ansi-term)
|
:bind (("C-c s" . ansi-term)
|
||||||
:map term-raw-map
|
:map term-raw-map
|
||||||
|
|
Loading…
Reference in a new issue