0

I am using emacs 30.2 with c++ treesit mode enabled. I can jump to function end with C-M-e, how can I jump to function define under current cursor?

1 Answer 1

0

Try C-M-a.

One way to figure out these things is use a bit of guesswork. If you do C-h c C-M-e, it tells you that C-M-e is bound to treesit-end-of-defun. So a good guess is that the function you are looking for is called treesit-beginning-of-defun and then you can ask what the keybinding for that function is with C-h w treesit-beginning-of-defun. That tells me

It is bound to C-M-<home>, C-M-a and ESC C-<home>. 

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.