I am trying to do some code blocks in emacs org-mode. What I am do is
- press C-c C-, s
- write sh :session. at this point i have
#+begin_src sh :session[cursor]
#+end_src ^
- than press Enter and got some selector in modeline, that looks like autocomplition
- Once I make selection my cursor disapears and I have to reopen file to have it back
How can I prevent cursor from disappearing?
How can I debug what exactly happening when I press enter?
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-nativelytonilwithHowever, This will disable the completion.