Home Download Buy Blog Forum Support

Vintage - Jump over delimiters / braces?

Vintage - Jump over delimiters / braces?

Postby highend on Tue Sep 04, 2012 8:39 am

Hi,

this is "a very special" request / question...

With gVim I'm using DelimitMate (https://github.com/Raimondi/delimitMate)
It allows me to have this in my _vimrc file:

" Jump over all delimiters
inoremap <S-CR> <C-R>=delimitMate#JumpMany()<CR>
" Jump over only the next delimiter
inoremap <C-CR> <C-R>=delimitMate#JumpAny("\<C-Tab>")<CR>

This let's me "jump out" or "jump over" a few word delimiters (in insert mode).

E.g. (xys scripting (XYplorer)):
Code: Select all
inputselect("$test|")


The "|" is the current cursor position and the closing quotation marks + brackets were created automatically.

When I hit strg+enter the cursor moves to the first place after the closing quotation mark:
Code: Select all
inputselect("$test"|)


or if I hit shift+enter the cursor moves to the end of the line (over all existing delimiters):
Code: Select all
inputselect("$test")|


Is there any way to rebuild this behavior for ST2?

Yeah, I'm really used to it ;)

Regards,
Highend
highend
 
Posts: 94
Joined: Fri Jan 20, 2012 2:47 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 15 guests