Skip to content

Instantly share code, notes, and snippets.

@arubis
Created July 23, 2018 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arubis/a61dca1a31752dbcc37ad560ccb1a97f to your computer and use it in GitHub Desktop.
Save arubis/a61dca1a31752dbcc37ad560ccb1a97f to your computer and use it in GitHub Desktop.
(defconst crosshairs-packages
'(
(vline :location (recipe
:fetcher github
:repo "emacsmirror/emacswiki.org"
:files ("vline.el")))
(col-highlight :location (recipe
:fetcher github
:repo "emacsmirror/emacswiki.org"
:files ("col-highlight.el")))
(hl-line :location (recipe
:fetcher github
:repo "emacsmirror/emacswiki.org"
:files ("hl-line.el")))
(hl-line+ :location (recipe
:fetcher github
:repo "emacsmirror/emacswiki.org"
:files ("hl-line+.el")))
(crosshairs :location (recipe
:fetcher github
:repo "emacsmirror/emacswiki.org"
:files ("crosshairs.el")))
)
)
(defun init-crosshairs ()
(use-package vline
:defer t
:init
;;
)
(use-package col-highlight
:defer t
:init
;;
)
(use-package hl-line
:defer t
:init
;;
)
(use-package hl-line+
:defer t
:init
;;
)
(use-package crosshairs
:defer t
:commands (crosshairs crosshairs-mode crosshairs-flash crosshairs-highlight)
:init
(spacemacs|add-toggle crosshairs
:mode crosshairs-mode
:documentation "Highlight cursor position with crosshairs."
:evil-leader "thx")
))
@Nolski
Copy link

Nolski commented Jan 28, 2019

Hey @arubis did you ever get this to work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment