When I'm choosing an option from the autocomplete suggestions, it automatically puts my cursor in the following location:
function(|)
Then I type the value that I want, and in order to get out of the brackets (forward) I have to use the right arrow button, to yield:
function(value)|
Which is pretty inconvenient. Is there any better option?
EDIT: As mentioned in one of the comments, the )
char can be used, but for me personally it's not more convenient. I would like to map'
the return (Enter) key to function as the right arrow key in this specific situation.
)
when over a closing paren to get out of it. Doesn't that work for you? (Happy to turn this into an answer if it does work for you and was what you were actually looking for...)<M-e>
for "fast wrap" and<M-n>
to jump to the next closed pair. It seems to me the former might fit your use case?<M-e>
typically means you need to press "Alt-e" to access it. Does that help? Not sure if mapping the Return key to get out of a pair would be feasible, since you often want line breaks within a pair and that's what Return does there, right?