Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use :argdo instead of :bufdo #33

Closed
wants to merge 3 commits into from
Closed

Use :argdo instead of :bufdo #33

wants to merge 3 commits into from

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Dec 3, 2014

I started with cleaning up s:reopenAndGotoLine, and then moved over to using argdo instead of bufdo.

 - de-indent most of the function
 - remove ':' prefix with `exec` commands
Drop calls to `doautocmd FileType` and `doautocmd BufEnter` - only
`Syntax` needs to be called manually.
Not sure about the call to `:diffthis` for `&diff` - is `vimdiff foo:5
bar:6` supposed to work?
@blueyed
Copy link
Contributor Author

blueyed commented Dec 3, 2014

Closing in favor of #34.

@blueyed blueyed closed this Dec 3, 2014
@blueyed blueyed deleted the cleanup-reopenAndGotoLine branch December 3, 2014 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant