forked from qt-creator/qt-creator
fakevim: Implement special clipboard buffers
Introduces Vim's special registers "+ and "* and partial support for "clipboard" option - only values "unnamed" and "unnamedplus" and the behaviour is only similar. Task-number: QTCREATORBUG-6342 Change-Id: I1fa95b681edadacfe9690a2fd6eb2e98e7cc5dca Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -236,6 +236,13 @@ FakeVimSettings *theFakeVimSettings()
|
||||
item->setCheckable(true);
|
||||
instance->insertItem(ConfigPassControlKey, item, _("passcontrolkey"), _("pck"));
|
||||
|
||||
item = new SavedAction(instance);
|
||||
item->setDefaultValue(QString());
|
||||
item->setValue(QString());
|
||||
item->setSettingsKey(group, _("Clipboard"));
|
||||
item->setCheckable(true);
|
||||
instance->insertItem(ConfigClipboard, item, _("clipboard"), _("cb"));
|
||||
|
||||
return instance;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user