remove :bind

This commit is contained in:
petrucci4prez 2018-07-14 23:36:42 -04:00
parent 8c51eec335
commit c5edb38141
2 changed files with 40 additions and 38 deletions

39
conf.el
View File

@ -84,11 +84,6 @@
(use-package helm (use-package helm
:ensure t :ensure t
:delight :delight
:bind
("C-x C-f" . 'helm-find-files)
("C-x C-b" . 'helm-buffers-list)
("M-x" . 'helm-M-x)
("C-c h" . 'helm-command-prefix)
:init :init
(helm-mode 1) (helm-mode 1)
:config :config
@ -99,15 +94,15 @@
helm-recentf-fuzzy-match t helm-recentf-fuzzy-match t
helm-semantic-fuzzy-match t helm-semantic-fuzzy-match t
helm-imenu-fuzzy-match t helm-imenu-fuzzy-match t
helm-scroll-amount 8)) helm-scroll-amount 8)
;; I liked the way ido-veritcal worked ;; I liked the way ido-veritcal worked
;; less invasive... ;; less invasive...
;; (add-to-list 'display-buffer-alist (add-to-list 'display-buffer-alist
;; `(,(rx bos "*helm" (* not-newline) "*" eos) `(,(rx bos "*helm" (* not-newline) "*" eos)
;; (display-buffer-in-side-window) (display-buffer-in-side-window)
;; (inhibit-same-window . t) (inhibit-same-window . t)
;; (window-height . 0.4)))) (window-height . 0.4))))
(helm-autoresize-mode 1) (helm-autoresize-mode 1)
(require 'helm-config) (require 'helm-config)
@ -122,20 +117,17 @@
(use-package ace-window (use-package ace-window
:ensure t :ensure t
:bind ("M-o" . ace-window)
:config :config
(setq aw-background t) (setq aw-background t)
(set-face-attribute 'aw-leading-char-face nil :foreground "#292b2e" :custom-face
:background "#bc6ec5":height 1.0 :box nil)) (aw-leading-char-face ((t (:foreground "#292b2e" :background "#bc6ec5":height 1.0 :box nil)))))
(use-package avy (use-package avy
:ensure t :ensure t
:bind ("M-s" . avy-goto-char)
:config (setq avy-background t)) :config (setq avy-background t))
(use-package sudo-edit (use-package sudo-edit
:ensure t :ensure t)
:bind ("C-c s" . sudo-edit))
(use-package typit (use-package typit
:init :init
@ -1304,8 +1296,17 @@ and reverts all todo keywords to TODO"
(global-set-key (kbd "S-<f12>") 'display-line-numbers-mode) (global-set-key (kbd "S-<f12>") 'display-line-numbers-mode)
(global-set-key (kbd "C-<f12>") 'mu4e) (global-set-key (kbd "C-<f12>") 'mu4e)
(global-set-key (kbd "M-b") 'nd/switch-to-previous-buffer)
(global-set-key (kbd "C-c r") 'nd/config-reload)
(global-set-key (kbd "C-c e") 'nd/config-visit) (global-set-key (kbd "C-c e") 'nd/config-visit)
(global-set-key (kbd "C-c h") 'helm-command-prefix)
(global-set-key (kbd "C-c r") 'nd/config-reload)
(global-set-key (kbd "C-c s") 'sudo-edit)
(global-set-key (kbd "C-x 2") 'nd/split-and-follow-horizontally) (global-set-key (kbd "C-x 2") 'nd/split-and-follow-horizontally)
(global-set-key (kbd "C-x 3") 'nd/split-and-follow-vertically) (global-set-key (kbd "C-x 3") 'nd/split-and-follow-vertically)
(global-set-key (kbd "C-x C-f") 'helm-find-files)
(global-set-key (kbd "C-x C-b") 'helm-buffers-list)
(global-set-key (kbd "M-b") 'nd/switch-to-previous-buffer)
(global-set-key (kbd "M-o") 'ace-window)
(global-set-key (kbd "M-s") 'avy-goto-char)
(global-set-key (kbd "M-x") 'helm-M-x)

View File

@ -133,11 +133,6 @@ NOTE: this only works if we start term after gui, and term has light bg. not big
(use-package helm (use-package helm
:ensure t :ensure t
:delight :delight
:bind
("C-x C-f" . 'helm-find-files)
("C-x C-b" . 'helm-buffers-list)
("M-x" . 'helm-M-x)
("C-c h" . 'helm-command-prefix)
:init :init
(helm-mode 1) (helm-mode 1)
:config :config
@ -148,15 +143,15 @@ NOTE: this only works if we start term after gui, and term has light bg. not big
helm-recentf-fuzzy-match t helm-recentf-fuzzy-match t
helm-semantic-fuzzy-match t helm-semantic-fuzzy-match t
helm-imenu-fuzzy-match t helm-imenu-fuzzy-match t
helm-scroll-amount 8)) helm-scroll-amount 8)
;; I liked the way ido-veritcal worked ;; I liked the way ido-veritcal worked
;; less invasive... ;; less invasive...
;; (add-to-list 'display-buffer-alist (add-to-list 'display-buffer-alist
;; `(,(rx bos "*helm" (* not-newline) "*" eos) `(,(rx bos "*helm" (* not-newline) "*" eos)
;; (display-buffer-in-side-window) (display-buffer-in-side-window)
;; (inhibit-same-window . t) (inhibit-same-window . t)
;; (window-height . 0.4)))) (window-height . 0.4))))
(helm-autoresize-mode 1) (helm-autoresize-mode 1)
(require 'helm-config) (require 'helm-config)
@ -175,24 +170,21 @@ NOTE: this only works if we start term after gui, and term has light bg. not big
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package ace-window (use-package ace-window
:ensure t :ensure t
:bind ("M-o" . ace-window)
:config :config
(setq aw-background t) (setq aw-background t)
(set-face-attribute 'aw-leading-char-face nil :foreground "#292b2e" :custom-face
:background "#bc6ec5":height 1.0 :box nil)) (aw-leading-char-face ((t (:foreground "#292b2e" :background "#bc6ec5":height 1.0 :box nil)))))
#+END_SRC #+END_SRC
** avy ** avy
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package avy (use-package avy
:ensure t :ensure t
:bind ("M-s" . avy-goto-char)
:config (setq avy-background t)) :config (setq avy-background t))
#+END_SRC #+END_SRC
** sudo edit ** sudo edit
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package sudo-edit (use-package sudo-edit
:ensure t :ensure t)
:bind ("C-c s" . sudo-edit))
#+END_SRC #+END_SRC
** typit ** typit
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@ -1605,9 +1597,18 @@ I like being evil. All package and custom bindings go here.
(global-set-key (kbd "S-<f12>") 'display-line-numbers-mode) (global-set-key (kbd "S-<f12>") 'display-line-numbers-mode)
(global-set-key (kbd "C-<f12>") 'mu4e) (global-set-key (kbd "C-<f12>") 'mu4e)
(global-set-key (kbd "M-b") 'nd/switch-to-previous-buffer)
(global-set-key (kbd "C-c r") 'nd/config-reload)
(global-set-key (kbd "C-c e") 'nd/config-visit) (global-set-key (kbd "C-c e") 'nd/config-visit)
(global-set-key (kbd "C-c h") 'helm-command-prefix)
(global-set-key (kbd "C-c r") 'nd/config-reload)
(global-set-key (kbd "C-c s") 'sudo-edit)
(global-set-key (kbd "C-x 2") 'nd/split-and-follow-horizontally) (global-set-key (kbd "C-x 2") 'nd/split-and-follow-horizontally)
(global-set-key (kbd "C-x 3") 'nd/split-and-follow-vertically) (global-set-key (kbd "C-x 3") 'nd/split-and-follow-vertically)
(global-set-key (kbd "C-x C-f") 'helm-find-files)
(global-set-key (kbd "C-x C-b") 'helm-buffers-list)
(global-set-key (kbd "M-b") 'nd/switch-to-previous-buffer)
(global-set-key (kbd "M-o") 'ace-window)
(global-set-key (kbd "M-s") 'avy-goto-char)
(global-set-key (kbd "M-x") 'helm-M-x)
#+END_SRC #+END_SRC