aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@nokia.com>2012-04-13 14:05:55 +0200
committerhjk <qthjk@ovi.com>2012-04-13 15:57:12 +0200
commitccb4de15f9e0548d1f0fe0cf1fb6f4171371758a (patch)
tree8b3caca663804b5fc69b8a57024fe55e4f990381 /doc
parentaa1d7b25e1f76110d6fd5bc225b26e4ac12e0c79 (diff)
Doc: new FakeVim options
Add screenshot Change-Id: If0588261d7424d66ea222abc85124a2cf575b244 Add screenshot Change-Id: If0588261d7424d66ea222abc85124a2cf575b244 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/images/qtcreator-fakevim-options.pngbin0 -> 12510 bytes
-rw-r--r--doc/src/editors/creator-editors.qdoc13
2 files changed, 12 insertions, 1 deletions
diff --git a/doc/images/qtcreator-fakevim-options.png b/doc/images/qtcreator-fakevim-options.png
new file mode 100644
index 0000000000..5bcf99c10f
--- /dev/null
+++ b/doc/images/qtcreator-fakevim-options.png
Binary files differ
diff --git a/doc/src/editors/creator-editors.qdoc b/doc/src/editors/creator-editors.qdoc
index ed4ff0e6e5..ea67114e14 100644
--- a/doc/src/editors/creator-editors.qdoc
+++ b/doc/src/editors/creator-editors.qdoc
@@ -871,14 +871,25 @@
\QC core, select \gui{Tools} > \gui{Options} > \gui{FakeVim} >
\gui{Ex Command Mapping}.
+ To map \e {user commands} to keyboard shortcuts, select \gui{Tools > Options
+ > FakeVim > User Command Mapping}. The user command mapped to the shortcut
+ is executed by FakeVim as if you were typing it (as when replaying a macro).
+
To make changes to the Vim-style settings, select \gui{Tools} >
\gui{Options} > \gui FakeVim > \gui{General}.
+ \image qtcreator-fakevim-options.png "FakeVim options"
+
+ To preselect the indentation settings specified for the text editor, select
+ \gui {Copy Text Editor Settings}. To preselect the Qt coding style, select
+ \gui {Set Qt Style}. To preselect a simple indentation style, select
+ \gui {Set Plain Style}. You can then change any of the preselected settings.
+
To use a Vim-style color scheme, select \gui {Tools > Options >
Text Editor > Fonts & Color}. In the \gui {Color Scheme} list, select
\gui {Vim (dark)}.
- To quit the FakeVim mode, unselect \gui{Tools} > \gui(Options} >
+ To quit the FakeVim mode, unselect \gui{Tools} > \gui{Options} >
\gui{FakeVim} > \gui {Use FakeVim} or press \key{Alt+V,Alt+V}.
You can temporarily escape FakeVim mode to access the normal \QC