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

adding option to disable exceptional textobject behaviour at first level #12

Closed schlichtanders closed 9 years ago

schlichtanders commented 9 years ago

the code change is minimal and the default behaviour is not changed the new parameter with default value: let g:indent_object_except_first_level = 1 (setting this to 0 will make the indent-textobj working the same also on the first level, i.e. selecting the whole file here)