supertab icon indicating copy to clipboard operation
supertab copied to clipboard

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

Open nowox opened this issue 11 years ago • 2 comments

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.

nowox avatar Oct 14 '14 22:10 nowox

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?

ervandew avatar Oct 14 '14 22:10 ervandew

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 <C-Space> instead of <Tab> 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 https://github.com/ervandew/supertab/pull/135#issuecomment-59127854.

nowox avatar Oct 15 '14 20:10 nowox