On Fri, 9 Dec 2022 12:12:07 -0800 (PST)
N i c o l a s I I T h e B l o o d y <[email protected]> wrote:
> Thank you Enan, I saw thé profile help but don't happen to find particular
> sample for Cursor move.
That's because there is none. Profiling, as defined in ':h profiling'
only measures the runtime of either a script or a function, not a cursor
move.
I think you're looking for profiling because you want to see which
function call or which command is consuming time when you move the
cursor. If that's correct, you could check what your arrow keys are
mapped to. Remember to invoke these commands from the exact buffer
where arrows keys are slow.
:map <left>
:map <right>
:map <up>
:map <down>
If the arrows are not mapped to any function call or user command, then
the problem is somewhere else; see below.
On Fri, 9 Dec 2022 08:36:18 -0800 (PST)
You wrote:
> Vertical moving cursor with arrow keys on such a file
> like https://github.com/preservim/tagbar/blob/master/autoload/tagbar.vim is
> very very slow.
What did you mean by "such a file"? Do you mean when you open
'tagbar.vim' in vim? or do you mean when you are in the buffer created
by the tagbar plugin? If the latter, then that's a problem with the
plugin and you should open a ticket in its issue tracker.
P.S. The spaces between each letter in your name makes it hard to read.
I would change it to a normal spelling.
--
Enan
[email protected]
https://git.sr.ht/~enan/
https://www.github.com/3N4N
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20221210110658.00001d5d%40gmail.com.