aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use function!HEADmasterJesse Luehrs2018-03-081-5/+5
|
* docsJesse Luehrs2018-03-083-0/+115
|
* don't make the functions globalJesse Luehrs2018-03-081-6/+6
|
* clean upJesse Luehrs2018-03-081-12/+9
|
* improve the configuration interfaceJesse Luehrs2018-03-081-10/+22
|
* don't load the plugin more than onceJesse Luehrs2017-10-181-0/+4
|
* use proper directory structureJesse Luehrs2011-11-091-0/+0
|
* remove all non-textobj related filesdoy2009-05-0115-7840/+0
|
* clean up namespace pollutiondoy2009-01-031-0/+1
|
* make textobj creation into config again, since the functions don't get ↵doy2008-12-232-3/+10
| | | | defined until after the vimrc file is read (i think?)
* need to make the inner textobj generator function take varargs toodoy2008-12-231-5/+5
|
* convert regex textobj to allow arbitrary paired charactersdoy2008-12-231-7/+7
|
* move the textobj definition calls into the vimrc, rather than just having ↵doy2008-12-232-14/+3
| | | | config options
* make the other textobj callbacks publicdoy2008-12-231-2/+2
|
* allow the Textobj function to take extra arguments to pass on to the callbackdoy2008-12-231-2/+2
|
* subtract 1 from the length rather than backspacing afterwards in visual modejluehrs22008-05-071-2/+3
|
* allow the cursor to end up at the beginning of the start linejluehrs22008-05-071-0/+5
|
* don't readjust the cursor if the command is 'c', just use 'd' as the command ↵jluehrs22008-05-071-2/+6
| | | | to start with, and start insert mode after that
* simplify the length calculation by quite a bitjluehrs22008-05-071-8/+4
|
* make sure spaces can traverse newlinesjluehrs22008-05-071-0/+3
|
* todo for textobj.vimjluehrs22008-05-051-0/+1
|
* split the textobj stuff out into its own filejluehrs22008-04-302-227/+238
|
* script local callback functions should be specified local to where they are ↵jluehrs22008-04-301-5/+4
| | | | defined, not local to where the Textobj function is defined
* use recursion to make this cleaner, and use gE rather than <BS> if the ↵jluehrs22008-04-301-8/+9
| | | | character before a comma is a non-whitespace character
* handle the cursor starting out on whitespace or a comma by repositioning it ↵jluehrs22008-04-301-0/+11
| | | | before running the function
* make sure getting rid of an argument doesn't leave end of line whitespacejluehrs22008-04-301-0/+6
|
* also catch ends past the end of line before the other tests so that ↵jluehrs22008-04-301-0/+5
| | | | startline[argbegin - 2] is what we expect
* make this >= to catch things that go past the end of linejluehrs22008-04-301-1/+1
|
* handle the first argument a bit better when the second argument is on the ↵jluehrs22008-04-301-0/+12
| | | | next line
* execute the callback function in the sandbox, so it doesn't do anything ↵jluehrs22008-04-301-1/+1
| | | | weird like change the buffer
* use backspace rather than 'h' here to handle ending at the start of a linejluehrs22008-04-301-1/+1
|
* hmmm, looking more closely at how text objects like ( are handled, this ↵jluehrs22008-04-301-0/+5
| | | | seems to match their behavior better
* sigh... why can i not remember that not all operators are destructive... ↵jluehrs22008-04-301-6/+0
| | | | this will break text objects with boundaries at the ends or beginnings of lines again
* make function argument text object not fail quite as badly with newlines... ↵jluehrs22008-04-301-2/+2
| | | | still not great
* oopsjluehrs22008-04-301-1/+1
|
* minor cleanupsjluehrs22008-04-301-4/+2
|
* handle blank lines after commas a bit betterjluehrs22008-04-301-3/+4
|
* the fold text object shouldn't do anything if we aren't in a foldjluehrs22008-04-301-0/+3
|
* move the save/restore of cursor position to the base text object functionjluehrs22008-04-301-2/+3
|
* save and restore the cursor position in the fold text object, so it has no ↵jluehrs22008-04-301-0/+2
| | | | side effects
* make inner == 0 work properly everywherejluehrs22008-04-291-0/+9
|
* make inner == 0 work again for single line functionsjluehrs22008-04-291-4/+6
|
* make the argument text object work across multiple lines. inner == 0 is ↵jluehrs22008-04-291-5/+43
| | | | probably not working yet, and empty lines still mess things up
* this isn't necessaryjluehrs22008-04-291-1/+0
|
* handle textobjects starting or ending on a newlinejluehrs22008-04-291-0/+6
|
* don't try to handle regex textobjects being called when the cursor is on a ↵jluehrs22008-04-291-5/+11
| | | | /, since there's no good way to tell which direction to look for the closing /
* simplify the regex textobj logic a bitjluehrs22008-04-291-4/+3
|
* make the regex text object do nothing if it can't find matching pairs of /jluehrs22008-04-291-0/+6
|
* allow text object callbacks to throw an exception meaning 'do nothing'jluehrs22008-04-291-1/+5
|
* beginnings of a text object for function arguments. it only handles single ↵jluehrs22008-04-291-0/+21
| | | | line functions at the moment