Only show line numbers in prog mode
This commit is contained in:
parent
cf05ef03b1
commit
9fcb328eef
2 changed files with 4 additions and 2 deletions
|
|
@ -22,6 +22,7 @@
|
|||
(define-key markdown-mode-map (kbd "C-c C-v") 'markdown-preview))
|
||||
|
||||
(add-hook 'markdown-mode-hook 'activate-markdown-mode)
|
||||
(add-hook 'markdown-mode-hook 'display-line-numbers-mode)
|
||||
|
||||
(provide '+custom-lang-markdown)
|
||||
;;; markdown.el ends here
|
||||
|
|
|
|||
|
|
@ -63,8 +63,9 @@
|
|||
; Do not create .#foo.file lock files
|
||||
(setq create-lockfiles nil)
|
||||
|
||||
; Enable line numbers and show cursors position
|
||||
(global-display-line-numbers-mode t)
|
||||
;; Enable line numbers and show cursors position
|
||||
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
||||
;; (global-display-line-numbers-mode t)
|
||||
(column-number-mode t)
|
||||
|
||||
;; Turn off sounds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue