Gleb Gorshkov
Gleb Gorshkov

Reputation: 43

Cursor disappears after completion in emacs

I am trying to do some code blocks in emacs org-mode. What I am do is

#+begin_src sh :session[cursor]
#+end_src              ^

How can I prevent cursor from disappearing?

How can I debug what exactly happening when I press enter?

Upvotes: 1

Views: 365

Answers (1)

dinoallo
dinoallo

Reputation: 11

Are you using ivy? If yes, this issue might be helpful to further dissect the problem. Also, completion in src-block doesn't work well if using helm or ivy.

Tl;Dr

set org-src-tab-acts-natively to nil with

(setq org-src-tab-acts-natively nil)

However, This will disable the completion.

Upvotes: 1

Related Questions