Android Vim search menu : command line disappears

You can’t use the vim menu/command line (:) in recent obsidian mobile versions, but I remember in previous ones you certainly could

Steps to reproduce

  1. Open a blank document and type some text
  2. Be sure you are in vim mode
  3. Try to do a search of a string typing : to enter vim menu/command line and then type /<pattern> to search for some string

Did you follow the troubleshooting guide? [Y/N]

There is no sandbox vault on mobile, but yes

Expected result

The vim prompt is open so you are able to type commands like search :/,

Actual result

The vim menu is not opened totally but you can see it appears and dissapears in just a second

Environment

SYSTEM INFO:
	Operating system: android 12 (Xiaomi 2201116PG)
	Obsidian version: 1.7.0 (153)
	API version: v1.7.0
	Login status: not logged in
	Live preview: on
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 54
	Plugins enabled: 0

RECOMMENDATIONS:
	none


Additional information

Maybe related topics

Steps to reproduce

  • Enable vim mode
  • Open any file
  • Press :
    The vim command line appears and disappears immediately

Expected result

  • Command line doesn’t disappear

Actual result

  • Command line appears and disappears immediately

Environment

SYSTEM INFO:
	Operating system: android 14 (Xiaomi M2102J20SG)
	Obsidian version: 1.6.7 (149)
	API version: v1.6.7
	Login status: not logged in
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

  • Here I’m trying to open command line using mobile keyboard: GIF, but command line just disappears, in console no any errors

  • Here I’m trying to open command line using pc keyboard via adb mode from google chrome: GIF, and it’s working :melting_face:

I am experiencing this bug too.

In theory, we don’t support vim without a physical keyboard.
I am not sure I consider this a bug.

With a physical keyboard same issue:
20240906_204821

It’s interesting to know that vim without a physical keyboard is not officially supported.

Fortunately it works quite well for many simple tasks, at least (navigating the text, deleting lines, inserting text, etc.). Otherwise, it would be very inconvenient to edit notes on the move, for those who use vim. :sweat_smile:

I’ve got same issue with Android Tablet + Physical Keyboard.

Having the same issue with version 1.7.7 with a physical keyboard.

Can’t use command(:) and search (/) line even when using hardware keyboard in the latest version of android version.

Steps to reproduce

  1. Create a new vault
  2. Ensure Vim mod is on
  3. Open a document and type something
  4. Enter Normal mod and type : or /
  5. the line kept showing and disappearing

Did you follow the troubleshooting guide? [Y/N]

yes the vault is in restricted mode.

Expected result

vim prompt line (like : or /) should be displayed and I’m able to type command or word

Actual result

the line appears and disapears in just a second.

Environment

SYSTEM INFO:
Operating system: android 14 (Xiaomi 23046RP50C)
Obsidian version: 1.7.7 (171)
API version: v1.7.7
Login status: not logged in
Language: en
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

recording:
out

May be related to https://forum.obsidian.md/t/android-vim-search-menu-command-line-disappears-with-softkeyboard/87615