Open oero opened 8 years ago
I thought it could be a bug. I don't have this problem with OSX. Personally I have SublimeText opened in command mode by default. But I just tried to change this behaviour by forcing it opens in insert mode by putting the following in user setting:
"vintage_start_in_command_mode": false
And I couldn't reproduce your issues. Insert mode remain the state while I'm switching windows back and forth
I found the only way to do this when I press the shortcut key "alt+tab" to switch the windows, and once you press the "ALT" will automatically exit the insert mode, and then enter the normal mode. If I use the mouse, this is not the case,but I'm sure I'll use "alt+tab" to switch the window.
According your settings,it doesn't work. On ubuntu14.04 anyway thx @babygau
For whatever it is worth, I am unable to reproduce this issue under Windows 7. Nor do I see anything similar occurring under OS X.
I do see this behavior when switching between tabs within Sublime Text 3 itself, but that is due to the following default configuration setting.
// If true, the current mode will be reset to normal mode when a tab gets activated.
“vintageous_reset_mode_when_switching_tabs”: true
It might be worth setting this to false in your configuration and checking to see if the behavior changes. Perhaps there is a minor difference in the way things activate when switching windows with the version of Windows that you are using.
The only other thing I can think to suggest is to double check your key mappings if you have made any changes there.
On Dec 20, 2015, at 7:51 AM, oero notifications@github.com wrote:
I found the only way to do this when I press the shortcut key "alt+tab" to switch the windows, and once you press the "ALT" will automatically exit the insert mode, and then enter the normal mode. If I use the mouse, this is not the case,but I'm sure I'll use "alt+tab" to switch the window.
According your settings,it doesn't work. On ubuntu14.04 anyway thx @babygau https://github.com/babygau — Reply to this email directly or view it on GitHub https://github.com/guillermooo/Vintageous/issues/1052#issuecomment-166125276.
@deconvolved thx! This problem still exists, because I am used to switch between programs through the shortcut "alt+tab". e.g. When I read the document with Sublime3, I have to switch to the browser to see the document, then I want to press "alt+tab" to switch to the browser from Sublime3.
I thought "alt" key is the cause of problem.
I met a weird question. Once I switch the sublime3 to other windows,e.g. if I switch to the browser ,after sublime will automatically exit the insert mode,but I did not press "ESC" to exit insert mode.
When I switch to the sublime from another window,I have to press "i" to enter Insert mode,which makes me feel tired.
Is there any way to solve it? thx!!!!!!