esm7/obsidian-vimrc-support

Mobile support

jin-ahn opened this issue ยท 5 comments

Please make sure this feature request is within the scope of this plugin.

  • I understand that if my request is about supporting some Vim feature, it probably belongs here.

Describe the feature that you'd like:

The recent obsidian mobile updated added vim support for mobile versions (ie ipados and iOS). This plugin is listed as supported but I am not able to get my existing .obsidian.vimrc to work. It might the limitation that in iPadOS no files are allowed to start with ".". I've tested with making a separate file that does not start with "." But it still does not seem to get recognized.

Additional context:

Add any other context or screenshots about the feature request here.

Same here. my ".vimrc" file works fine with the desktop version but fails to load on the iPad / iPhone.

I started using the VIM keybindings a few days ago -- still learning the ropes -- and I would love to use your plugin on the mobile app.

Same here. my ".vimrc" file works fine with the desktop version but fails to load on the iPad / iPhone.

I started using the VIM keybindings a few days ago -- still learning the ropes -- and I would love to use your plugin on the mobile app.

I have found a solution by renaming the ".vimrc" file to "vim.rc". Now the remappings do work on all my devices!

Agreed with other commenters. My process was:

  1. Change this plugin's setting for the vimrc file to obsidian.vimrc (no leading dot)
  2. Renamed my vimrc file to match
  3. Restarted the desktop app and confirmed it was working
  4. Ensure sync from desktop has happened (e.g. via Sync log)
  5. Sync config and vimrc change to iPad
  6. Quit/restart the iPad app to ensure this plugin has reloaded the updated vimrc

It works as expected after that, on both desktop and iPad.

This issue seems to be "fix by documentation", ideally right in the README.

esm7 commented

Can someone open a PR for the README that details how to do this?

Agreed with other commenters. My process was:

  1. Change this plugin's setting for the vimrc file to obsidian.vimrc (no leading dot)
  2. Renamed my vimrc file to match
  3. Restarted the desktop app and confirmed it was working
  4. Ensure sync from desktop has happened (e.g. via Sync log)
  5. Sync config and vimrc change to iPad
  6. Quit/restart the iPad app to ensure this plugin has reloaded the updated vimrc

It works as expected after that, on both desktop and iPad.

This issue seems to be "fix by documentation", ideally right in the README.