Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Jens Kubieziel Jens Kubieziel emacs , Vim Users

    How to delete every line containing the word 'foobar' in !emacs? In !vim I would use :g/foobar/d

    Wednesday, 07-Oct-09 15:58:09 UTC from emacs-identicamode
    • bjc bjc emacs

      @qbi !emacs macros ftw! C-x ( C-s foobar RET C-a C-Space C-e C-w C-x ) C-x e

      Wednesday, 07-Oct-09 16:00:23 UTC
    • Walker Pendleton Walker Pendleton emacs

      @qbi !emacs :g/foobar/d is M-x delete-matching-lines <ret> \<foobar\> <ret>

      Wednesday, 07-Oct-09 16:00:46 UTC
    • Gabriel Saldana Gabriel Saldana

      @qbi i use "search and replace" M-%, type foobar, then type nothing, then type ! Done :)

      Wednesday, 07-Oct-09 16:07:46 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal