emacs:highlight the current line by underline it -
in vim, can use "set cursorline" in dotvim file turn on. there way in emacs?
in .emacs, customize face hl-line-mode
, like:
(global-hl-line-mode 1) (set-face-attribute hl-line-face nil :underline t)
hl-line-face
variable stores name of face hl-line-mode
uses show current line. can customize :foreground
:background
, bunch of other attributes liking. check docs here.
the global-hl-line-mode
turns on highlighting current line in buffers. if want in buffers, turn on m-x hl-line-mode.
Comments
Post a Comment