nelstrom / vim-textobj-rubyblock

A custom text object for selecting ruby blocks.
http://www.vim.org/scripts/script.php?script_id=3382
331 stars 21 forks source link

Ability to change binding #28

Closed iovis closed 6 years ago

iovis commented 6 years ago

I usually use ir and ar to select []. I was wondering if you would consider making this binding a configurable trigger.

iovis commented 6 years ago

Apparently I don't know how to read. From the docs:

    let g:textobj_rubyblock_no_default_key_mappings = 1
    xmap ae  <Plug>(textobj-rubyblock-a)
    omap ae  <Plug>(textobj-rubyblock-a)
    xmap ie  <Plug>(textobj-rubyblock-i)
    omap ie  <Plug>(textobj-rubyblock-i)