Skip to content

Instantly share code, notes, and snippets.

@arubis
Created July 23, 2018 22:58
Show Gist options
  • Save arubis/6fc757ed0eb91d8476b5b00910601e65 to your computer and use it in GitHub Desktop.
Save arubis/6fc757ed0eb91d8476b5b00910601e65 to your computer and use it in GitHub Desktop.
(defconst crosshairs-packages
'(
(vline :location (recipe
:fetcher github
:repo "emacsmirror/emacswiki.org"
:branch "master"
:files ("vline.el")))
(col-highlight :location (recipe
:fetcher github
:repo "emacsmirror/emacswiki.org"
:branch "master"
:files ("col-highlight.el")))
(hl-line :location (recipe
:fetcher github
:repo "emacsmirror/emacswiki.org"
:branch "master"
:files ("hl-line.el")))
(hl-line+ :location (recipe
:fetcher github
:repo "emacsmirror/emacswiki.org"
:branch "master"
:files ("hl-line+.el")))
(crosshairs :location (recipe
:fetcher github
:repo "emacsmirror/emacswiki.org"
:branch "master"
:files ("crosshairs.el")))
)
)
(defun crosshairs/init-vline ()
(use-package vline
:defer t))
(defun crosshairs/init-col-highlight ()
(use-package col-highlight
:defer t))
(defun crosshairs/init-hl-line ()
(use-package hl-line
:defer t))
(defun crosshairs/init-hl-line+ ()
(use-package hl-line+
:defer t))
(defun crosshairs/init-crosshairs ()
(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")
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment