All Projects â†’ rhysd â†’ vim-textobj-anyblock

rhysd / vim-textobj-anyblock

Licence: other
A text object for any of '', "", (), {}, [] and <>.

Programming Languages

Vim Script
2826 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to vim-textobj-anyblock

Targets.vim
Vim plugin that provides additional text objects
Stars: ✭ 2,114 (+2681.58%)
Mutual labels:  vim-plugin, text-object
vim-snipp-snapp-snut-and-the-legend-continues
💇 (Experimental) Vim snippet plugin
Stars: ✭ 24 (-68.42%)
Mutual labels:  vim-plugin
Vim Lexical
Build on Vim’s spell/thes/dict completion
Stars: ✭ 223 (+193.42%)
Mutual labels:  vim-plugin
Lusty
LustyExplorer / LustyJuggler for Vim
Stars: ✭ 246 (+223.68%)
Mutual labels:  vim-plugin
Pathfinder.vim
Vim plugin to suggest better movements
Stars: ✭ 228 (+200%)
Mutual labels:  vim-plugin
Vim Airline
lean & mean status/tabline for vim that's light as air
Stars: ✭ 15,873 (+20785.53%)
Mutual labels:  vim-plugin
Vim Sayonara
👺 Sane buffer/window deletion.
Stars: ✭ 219 (+188.16%)
Mutual labels:  vim-plugin
vim-shellcheck
Vim wrapper for ShellCheck, a static analysis tool for shell scripts.
Stars: ✭ 63 (-17.11%)
Mutual labels:  vim-plugin
vim-textobj-quote
Use ‘curly’ quote characters in Vim
Stars: ✭ 112 (+47.37%)
Mutual labels:  vim-plugin
Vim Ghost
Vim/Nvim client for GhostText - Edit browser text areas in Vim/Neovim
Stars: ✭ 245 (+222.37%)
Mutual labels:  vim-plugin
Vim Fibo Indent
Fibonacci Indentation for Vim.
Stars: ✭ 244 (+221.05%)
Mutual labels:  vim-plugin
Indent Blankline.nvim
Indent guides for Neovim
Stars: ✭ 203 (+167.11%)
Mutual labels:  vim-plugin
Nerdtree
A tree explorer plugin for vim.
Stars: ✭ 16,380 (+21452.63%)
Mutual labels:  vim-plugin
Vim Color Spring Night
Low-contrast calm color scheme for Vim
Stars: ✭ 227 (+198.68%)
Mutual labels:  vim-plugin
qf helper.nvim
A collection of improvements for the quickfix buffer
Stars: ✭ 70 (-7.89%)
Mutual labels:  vim-plugin
Neomake
Asynchronous linting and make framework for Neovim/Vim
Stars: ✭ 2,512 (+3205.26%)
Mutual labels:  vim-plugin
Vim Vsnip
Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
Stars: ✭ 224 (+194.74%)
Mutual labels:  vim-plugin
Vim Ledger
Vim plugin for Ledger
Stars: ✭ 253 (+232.89%)
Mutual labels:  vim-plugin
nvim-contabs
contextual tabs for vim/neovim
Stars: ✭ 20 (-73.68%)
Mutual labels:  vim-plugin
vim-mysticaltutor
Low-contrast flat colorscheme for Vim and terminals
Stars: ✭ 22 (-71.05%)
Mutual labels:  vim-plugin

One Text Object for Quotes, Parentheses and Braces

Build Status

This plugin provides text object mappings ib and ab.

  • ib is a union of i(, i{, i[, i', i" and i<.
  • ab is a union of a(, a{, a[, a', a" and a<.

ib and ab match any of the text objects. If multiple text objects are matched, it selects one covering the most narrow region. For example, when the current line is ['abc', 'def'] and the cursor is at e, vib selects def.

This plugin depends on vim-textobj-user. Please install it in advance.

If you want to change the blocks which ib and ab match, define g:textobj#anyblock#blocks. For example, if you install vim-textobj-between and want to match `...`, set [ '(', '{', '[', '"', "'", '<' , 'f`'] to it.

If you want to define buffer local blocks, set them to b:textobj_anyblock_buffer_local_blocks as list of string on FileType autocmd event.

License

Distributed under MIT License.

Copyright (c) 2013 rhysd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].