Home

Awesome

nvim-lazy-inner-block

Maps d, c, y, v operator inside block operations directly to block characters.

for example to delete inside () usually you would use di(but this plugin remaps it to d(.

Following are the new mappings

here _ is one of d, c, y, v operators

Previous bindNew bind
_i(_(
_i)_)
_i{_{
_i}_}
_i[_[
_i]_]
_i>_>
_i'_'
_i"_"
_i` _`

Install

Packer

use {
    's1n7ax/nvim-lazy-inner-block',
    config = function()
        require('nvim-lary-inner-block').setup()
    end
}