vim-hdevtools icon indicating copy to clipboard operation
vim-hdevtools copied to clipboard

Add support for user text objects

Open dag opened this issue 12 years ago • 0 comments

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

dag avatar Feb 15 '13 06:02 dag