6090 comments
2357 subscribers
6235 on Twitter
Subscribe! Feed reader E-mail

Emacs: Jump to anything

I just came across the Anything extension for Emacs. After you load anything.el, you can type M-x anything RET and a substring of, well, anything. Looks like a handy shortcut. It’s like Quicksilver, but for Emacs. Grab anything-config.el for a bunch of useful functions.

Here’s my current configuration:

(require 'anything)
(require 'anything-config)
(setq anything-sources
      (list anything-c-source-buffers
            anything-c-source-file-name-history
            anything-c-source-info-pages
            anything-c-source-man-pages
	    anything-c-source-file-cache
            anything-c-source-emacs-commands))
(global-set-key (kbd "M-X") 'anything)
Short URL: http://sachachua.com/blog/p/5117
  • Phil

    My fave anything plugin is `anything-c-source-occur’, it’s excellent. Whilst I’m on it I posted the config for anything support with `project-root.el’ which lists all files it thinks are in your current project.

  • Tamas

    If you come up with useful plugins for Anything then don’t forget to share it with others on Emacs Wiki:

    http://www.emacswiki.org/cgi-bin/wiki/AnythingSources

    anything.el is like Emacs. The more plugins people write for it the more useful it is.

  • ky

    For those not familiar with quicksilver, a little longer explanation

    From http://bc.tech.coop/blog/070711.html

    “It’s a bit hard to describe (as is Quicksilver), but it really speeds up accessing things in Emacs. It doesn’t matter whether the thing you want to access is in a buffer, a file that you’ve recently accessed, a file in the current directory, a command you’ve recently evaluated, or whatever – you can quickly and easily “do things” with that object.” [...]

    “All this takes a whole lot longer to explain than it does to do. The end result is very quick access to recently used “things” with the ability to perform a number of actions on those items.”

    Some more information available in this article …

  • http://www.student.uib.no/~kun041/ k

    My additional sources:

    anything-c-source-locate ; find files everywhere
    anything-c-source-mac-spotlight
    anything-c-source-bookmarks
    anything-c-source-google-suggest ; do a quick google search
    anything-c-source-calculation-result ; enter 2+1/7 and get results quickly, I use this all the time

    Quicksilver is now reduced to application launcher, anything.el is so much better :-)

On This Day...

  • 2012: Visual book review: Help Your Kids Get Better Grades — I received a review copy of Gary E. Howard’s Help Your Kids Get Better Grades at just the right time. [...]
  • 2011: Thinking about improving our freezer use — We have a 5.3 cu. ft. Haier chest freezer in addition to the freezer drawer built into the fridge. We’ve [...]
  • 2010: Fit for You: Thinking about my priorities — In a lively mentoring session on Wednesday, Annie English suggested that I fill in the Fit for You assessment, something [...]
  • 2008: New presentation: “New media, New generation” — I’ll be in Washington, DC from Monday to Wednesday next week to participate in a panel on new media. It’ll [...]
  • 2008: Internet Explorer – hovering on non-link items — Internet Explorer 5.5 and 6 don’t support the :hover pseudoclass on anything aside from A link elements, but the site [...]
  • 2008: If you can, teach; If you can’t teach, do — I’ve never agreed with the adage “If you can, do; if you can’t, teach.” If you’ve ever caught yourself saying [...]
  • 2007: Okay, I can solve that — I think I can deal with the temporary resident visa through mail. Now the only thing I need to figure out [...]
  • 2007: Paperwork hassles — This is more complicated than I thought. The post-graduate work permit I am getting is most definitely not an entry document, which [...]
  • 2006: How to find great developers — Joel Spolsky writes about finding great developers. Internships are a terrific way to scope out a candidate and also get [...]
  • 2006: Long stories deserve long responses — I deserved that public finger-wagging for my two-line reply to one of my sister’s long stories. Which reminds me, I still [...]
  • 2006: More thoughts on what I want to do with my life — The Labour Day weekend gave me an excellent opportunity to reflect on what I can do with my life, and I [...]
  • 2006: Bayan Ko — The song “Bayan Ko” never fails to move me, and it is to this song and other traditional songs that I [...]
  • 2006: Sometimes I just get homesick — I sometimes forget that I’ve only been here for a year and that it’s perfectly normal for me to feel homesick [...]
  • 2006: I heart my sister — She’s hilarious. =)
  • 2003: Fingering — http://www.acm.org/sigchi/chi97/proceedings/paper/fkm.htm A really wearable input device “FingeRing” is developed for coming wearable PDAs. By attaching ring shaped sensors on each finger, many commands [...]
  • 2003: New news sources — First Monday (http://firstmonday.org/) Social tech articles http://www.wirelesswatchjapan.com/ Gadgets, wireless http://technologyreports.net/nextinnovator/index.html Some wearable news
  • 2003: Images — http://12.108.175.91/images/ebookweb/device.ericsson.wearable.jpg http://12.108.175.91/ebookweb/discuss/msgReader$1116 http://www.ibm.com/se/news/archive/images/computers/wearable-pc/wearable-pc-closseup-guy.jpg http://www.ibm.com/se/news/archive/images/computers/wearable-pc/ http://homepage.mac.com/labbett/.cv/labbett/Sites/.Pictures/Page3%20folder/Wearable-HAT-copy.jpg-thumb_273_205.jpg http://homepage.mac.com/labbett/PhotoAlbum4.html http://www.hal-pc.org/journal/dec01/Cartoon/wearable/wearable.gif http://www.hal-pc.org/journal/dec01/Cartoon/wearable/wearable.html http://media.abcnews.com/media/SciTech/images/ho_pers_aware_020725_nh.jpg http://abcnews.go.com/sections/scitech/CuttingEdge/cuttingedge020726.html http://wearcam.org/septambic/septambic_key_numbering_small.jpg http://wearcam.org/septambic/ http://about.eyetap.org/library/graphics/1980.jpg http://about.eyetap.org/library/weekly/aa061500a.shtml http://www.cs.colorado.edu/~lindsay/talk/maintenance.gif http://www.cs.colorado.edu/~lindsay/talk/maintenance.html http://www.vcnet.com/~harry/wb0008.jpg http://www.vcnet.com/~harry/widgetbox.htm http://www-ccs.cs.umass.edu/~shri/iPicThumbnail.jpg http://www-ccs.cs.umass.edu/%7Eshri/iPic.html http://www.transmeta.com/images/photolibrary/via_wearable_lt_400x300.jpg http://www.transmeta.com/about/press/photo_library_via_wearable.html http://www.acm.org/sigchi/chi97/proceedings/paper/ljb1fg2c.gif http://www.acm.org/sigchi/chi97/proceedings/paper/ljb1.htm http://www.cs.colorado.edu/~lindsay/talk/eniac.jpg http://www.cs.colorado.edu/~lindsay/talk/ http://www.microopticalcorp.com/images/home/ http://www.microopticalcorp.com/ http://www.microopticalcorp.com/Applications/images/APPWCwindow.jpg http://www.microopticalcorp.com/Applications/wearable.html http://www.microopticalcorp.com/Applications/images/APPTMwindow.jpg http://www.microopticalcorp.com/Applications/tm.html http://microopticalcorp.com/Products/images/SV-3.jpg http://microopticalcorp.com/Products/HomePage.html http://www.acm.org/sigchi/chi97/proceedings/paper/fkm-fg1.jpg http://www.acm.org/sigchi/chi97/proceedings/paper/fkm.htm

Get the highlights as a PDF!

Stories from my Twenties: Highlights from a Decade of Blogging

Free sample!