:custom
(magit-diff-refine-hunk t)
(magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1)
- (magit-completing-read-function 'magit-ido-completing-read)
+ ;; (magit-completing-read-function 'magit-ido-completing-read)
:custom-face (magit-diff-file-heading ((t (:weight normal)))))
;; recently opened files
("C-c f r" . recentf-open-files)
("C-c x" . execute-extended-command))
-(use-feature ido
- :demand
- :bind
- (:map ido-common-completion-map
- ([escape] . minibuffer-keyboard-quit)
- ("DEL" . b/ido-backspace))
- :config
- (require 'delsel)
- (defun b/ido-backspace ()
- "Forward to `backward-delete-char'. On error (read-only), quit."
- (interactive)
- (condition-case nil
- (backward-delete-char 1)
- (error
- (minibuffer-keyboard-quit))))
- (ido-mode 1)
- (ido-everywhere 1)
- :custom
- (ido-enable-flex-matching t)
- (ido-max-window-height 10)
- (ido-use-virtual-buffers t))
+(comment
+ (use-feature ido
+ :demand
+ :bind
+ (:map ido-common-completion-map
+ ([escape] . minibuffer-keyboard-quit)
+ ("DEL" . b/ido-backspace))
+ :config
+ (require 'delsel)
+ (defun b/ido-backspace ()
+ "Forward to `backward-delete-char'. On error (read-only), quit."
+ (interactive)
+ (condition-case nil
+ (backward-delete-char 1)
+ (error
+ (minibuffer-keyboard-quit))))
+ (ido-mode 1)
+ (ido-everywhere 1)
+ :custom
+ (ido-enable-flex-matching t)
+ ;; (ido-enable-regexp t)
+ ;; (ido-enable-prefix t)
+ (ido-max-window-height 10)
+ (ido-use-virtual-buffers t))
+
+ (use-package ido-vertical-mode
+ :defer 0.3
+ :config
+ (ido-vertical-mode 1)
+ :custom
+ (ido-vertical-define-keys 'C-n-C-p-up-and-down)
+ (ido-vertical-show-count t))
-(use-package ido-vertical-mode
- :defer 0.3
- :config
- (ido-vertical-mode 1)
- :custom
- (ido-vertical-define-keys 'C-n-C-p-up-and-down)
- (ido-vertical-show-count t))
+ (use-package ido-completing-read+
+ :defer 0.3
+ :after ido
+ :config
+ (ido-ubiquitous-mode 1))
-(use-package ido-completing-read+
- :defer 0.3
- :after ido
- :config
- (ido-ubiquitous-mode 1))
+ (use-package crm-custom
+ :defer 0.3
+ :config
+ (crm-custom-mode 1))
+
+ (use-feature icomplete
+ :defer 0.3
+ :config
+ (icomplete-mode 1)))
(use-package amx
:defer 0.3
:config
(amx-mode))
-(use-package crm-custom
- :defer 0.3
- :config
- (crm-custom-mode 1))
-
-(use-feature icomplete
- :defer 0.3
- :config
- (icomplete-mode 1))
-
(use-package ivy
- :disabled
:defer 0.3
:bind
(:map ivy-minibuffer-map
("DEL" . ivy-backward-delete-char))
:config
(setq ivy-wrap t
- ivy-height 14
+ ;; ivy-height 14
ivy-use-virtual-buffers t
ivy-virtual-abbreviate 'abbreviate
ivy-count-format "%d/%d ")
(add-to-list 'ivy-ignore-buffers 'b/ivy-ignore-buffer-p)
(ivy-mode 1)
- ;; :custom-face
- ;; (ivy-minibuffer-match-face-2 ((t (:background "#e99ce8" :weight semi-bold))))
- ;; (ivy-minibuffer-match-face-3 ((t (:background "#bbbbff" :weight semi-bold))))
- ;; (ivy-minibuffer-match-face-4 ((t (:background "#ffbbff" :weight semi-bold))))
-)
+ :custom-face
+ (ivy-minibuffer-match-face-1 ((t (:background "#eeeeee"))))
+ (ivy-minibuffer-match-face-2 ((t (:background "#e7e7e7" :weight bold))))
+ (ivy-minibuffer-match-face-3 ((t (:background "light goldenrod" :weight semi-bold))))
+ (ivy-minibuffer-match-face-4 ((t (:background "misty rose" :weight semi-bold))))
+ (ivy-current-match ((((class color) (background light))
+ :background "#d7d7d7" :foreground "black")
+ (((class color) (background dark))
+ :background "#65a7e2" :foreground "black"))))
(use-package swiper
- :commands (swiper swiper-isearch)
- :bind (;; ("C-s" . swiper-isearch)
- ;; ("C-r" . swiper)
+ :demand
+ :after ivy
+ :bind (("C-s" . swiper-isearch)
+ ("C-r" . swiper-isearch-backward)
("C-S-s" . swiper-isearch)))
(use-package counsel
- :commands (counsel-linux-app))
- ;; :bind (([remap execute-extended-command] . counsel-M-x)
- ;; ([remap find-file] . counsel-find-file)
- ;; ("C-c f ." . counsel-find-file)
- ;; ("C-c f l" . counsel-find-library)
- ;; ("C-c f r" . counsel-recentf)
- ;; ("C-c x" . counsel-M-x)
- ;; :map minibuffer-local-map
- ;; ("C-r" . counsel-minibuffer-history))
- ;; :config
- ;; (counsel-mode 1)
- ;; (defalias 'locate #'counsel-locate)
- ;; )
+ :bind (;; ([remap execute-extended-command] . counsel-M-x)
+ ;; ([remap find-file] . counsel-find-file)
+ ("C-c f r" . counsel-recentf)
+ :map minibuffer-local-map
+ ("C-r" . counsel-minibuffer-history))
+ :config
+ (counsel-mode 1)
+ (defalias 'locate #'counsel-locate))
(comment
(use-package helm
:bind
(:map company-active-map
([tab] . company-complete-common-or-cycle)
- ([escape] . company-abort))
+ ([escape] . company-abort)
+ ("C-p" . company-select-previous-or-abort)
+ ("C-n" . company-select-next-or-abort))
:custom
(company-minimum-prefix-length 1)
(company-selection-wrap-around t)
(advice-add 'magit-branch-and-checkout
:after #'my-projectile-invalidate-cache)))
:custom
- ;; (projectile-completion-system 'ivy)
+ (projectile-completion-system 'ivy)
(projectile-mode-line-prefix " proj"))
(use-package helpful
(use-feature window
:bind
- (("C-c w s l" . b/split-window-right)
- ("C-c w s j" . b/split-window-below)
+ (("C-c w e" . (lambda ()
+ (interactive)
+ (split-window-right)
+ (other-window 1)
+ (erc-switch-to-buffer)))
+ ("C-c w s l" . (lambda ()
+ (interactive)
+ (split-window-right)
+ (other-window 1)))
+ ("C-c w s j" . (lambda ()
+ (interactive)
+ (split-window-below)
+ (other-window 1)))
("C-c w q" . quit-window))
- :init
- (defun b/split-window-right ()
- (interactive)
- (split-window-right)
- (other-window 1))
- (defun b/split-window-below ()
- (interactive)
- (split-window-below)
- (other-window 1))
:custom
(split-width-threshold 150))
"^User-Agent:"
"^X-detected-operating-system:"
"^Message-ID:"
- "^References:"
+ ;; "^References:"
"^List-Id:"
"^Gnus-Warning:")
gnus-visible-headers (mapconcat 'identity
:init
(add-hook 'dired-mode-hook 'gnus-dired-mode))
-(use-feature gnus-utils
- :custom
- (gnus-completing-read-function 'gnus-ido-completing-read))
+(comment
+ (use-feature gnus-utils
+ :custom
+ (gnus-completing-read-function 'gnus-ido-completing-read)))
(use-feature mm-decode
:config
(use-feature erc-pcomplete
:after erc
:custom
- (erc-pcomplete-nick-postfix ","))
+ (erc-pcomplete-nick-postfix ", "))
(use-feature erc-track
:after erc