Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use anything.

  • Loading branch information...
commit 3552112a81ee2af0d08e126df2cdf434bb8c8e66 1 parent b619492
@chmouel authored
Showing with 18 additions and 2 deletions.
  1. +18 −0 configs/extra-modes.el
  2. +0 −2  configs/settings.el
View
18 configs/extra-modes.el
@@ -77,3 +77,21 @@
(my-ensure-installed 'expand-region)
(autoload 'er/expand-region "expand-region" "Multiple Cursors" t)
(global-set-key (kbd "C-=") 'er/expand-region)
+
+; Anything!!!
+(my-ensure-installed 'anything)
+(my-ensure-installed 'anything-config)
+(require 'anything nil t)
+(require 'anything-config nil t)
+(require 'anything-git-goto nil t)
+(defun my-anything ()
+ (interactive)
+ (anything-other-buffer
+ '(anything-c-source-buffers
+ anything-c-source-git-goto
+ anything-c-source-bookmarks
+ anything-c-source-imenu
+ anything-c-source-recentf
+ )
+ " *my-anything*"))
+(global-set-key (read-kbd-macro "C-z") 'my-anything)
View
2  configs/settings.el
@@ -17,8 +17,6 @@
(global-set-key (read-kbd-macro "M-q") 'fill-region)
(global-set-key (read-kbd-macro "M-l") 'downcase-word)
(global-set-key (read-kbd-macro "C-x C-b") 'list-buffers)
-(global-set-key (read-kbd-macro "C-z") 'ido-switch-buffer)
-(global-set-key (read-kbd-macro "C-`") 'ido-switch-buffer)
(global-set-key (read-kbd-macro "C-~") 'ibuffer)
(global-set-key (read-kbd-macro "C-M-o") 'other-frame)
Please sign in to comment.
Something went wrong with that request. Please try again.