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

Add support for user text objects #11

Open
dag opened this issue Feb 15, 2013 · 0 comments
Open

Add support for user text objects #11

dag opened this issue Feb 15, 2013 · 0 comments

Comments

@dag
Copy link

dag commented Feb 15, 2013

https://github.com/kana/vim-textobj-user

It would be really cool if we could use the code from :HdevtoolsType to turn Haskell expressions into text objects, such that for example with the cursor on a case we can do cie to delete the whole case expression and enter insert mode, d2ae would delete the case expression and the outer expression containing it (the way repeated :HdevtoolsType works) plus surrounding whitespace, etc.

See also Chris Done's videos on "Structural editing" in emacs using his "syntax-mode":

http://www.youtube.com/user/ChristopherDone

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

No branches or pull requests

1 participant