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

Not map <c-x> if already mapped to something else #135

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nowox
Copy link

@nowox nowox commented Oct 14, 2014

I am using as cut like every other editor. In insertion mode, this mapping will cut the word under cursor. Unfortunately your plugin will automatically remap to execute ManualCompletionEnter(). I added some code to avoid this mapping is is already user mapped. I also added a g:SuperTabMappingTabManual to let the user choose its own mapping.

@ervandew
Copy link
Owner

So how do you manually perform omni (<c-x><c-u>), user (<c-x><c-u>), etc completions? Do you have vim's default <c-x> behavior mapped to something else?

@nowox
Copy link
Author

nowox commented Oct 15, 2014

Yes, I use another mapping for since I prefer to keep a more standard
behavior for and (cut, yank, put). In insert mode these
mapping will act on the current word (aw). This is very convenient I think.
I am only using your plugin with instead of because
otherwise I insert a lot of useless space after the words I don't want to
autocomplete.

On Wed, Oct 15, 2014 at 12:28 AM, Eric Van Dewoestine <
[email protected]> wrote:

So how do you manually perform omni (), user (), etc
completions? Do you have vim's default behavior mapped to something
else?


Reply to this email directly or view it on GitHub
#135 (comment).

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

Successfully merging this pull request may close these issues.

2 participants