You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Add an API to disable selectively disable IME dialog #1092
If a user long presses l while in vim-mode an IME dialog appears. We want to keep IME support on by default, but it would be nice to allow vim to disable it while in command mode.
Therefore I propose we adding editor.setImeVisible(boolean) to the public API so that packages can control it.
Here it is inline as well, just in casse the gist gets eaten by the ever-hungry gist monster 👹:
defaults write com.github.atom ApplePressAndHoldEnabled -bool false
# Alternately, if you want this feature disabled globally, you can enter this:
defaults write -g ApplePressAndHoldEnabled -bool false
# In either case you'll need to restart Atom for the change to take place.
Not closing this issue since it still might make sense to have an API in Atom for this.
Original request for this issue is to provide API to control IME from package.
I still want Atom to provide API to control IME.
I'm maintaining vim-mode-plus and want to disable IME when escaped from insert-mode.
So I tried suggested implementation in electron/electron#47.
Suggestion was set input type attribute to password.
Like below
ifsettings.get('disableInputMethodExceptInsertMode')
# [FIXME] See #98.if@hiddenInputElement?=@editorElement.component?.hiddenInputComponent.getDomNode()
if mode is'insert'@hiddenInputElement.removeAttribute('type')
else@hiddenInputElement.setAttribute('type', 'password')
It works, but it has side effect.
Tab bar become undraggable(t9md/atom-vim-mode-plus#193) when set hiddenInputElement attribute type to password.
When I dragged tab bar, tabs's dragover event get not fired if type=password.
I believe this is one of example of unexpected side-effect.
So we still can't find solution for original request.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
mcolyer commentedon Mar 17, 2014
Reported by a user atom/vim-mode#175
izuzak commentedon Sep 13, 2015
In atom/vim-mode#175, @rastasheep shared an approach which allows users to disable the popup for Atom only: https://gist.github.com/rastasheep/bfc8266eeb58b899054c
Here it is inline as well, just in casse the gist gets eaten by the ever-hungry gist monster 👹:
Not closing this issue since it still might make sense to have an API in Atom for this.
t9md commentedon Mar 21, 2016
Original request for this issue is to provide API to control IME from package.
I still want Atom to provide API to control IME.
I'm maintaining vim-mode-plus and want to disable IME when escaped from
insert-mode.So I tried suggested implementation in electron/electron#47.
Suggestion was set input
typeattribute topassword.Like below
It works, but it has side effect.
Tab bar become undraggable(t9md/atom-vim-mode-plus#193) when set hiddenInputElement attribute
typetopassword.When I dragged tab bar, tabs's
dragoverevent get not fired iftype=password.I believe this is one of example of unexpected side-effect.
So we still can't find solution for original request.
lock commentedon Mar 30, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!