Change rename.vim to Tim Pope's vim-eunuch #300

Merged
merged 1 commit into from Sep 11, 2014

Conversation

Projects
None yet
6 participants
@rspeicher
Contributor

rspeicher commented Sep 11, 2014

Does what rename.vim does (:Move or :Rename) plus:

  • Adds :Unlink or :Remove to delete the current buffer + file
  • Adds :Mkdir (with no argument, create the current file's containing
    directory)
  • Adds :SudoWrite if you forget to edit a file as root
  • Automatically chmods a file to +x if it starts with #!
  • Tim Pope! ❤️
Change rename.vim to Tim Pope's vim-eunuch
Does what rename.vim does (`:Move` or `:Rename`) **plus**:

* Adds `:Unlink` or `:Remove` to delete the current buffer + file
* Adds `:Mkdir` (with no argument, create the current file's containing
  directory)
* Adds `:SudoWrite` if you forget to edit a file as root
* Automatically chmods a file to `+x` if it starts with `#!`
* Tim Pope! ❤️
@pbrisbin

This comment has been minimized.

Show comment
Hide comment
@pbrisbin

pbrisbin Sep 11, 2014

👍, I love this plugin (was told about it by @mike-burns). The auto-chmod is alone worth it.

👍, I love this plugin (was told about it by @mike-burns). The auto-chmod is alone worth it.

@mike-burns

This comment has been minimized.

Show comment
Hide comment
@mike-burns

mike-burns Sep 11, 2014

Member

Like @pbrisbin says, I am in favor of this change.

Member

mike-burns commented Sep 11, 2014

Like @pbrisbin says, I am in favor of this change.

@geoffharcourt

This comment has been minimized.

Show comment
Hide comment
@geoffharcourt

geoffharcourt Sep 11, 2014

Collaborator

I was using Gary Bernhardt's rename function because rename.vim was unable to move a file to a different folder. This would be a great addition to the foundation dotfiles.

Collaborator

geoffharcourt commented Sep 11, 2014

I was using Gary Bernhardt's rename function because rename.vim was unable to move a file to a different folder. This would be a great addition to the foundation dotfiles.

@jferris

This comment has been minimized.

Show comment
Hide comment
@jferris

jferris Sep 11, 2014

Member

I'm sold. @gylaz any objects to merging this?

Member

jferris commented Sep 11, 2014

I'm sold. @gylaz any objects to merging this?

@gylaz

This comment has been minimized.

Show comment
Hide comment
@gylaz

gylaz Sep 11, 2014

Contributor

Looks good to me.

Contributor

gylaz commented Sep 11, 2014

Looks good to me.

@gylaz gylaz merged commit c55d4dd into thoughtbot:master Sep 11, 2014

@gylaz

This comment has been minimized.

Show comment
Hide comment
@gylaz

gylaz Sep 11, 2014

Contributor

Thanks @tsigo!

Contributor

gylaz commented Sep 11, 2014

Thanks @tsigo!

@rspeicher rspeicher deleted the rspeicher:rs-vim-eunuch branch Sep 12, 2014

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