General minor refactor + cleanup

This commit is contained in:
Henrik Lissner 2017-09-28 18:08:20 +02:00
parent dd58479a18
commit a4ddb1bc9b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
11 changed files with 35 additions and 39 deletions

View file

@ -143,6 +143,8 @@ across windows."
(evil-define-interactive-code "<//g>"
:ex-arg global-match (list (when (evil-ex-p) evil-ex-argument)))
;; Forward declare these so that ex completion works, even if the autoloaded
;; functions aren't loaded yet.
(evil-set-command-properties
'+evil:align :move-point t :ex-arg 'buffer-match :ex-bang t :evil-mc t :keep-visual t :suppress-operator t)
(evil-set-command-properties

View file

@ -33,10 +33,12 @@ produces an url. Used by `+jump/online'.")
"Function to use to open search urls.")
(defvar +jump-function-alist nil
"TODO")
"An alist mapping major modes to jump function plists, describing what to do
with `+jump/definition', `+jump/references' and `+jump/documentation' are
called.")
(defvar-local +jump-current-functions nil
"TODO")
"The enabled jump functions for the current buffer.")
(def-setting! :jump (modes &rest plist)
"Definies a jump target for major MODES. PLIST accepts the following

View file

@ -1,10 +1,7 @@
;;; feature/version-control/config.el -*- lexical-binding: t; -*-
(unless (featurep! -git)
(load! +git))
;; TODO hg support
;; (unless (featurep! -hg)
;; (load! +hg))
(or (featurep! -git) (load! +git))
;; TODO (or (featurep! -hg) (load! +hg))
;;
(setq vc-make-backup-files nil)