-
Notifications
You must be signed in to change notification settings - Fork 135
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
Need to press ESCAPE twice #350
Comments
I notice I also need to press ENTER twice. I am not clear on what customizations spf13 does to neocomplcache, just wondering if you all use this plugin in vanilla form, or with a lot of customizations ? |
You should use neocomplcache only and check if happend same problem(Possible less settings and non other plugins) In my case, neocomplcache works and I do not press ESCAPE twice. |
Thanks. I will remove the settings and try. I am closing this issue since it is not an issue with this plugin. Would appreciate if you could share your settings for neo from your .vimrc. I don't like spf13 either, it somehow messed things ups, ... but my snippets have stopped working after I reverted to my old environment (pathogen based), so i came back to spf13 just for the snippets. Anyway, ... |
I think you should install plugins manually. I recommend using neobundle(https://github.com/Shougo/neobundle.vim). |
On Sat, Jan 12, 2013 at 11:59 AM, Shougo notifications@github.com wrote:
I have now installed neocomplcache outside of spf13 in my old vimrc and it Thanks. btw, how is neobundle different from Vundle ? |
neobundle has many features. |
For future reference, I narrowed this down to the following line in the Omnicomplete plugin settings in spf13.
|
Oh... I think it is spf13 keymappings problem. |
Yeah, it's a spf13 keymapping, but it's a binding added specifically for use with Omnicomplete, active even when you don't use Omnicomplete... |
The keymappings added by spf13 to this plugin were making it very painful to use. I don't know how other users are managing esp the problem where it goes back to INSERT mode after one escape. Maybe you can send a mail to the maintainer of spf13 to fix the mappings (since spf13 got a lot of attention on Hacker News and his mappings reflect badly on this plugin.) |
I'm having the same problem too. And I'm not using the spf13 nor the mapping. The behaviour is just the same as described by @rkumar . I think there may be some conflict with other scripts? As you may concern, I use these submodules https://github.com/yyk/vimsettings-2013/blob/master/.gitmodules |
On Thu, Jan 31, 2013 at 12:58 PM, Yu Yuankai notifications@github.comwrote:
I find I still have to press Enter two times at times. Let us say I am However, it is still much better than SPF13 which was behaving very badly |
You should map example:
|
I finally found my problem is caused by the autoclose script. After removing it, everything works well. Just FYI. |
On Fri, Feb 1, 2013 at 10:42 PM, Yu Yuankai notifications@github.comwrote:
Strange, I am not using vim-autoclose. In fact, when I tried spf13, |
I think it is from below mappings in autoclose.vim
|
Anyone has a workaround? |
Good to know. I always thought that is how neocomplete was suppose to work. Hope this get resolved. For now i switched to: https://github.com/jiangmiao/auto-pairs |
Great! auto-pairs looks very well and I won't have this issue :) thank you! |
I added the problem in FAQ. |
Friends, removing "vim-autoclose" has caused the problem, on spf13, related on spf13/spf13-vim#567 . |
@diraol what worked for me is to add:
...to my |
I know this thread is old, but I'm having this problem with plain vanilla 'vi' editor on Solaris, and I'm assuming it has to do with using the UTF-8 Locale. I thought I'd drop that in here and see if it rings any bells, and if someone has yet found a fix or workaround, beside hitting all the time? |
I recently installed spf13-vim which includes neocomplcache. I've noticed that when I am typing and a popup of completions comes up. Let;s say I ignore the completions popup and keep typing. Now I press ESCAPE once (which is how I've been working for over 20 years). However, now i see the status below saying "back to original" and then it again goes into "INSERT" mode.
This results in several keys or commands getting inserted into the text. Is there any way to avoid this? Or is there some new behavior to be learned. Surely everyone is not pressing ESCAPE two times to leave insert mode with this plugin.
I am trying to get used to the behavior of selection too. Very often if i type the full word and press escape, the word gets truncated to the point where the popup came up. Let's say i type "abc" and the popup comes. I then complete typing "def" and then press ESCAPE. I think in cases like this, it keeps reverting my text to "abc". So I need to press a SPACE and then delete the extra space. (Maybe this is true when i accept a completion from the popup.)
Are there settings to customize this, Or what is the usual correct keystrokes AFTER selecting a value, and also if you ignore the popup and keep typing.
The text was updated successfully, but these errors were encountered: