Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
ultisnips
UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
If you're in normal mode, as people have already said, it's A. If you are in insert mode, there are a lot of possibilities with roughly the same cost. Vim has a few insert-mode movement commands, e.g. j goes down a line, but so far as I know there isn't one that helps you. The vim-rsi plugin gives you readline-type commands in insert mode, so if you had that you could do to jump to the end of the line. Another possibility with plugins is to have something like auto-pairs installed in which case just typing ) would do it.
If you're in normal mode, as people have already said, it's A. If you are in insert mode, there are a lot of possibilities with roughly the same cost. Vim has a few insert-mode movement commands, e.g. j goes down a line, but so far as I know there isn't one that helps you. The vim-rsi plugin gives you readline-type commands in insert mode, so if you had that you could do to jump to the end of the line. Another possibility with plugins is to have something like auto-pairs installed in which case just typing ) would do it.
Related posts
- How to solve this? (Ultisnippets plugin)
- SirVer/ultisnips: UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
- UltiSnips + nvim-cmp error: UltiSnips#ExpandSnippetOrJump()
- I've been working on this CLI tool to automate creation of script files, modification of file permissions, and input typical text. I spend a lot of time in the command line for work, but consider myself still learning scripting. If you have any input I'd appreciate it!
- best way of inserting a variety of code-chunks, for example when using vimlatex