Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
e7e0ead0
Commit
e7e0ead0
authored
Jul 14, 2010
by
hjk
Browse files
fakevim: implement :only
parent
cc3df924
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimplugin.cpp
View file @
e7e0ead0
...
...
@@ -980,6 +980,9 @@ void FakeVimPluginPrivate::handleExCommand(bool *handled, const ExCommand &cmd)
||
cmd
.
cmd
==
"bN"
||
cmd
.
cmd
==
"bNext"
)
{
// :bp[revious]
switchToFile
(
currentFile
()
-
cmd
.
count
);
}
else
if
(
cmd
.
cmd
==
"on"
||
cmd
.
cmd
==
"only"
)
{
//triggerAction(Core::Constants::REMOVE_ALL_SPLITS);
triggerAction
(
Core
::
Constants
::
REMOVE_CURRENT_SPLIT
);
}
else
{
// Check whether one of the configure commands matches.
typedef
CommandMap
::
const_iterator
Iterator
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment