Skip to content

Instantly share code, notes, and snippets.

@duff
Created October 7, 2010 19:10
Show Gist options
  • Select an option

  • Save duff/615695 to your computer and use it in GitHub Desktop.

Select an option

Save duff/615695 to your computer and use it in GitHub Desktop.
In your editor of choice,
Convert the following line:
context "when the transaction is successful", :focused => true do
To:
context "when the transaction is successful" do
Assume the cursor is on the comma.
@austintaylor

Copy link
Copy Markdown

@duff

duff commented Oct 7, 2010

Copy link
Copy Markdown
Author

NICE. Your indent object plugin helped me delete a ton of stuff. I love it.

http://github.com/duff/dot_vim_directory/commit/2cb175deaa1f6a6a10e0dad26292a0b6d4e59424

@duff

duff commented Oct 7, 2010

Copy link
Copy Markdown
Author

Austin - OK. The commaobject is outstanding. I just sent you a pull request.

@dotemacs

dotemacs commented Oct 8, 2010

Copy link
Copy Markdown

@lojic even simpler:

M-d M-d

Thats 3 key presses too, meta held down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment