Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't turn off FlyMode;无法关闭飞行模式。 #350

Open
y004482 opened this issue Jul 7, 2022 · 4 comments
Open

Can't turn off FlyMode;无法关闭飞行模式。 #350

y004482 opened this issue Jul 7, 2022 · 4 comments

Comments

@y004482
Copy link

y004482 commented Jul 7, 2022

尊敬的开发者您好:
我在使用您开发的插件时,遇到了一点问题。无法解决。特此向您请教。
当我在一个 () 内插入一个 ) 时,我发现无法插入。具体来说
( | ) //在“|”处,我输入了 )
( )| //"|"跑到了外面,而没有插入。
我希望得到 ( )| )
经过查询,推测是FlyMode的问题。可是我确定我的FLyMode是关闭的。并且对于其他符号也有这种问题。
另外:请原谅,因为我英文不好,所以我用中文编写了自文档并翻译成英文。

    Hello Dear Developer:
              I'm having a little problem with the plugin you developed. cannot be resolved. I hereby ask you for advice.
      When I insert a ) inside a () , I find that it cannot be inserted. Specifically
      (     |     ) //At "|", I entered )
      (    )|       //"|" went outside without inserting.
      I want to get (      )|      )
              After inquiries, it is speculated that it is a problem with FlyMode. But I'm sure my FLyMode is off. And also have this problem for other symbols.
              Also: Excuse me, because my English is not good, I wrote the self-document in Chinese and translated it into English.
@LunarWatcher
Copy link

That's not fly mode, that's just including spaces when checking for regular jumping. I don't think there's a way to fix it. My fork has a variable to disable it; don't remember which off the top of my head, will have to reply later

@y004482
Copy link
Author

y004482 commented Jul 7, 2022 via email

@LunarWatcher
Copy link

Oh, that's actually not flymode at all; that's regular jumping. No options for disabling it in this version, and I don't remember if I have an option for it in my fork. But if you only want to insert when an open pair is inserted, you can get away with inoremap ( (), and other variations for other pairs you need. Also a lot more light-weight than plugin like this if your needs are limited to insertion of close pairs only

@y004482
Copy link
Author

y004482 commented Jul 7, 2022

感谢您的回复。我去尝试inoremap ( ()。
Thank you for your reply. I'm going to try inoremap ( ().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants