Minor refactors & reformatting across the board

This commit is contained in:
Henrik Lissner 2019-11-15 22:16:09 -05:00
parent bd4755123f
commit 449ddb986c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 7 additions and 7 deletions

View file

@ -35,7 +35,7 @@ workspace."
;; ;;
;; Project search ;;; Project search
(defun +helm-ag-search-args (all-files-p recursive-p) (defun +helm-ag-search-args (all-files-p recursive-p)
(list (concat "ag " (if IS-WINDOWS "--vimgrep" "--nocolor --nogroup")) (list (concat "ag " (if IS-WINDOWS "--vimgrep" "--nocolor --nogroup"))

View file

@ -211,7 +211,7 @@ If ARG (universal argument), open selection in other-window."
;; ;;
;; File searching ;;; File searching
;;;###autoload ;;;###autoload
(defun +ivy/projectile-find-file () (defun +ivy/projectile-find-file ()

View file

@ -80,7 +80,8 @@ more information on modifiers."
(when (and (not (string= path "")) (equal (substring path -1) "/")) (when (and (not (string= path "")) (equal (substring path -1) "/"))
(setq path (substring path 0 -1)))) (setq path (substring path 0 -1))))
(setq file-name (setq file-name
(replace-regexp-in-string (format "\\(?:^\\|[^\\\\]\\)\\(%s\\)" (replace-regexp-in-string
(format "\\(?:^\\|[^\\\\]\\)\\(%s\\)"
(regexp-quote (string-trim-left (car match)))) (regexp-quote (string-trim-left (car match))))
path file-name t t 1)))) path file-name t t 1))))
(replace-regexp-in-string regexp "\\1" file-name t))) (replace-regexp-in-string regexp "\\1" file-name t)))

View file

@ -23,7 +23,6 @@
(buffer-substring-no-properties (point-min) (point-max)))) (buffer-substring-no-properties (point-min) (point-max))))
;; `pass'
(after! pass (after! pass
(set-evil-initial-state! 'pass-mode 'emacs) (set-evil-initial-state! 'pass-mode 'emacs)
(set-popup-rule! "^\\*Password-Store" :side 'left :size 0.25 :quit nil) (set-popup-rule! "^\\*Password-Store" :side 'left :size 0.25 :quit nil)