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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unfortunately, I don't have a mac to test this on, so it would be a great help if you could update your install of vim-barbaric and let me know if this breaks anything.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick patch!
I tested it on my mac and automatic input switching is working with xkbswitch-macosx binary.
I tested the barbaric_timeout variable and that is working, too.
Switching between U.S. and Japanese input, I do not get the switching windows bug.
I don't use a plugin manager, so I installed the .vim files and the .txt doc file manually.
I am getting a warning message when I use the command :help barbaric:
Error detected while processing BufWinEnter Auto commands for "*":
E32: No file name
The reason will be displayed to describe this comment to others. Learn more.
Again, thanks for the quick patch.
I have been using the plugin for a few days and I wrote a comment on the
commit.
As I said, everything I have tested is working.
However, for me there is a delay between "pressing Esc" and "the input mode
actually switching" of about half a second.
In that time, I have usually typed a character or two (like "j" or ":w")
which disappear while I am in normal mode but reappear when I return to
input mode.
This has nothing to do with barbaric, though, right? The delay is in the
OS, right? Maybe my computer is too old.
I wondered how the Windows computers I use at work seem to switch between
English and Japanese input instantly with the press of a key.
After reading around, I guess they don't actually switch input modes in the
way "command + space" does on a mac, but instead just send the keyboard
input unfiltered.
Anyway, I learned how to set the system keyboard preferences to do that
same thing on my mac.
Now "Caps Lock" sends plain English while in Japanese mode.
When I'm typing in Japanese in vim (insert mode) and I need to do something
in normal mode, I push "Esc" and then "Caps Lock on" to be able to move
around, then "i" and "Caps Lock off" to continue typing in Japanese.
For me, this is better than switching input modes with "command + space"
and less irksome than fixing the typos from the delay described above.
I won't be using barbaric anymore, but I'm still a big fan of the project.
I regret not being able to take advantage of advanced features like timeout
and scope.
I look forward to the day when input mode switching can be "instantaneous"
in addition to "automatic".
Keep up the good work.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your kind words!
FWIW, it looks like others have run into similar problems (#9 & #15), and found solutions via the 'timeoutlen' and 'ttimeoutlen' options. I will look into this when I have a little more time, and maybe add a comment in the README & help file.
Error detected while processing BufWinEnter Auto commands for "*":
E32: No file name
This plugin doesn't set any BufWinEnter autocmds. Do you have any defined in your .vimrc? Does this error only occur when opening the helpdoc for barbaric?
The reason will be displayed to describe this comment to others. Learn more.
Hello again.
I'm happy to say vim-barbaric is working perfectly now!
Installing it in the standard recommended path (~/.vim/pack/.../start/vim-barbaric/...) stopped "ghost" characters from appearing on startup.
As for the lag when switching inputs, set ttimeoutlen=0 in my .vimrc was what I needed to do.
I didn't know that "closed" issues were hidden by default, so I missed the solution my first time around.
Thank you for adding the troubleshooting section to the readme, I never would have found it otherwise.
And you were right about the BufWinEnter auto commands, it was in my .vimrc for saving folds.
The solution, by the way, was here.
e3c29ed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a 2010 mac mini
has('mac') returns 0 for me
I read about it here.
Thanks for your great work, now that I have this plugin working I'm really happy.
e3c29ed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the heads up, @nicknameGrape! A patch has been applied in 250be70.
Unfortunately, I don't have a mac to test this on, so it would be a great help if you could update your install of vim-barbaric and let me know if this breaks anything.
e3c29ed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick patch!
I tested it on my mac and automatic input switching is working with xkbswitch-macosx binary.
I tested the barbaric_timeout variable and that is working, too.
Switching between U.S. and Japanese input, I do not get the switching windows bug.
I don't use a plugin manager, so I installed the .vim files and the .txt doc file manually.
I am getting a warning message when I use the command
:help barbaric
:but I can still read the help file.
e3c29ed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e3c29ed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your kind words!
FWIW, it looks like others have run into similar problems (#9 & #15), and found solutions via the
'timeoutlen'
and'ttimeoutlen'
options. I will look into this when I have a little more time, and maybe add a comment in the README & help file.This plugin doesn't set any
BufWinEnter
autocmds. Do you have any defined in your.vimrc
? Does this error only occur when opening the helpdoc for barbaric?e3c29ed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello again.
I'm happy to say vim-barbaric is working perfectly now!
Installing it in the standard recommended path (
~/.vim/pack/.../start/vim-barbaric/...
) stopped "ghost" characters from appearing on startup.As for the lag when switching inputs,
set ttimeoutlen=0
in my.vimrc
was what I needed to do.I didn't know that "closed" issues were hidden by default, so I missed the solution my first time around.
Thank you for adding the troubleshooting section to the readme, I never would have found it otherwise.
And you were right about the
BufWinEnter
auto commands, it was in my.vimrc
for saving folds.The solution, by the way, was here.
Thanks again for your great work.