aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
Commit message (Collapse)AuthorAgeFilesLines
* remove all non-textobj related filesdoy2009-05-011-338/+0
|
* make textobj creation into config again, since the functions don't get ↵doy2008-12-231-3/+5
| | | | defined until after the vimrc file is read (i think?)
* move the textobj definition calls into the vimrc, rather than just having ↵doy2008-12-231-3/+3
| | | | config options
* split the textobj stuff out into its own filejluehrs22008-04-301-227/+4
|
* 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
* don't really need to save and restore the cursor here, since all the text ↵jluehrs22008-04-281-4/+0
| | | | object stuff will reposition it anyway
* add another foldjluehrs22008-04-281-0/+2
|
* convert the fold text object to use the new helper functionjluehrs22008-04-281-16/+10
|
* handle the case of the \/ being split when we look forwards and backwards ↵jluehrs22008-04-281-3/+14
| | | | for matching //
* we already know where the cursor is, no need to look it upjluehrs22008-04-281-2/+2
|
* convert regex text object to use the new helper functionjluehrs22008-04-281-20/+6
|
* add a function to generate text objectsjluehrs22008-04-281-0/+37
|
* normal -> normal!jluehrs22008-04-251-2/+2
|
* don't need the C-U since we're escaping firstjluehrs22008-04-251-8/+8
|
* hmmm, how about a fold textobj that actually worksjluehrs22008-04-251-9/+11
|
* add a fold text objectjluehrs22008-04-251-0/+19
|
* add a / text object for regexesjluehrs22008-04-241-0/+53
|
* add nifty folding stuffjluehrs22008-04-201-0/+55
|
* add a make command for latex filesjluehrs22007-10-071-0/+3
|
* don't need to copy things manually anymorejluehrs22007-09-091-30/+0
|
* oopsjluehrs22007-09-091-1/+2
|
* comment/whitespace fixesjluehrs22007-09-091-2/+1
|
* add my vimrc changesjluehrs22007-09-091-136/+96
|