I'm trying to create a custom key mapping which start bring up commandline mode with some text inserted. I would like to have the cursor position not at the end but in a specific position, like this::%s/|/nextposition/gWhere | represents the cursor.It would be perfect if the cursor could be positioned to the nextposition place if user types <Tab> or some other key stroke.How to achieve this?
How to predefine the cursor position in command?
key bindings;command line