mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Add anzu package
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
;; Modules
|
||||
(require 'siren-aliases)
|
||||
(require 'siren-anzu)
|
||||
(require 'siren-avy)
|
||||
(require 'siren-browse-kill-ring)
|
||||
(require 'siren-company)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
'(magit-commit-arguments (quote ("-S")))
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(flycheck-package flycheck-gometalinter go-projectile gotest go-rename go-guru go-eldoc company-go ace-window phi-search magit-gh-pulls twilight-bright-theme twilight-anti-bright-theme yaml-mode thrift scss-mode sass-mode yari ruby-tools ruby-refactor rspec-mode inf-ruby php-mode plantuml-mode markdown-mode lua-mode web-mode json-mode eslintd-fix go-mode gitignore-mode gitconfig-mode dockerfile-mode feature-mode highlight-symbol highlight-indent-guides highlight-indentation flycheck coffee-mode ecb zoom-window yasnippet buffer-move toggle-quotes smart-shift expand-region move-dup string-inflection rainbow-mode package-lint smartparens multiple-cursors magit linum-relative smex ido-vertical-mode ido-completing-read+ helm-swoop helm-projectile helm-open-github helm-gtags helm-describe-modes helm-descbinds helm-ag helm haml-mode imenu-anywhere github-browse-file git-timemachine full-ack hideshowvis evil editorconfig dumb-jump direx dired+ diff-hl fill-column-indicator company browse-kill-ring avy use-package smart-mode-line exec-path-from-shell diminish dash)))
|
||||
(anzu flycheck-package flycheck-gometalinter go-projectile gotest go-rename go-guru go-eldoc company-go ace-window phi-search magit-gh-pulls twilight-bright-theme twilight-anti-bright-theme yaml-mode thrift scss-mode sass-mode yari ruby-tools ruby-refactor rspec-mode inf-ruby php-mode plantuml-mode markdown-mode lua-mode web-mode json-mode eslintd-fix go-mode gitignore-mode gitconfig-mode dockerfile-mode feature-mode highlight-symbol highlight-indent-guides highlight-indentation flycheck coffee-mode ecb zoom-window yasnippet buffer-move toggle-quotes smart-shift expand-region move-dup string-inflection rainbow-mode package-lint smartparens multiple-cursors magit linum-relative smex ido-vertical-mode ido-completing-read+ helm-swoop helm-projectile helm-open-github helm-gtags helm-describe-modes helm-descbinds helm-ag helm haml-mode imenu-anywhere github-browse-file git-timemachine full-ack hideshowvis evil editorconfig dumb-jump direx dired+ diff-hl fill-column-indicator company browse-kill-ring avy use-package smart-mode-line exec-path-from-shell diminish dash)))
|
||||
'(plantuml-jar-path "/usr/local/Cellar/plantuml/8048/plantuml.8048.jar")
|
||||
'(siren-rubocop-autocorrect-on-save nil))
|
||||
(custom-set-faces
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; Common aliases I use all the time.
|
||||
;; Common aliases for built-in commands.
|
||||
|
||||
;;; Code:
|
||||
|
||||
;; Text Manipulation
|
||||
(defalias 'rs 'replace-string)
|
||||
(defalias 'qr 'query-replace-regexp)
|
||||
(defalias 'al 'align-regexp)
|
||||
(defalias 'sl 'sort-lines)
|
||||
(defalias 'rr 'reverse-region)
|
||||
|
||||
28
modules/siren-anzu.el
Normal file
28
modules/siren-anzu.el
Normal file
@@ -0,0 +1,28 @@
|
||||
;;; siren-anzu.el --- jimeh's Emacs Siren: anzu configuration.
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; Basic configuration for anzu.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(use-package anzu
|
||||
:config
|
||||
(global-anzu-mode +1)
|
||||
|
||||
(set-face-attribute 'anzu-mode-line nil
|
||||
:foreground "yellow" :weight 'bold)
|
||||
|
||||
(setq anzu-mode-lighter ""
|
||||
anzu-deactivate-region t
|
||||
anzu-search-threshold 1000
|
||||
anzu-replace-threshold 50
|
||||
anzu-replace-to-string-separator " => ")
|
||||
|
||||
(global-set-key [remap query-replace] 'anzu-query-replace)
|
||||
(global-set-key (kbd "C-x C-r") 'anzu-query-replace)
|
||||
(global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp)
|
||||
(global-set-key (kbd "C-c C-r") 'anzu-query-replace-regexp))
|
||||
|
||||
(provide 'siren-anzu)
|
||||
;;; siren-anzu.el ends here
|
||||
Reference in New Issue
Block a user