New answers tagged

1 vote
Accepted

pdf-tools: set a number of colors readily available for highlighting

Set your preferred colours (setq pdf-annot-color-history '("red" "yellow" "blue")) While viewing the pdf file, do M-x pdf-annot-minor-mode Do C-c C-a m, which is same ...
user avatar
0 votes
Accepted

pdf-tools: customize highlight color

Here's what I have in my init file; modify as appropriate: (setq pdf-annot-default-annotation-properties '((t (label . "Pablo")) (text (color . "#ff0000") ...
user avatar
  • 179
1 vote
Accepted

Using highlight-sexp as buffer local

Interactively, just do M-x highlight-sexp-mode in the target buffer to toggle the mode. From elisp, (highlight-sexp-mode 1) turns it on and (highlight-sexp-mode -1) turns it off. In both cases, ...
user avatar
0 votes

Highlighting by context

You don't specify what you mean by "highlighting". If you mean select as the active region (which also lets C-x C-x take you to its start/end), then this can help: If you use library thing-...
user avatar
  • 69.7k
0 votes

Highlight single character at column 80

I think I finally found the answer, it is called "hl-fill-column", and it is a mode that does the invert of "fill-column-indicator-mode", though I suspect it uses "fill-column-...
user avatar
  • 101

Top 50 recent answers are included