Minor refactors & reformatting across the board
This commit is contained in:
parent
bd4755123f
commit
449ddb986c
5 changed files with 7 additions and 7 deletions
|
@ -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"))
|
||||||
|
|
|
@ -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 ()
|
||||||
|
|
|
@ -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)))
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue