Vi and Vim Asked by aehlke on October 28, 2020
Does a rough equivalent to this Xcode quick jump bar feature exist as a Vim plugin? I haven’t been able to find any good leads on one in my research.
It’s a way to navigate sections in a file – in the case of Swift, the // MARK: sections annotated like this
.
You could search /MARK
and then hit n
, but faster and easier in my opinion is
global/MARK/list
And then you type :
and the line number when you get the list of results.
The command can be shortened to :g/MARK/#
, if you like, or mapped to a keysequence to make it even faster:
nnoremap <leader>m :global/MARK/#<CR>:
Answered by D. Ben Knoble on October 28, 2020
1 Asked on August 31, 2021 by codetalker
1 Asked on August 31, 2021 by ostrov040
1 Asked on August 31, 2021 by vjekoslav
0 Asked on August 31, 2021 by shaik-azar-azarmadr
1 Asked on August 31, 2021 by vladislavthepoker69
0 Asked on August 31, 2021 by wallace-coelho
eslint filetype javascript filetype typescript plugin ale vimrc
2 Asked on February 13, 2021
1 Asked on February 6, 2021
1 Asked on February 5, 2021 by connie-jash
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP