michaeljsmith / vim-indent-object

Vim plugin that defines a new text object representing lines of code at the same indent level. Useful for python/vim scripts, etc.
http://www.vim.org/scripts/script.php?script_id=3037
MIT License
747 stars 59 forks source link

Flexible mappings #11

Open calmofthestorm opened 10 years ago

calmofthestorm commented 10 years ago

This pull request allows users to define their own mappings by adding an option to prevent default mappings, and defining mappings to allow users to easily define their own. This also fixes what I believe to be a bug in how the area is selected due to use of normal instead of normal! (as elsewhere in the function) which arises when VIM's gv is remapped.

michaeljsmith commented 10 years ago

Hi Alex,

Thank you for your pull request. I have to apologize however, I really don't have time any more to work on this project. I've been thinking I should see if someone else wanted to take it over.

Michael

On 13 February 2014 06:15, Alex Roper notifications@github.com wrote:

This pull request allows users to define their own mappings by adding an option to prevent default mappings, and defining mappings to allow users to easily define their own. This also fixes what I believe to be a bug in how the area is selected due to use of normal instead of normal! (as elsewhere

in the function) which arises when VIM's gv is remapped.

You can merge this Pull Request by running

git pull https://github.com/calmofthestorm/vim-indent-object flexibleMappings

Or view, comment on, or merge it at:

https://github.com/michaeljsmith/vim-indent-object/pull/11 Commit Summary

  • Fix issue arising when used with remapped keys.
  • Allow users to define their own mappings.

File Changes

  • M plugin/indent-object.vimhttps://github.com/michaeljsmith/vim-indent-object/pull/11/files#diff-0(30)

Patch Links:

— Reply to this email directly or view it on GitHubhttps://github.com/michaeljsmith/vim-indent-object/pull/11 .

calmofthestorm commented 10 years ago

Sorry to hear that. Thanks for letting me know.