Open adriangrigore opened 9 years ago
For instance, I would like to be able to do 'gf' on a whole require statement (including var if possible), instead of jumping first to its parameter.
require
:+1:
+1
You can just remap to a command that will go to the start of the line, then finds the first quotation character, then executes the jump:
nnoremap gl ^f'gf
For instance, I would like to be able to do 'gf' on a whole
require
statement (including var if possible), instead of jumping first to its parameter.