Replace ivy buffer browser with iBuffer
This commit is contained in:
parent
107a59f9b0
commit
a2b6b18a7d
5 changed files with 14 additions and 5 deletions
10
01mac.el
10
01mac.el
|
|
@ -75,6 +75,16 @@
|
|||
;; Kill current buffer and window
|
||||
(global-set-key (kbd "C-c q") 'kill-buffer-and-window)
|
||||
|
||||
;; ibuffer
|
||||
(global-set-key (kbd "C-c b") 'ibuffer)
|
||||
|
||||
;; Revert without asking
|
||||
(defun revert-buffer-no-confirm ()
|
||||
"Revert buffer without confirmation."
|
||||
(interactive) (revert-buffer t t))
|
||||
|
||||
(global-set-key (kbd "C-c r") 'revert-buffer-no-confirm)
|
||||
|
||||
;; Create new terminal
|
||||
(global-set-key (kbd "<f12>") (lambda ()
|
||||
(interactive)
|
||||
|
|
|
|||
1
02ivy.el
1
02ivy.el
|
|
@ -10,7 +10,6 @@
|
|||
ivy-display-style 'fancy)) ;; Formatting style
|
||||
|
||||
(global-set-key (kbd "C-c a") 'counsel-ag)
|
||||
(global-set-key (kbd "C-c b") 'ivy-switch-buffer)
|
||||
(global-set-key (kbd "C-c t") 'counsel-find-file)
|
||||
(global-set-key (kbd "C-c C-s") 'swiper) ;; Find things by regexp
|
||||
(global-set-key (kbd "M-x") 'counsel-M-x) ;; M-x on steroids
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ _t_: Find file _g_: ag in current project _M_: Git blame
|
|||
("q" nil "cancel" :color pink)
|
||||
|
||||
("a" counsel-ag)
|
||||
("b" ivy-switch-buffer)
|
||||
("b" ibuffer)
|
||||
("t" counsel-find-file)
|
||||
("s" counsel-projectile-switch-project)
|
||||
("f" counsel-projectile-find-file)
|
||||
|
|
|
|||
|
|
@ -66,10 +66,10 @@
|
|||
(setq-local
|
||||
ctags/refresh-command
|
||||
(format
|
||||
"ctags -e -R --languages=erlang -f %sTAGS %ssrc %sdeps %sapps %s_build %slib/stdlib-* %slib/kernel-*"
|
||||
"ctags -e -R --languages=erlang -f %sTAGS %ssrc %sdeps %sapps %s_build %stest %slib/stdlib-* %slib/kernel-*"
|
||||
(projectile-project-root) (projectile-project-root)
|
||||
(projectile-project-root) (projectile-project-root)
|
||||
(projectile-project-root) (projectile-project-root)
|
||||
(projectile-project-root)
|
||||
(plist-get erlang/current-erlang :erlang-path)
|
||||
(plist-get erlang/current-erlang :erlang-path)))
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
(if (display-graphic-p)
|
||||
(progn
|
||||
(sml/apply-theme 'respectful)
|
||||
(enable-theme 'base16-not-harmonic))
|
||||
(enable-theme 'base16-one-light))
|
||||
(progn
|
||||
(enable-theme 'base16-mexico-light)
|
||||
(setq base16-theme-256-color-source "base16-shell")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue