Emacs: Own package definition for hl-line.
This commit is contained in:
parent
992fb95e73
commit
8dd8947c47
|
@ -1,6 +1,6 @@
|
|||
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-26T13:18:43+0100>
|
||||
;; Time-stamp: <2020-11-29T08:38:28+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -35,13 +35,18 @@
|
|||
(set-scroll-bar-mode 'right))
|
||||
(add-to-list 'default-frame-alist '(scroll-bar-width . 8))
|
||||
(my/set-default-fonts)
|
||||
(global-hl-line-mode t) ; Highlight current line.
|
||||
(show-paren-mode t) ; Visualize matching parens.
|
||||
(setq frame-title-format ; Show filename in frame title.
|
||||
'(multiple-frames
|
||||
"%b" ("" invocation-name "@" system-name
|
||||
" – " buffer-file-truename)))))
|
||||
|
||||
;; Highlight current line.
|
||||
(use-package hl-line
|
||||
:straight (:type built-in)
|
||||
:demand t
|
||||
:config (global-hl-line-mode t))
|
||||
|
||||
;; Icon font (required by doom and others).
|
||||
(use-package all-the-icons
|
||||
:demand t
|
||||
|
@ -96,7 +101,7 @@
|
|||
|
||||
;; Neat modeline.
|
||||
(use-package doom-modeline
|
||||
:after (all-the-icons)
|
||||
:after (all-the-icons hl-line)
|
||||
:init (column-number-mode t) ; Show column number.
|
||||
:custom ((doom-modeline-minor-modes t) ; Show minor modes.
|
||||
(doom-modeline-buffer-file-name-style 'truncate-all)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-26T13:13:57+0100>
|
||||
;; Time-stamp: <2020-11-29T08:51:14+0100>
|
||||
|
||||
;;; Commentary:
|
||||
;; * treemacs
|
||||
|
@ -13,7 +13,7 @@
|
|||
(require 'basics/package-management)
|
||||
|
||||
(use-package treemacs
|
||||
:after (display-line-numbers doom-themes)
|
||||
:after (display-line-numbers doom-themes hl-line)
|
||||
;; ;; Start with a clean workspace list.
|
||||
;; :init (delete-file (expand-file-name ".cache/treemacs-persist"
|
||||
;; user-emacs-directory))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-26T12:05:53+0100>
|
||||
;; Time-stamp: <2020-11-29T08:21:09+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -75,6 +75,7 @@
|
|||
(adoc-mode . yas-minor-mode))) ; Enable yasnippets.
|
||||
|
||||
(use-package markdown-mode
|
||||
:after (hl-line)
|
||||
:custom (markdown-command "cmark")
|
||||
:custom-face
|
||||
;; Style headers.
|
||||
|
|
Loading…
Reference in New Issue
Block a user