hjk
0a93ca9259
fakevim: split 'IncSearch' into 'IncSearch' and 'UseCoreDialog'
2010-04-08 14:08:40 +02:00
Vladimir Kuznetsov
78205847c6
Correctly move cursor after Backspace when following identation.
...
Merge-request: 132
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-04-07 18:18:52 +02:00
Vladimir Kuznetsov
0a6bb82ebb
Handle Home and End keys in insert mode.
...
Merge-request: 132
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-04-07 18:18:51 +02:00
hjk
3f03f1a6e5
fakevim: disable test code
2010-03-30 17:26:52 +02:00
hjk
67eb9c0802
fakevim: add Shift-{Left,Right} as aliases for b and e
2010-03-29 15:59:52 +02:00
hjk
1dc68b8f22
fakevim: hot fix for the 'must change tabsize in fakevim, too'-problem
2010-03-26 17:56:35 +01:00
hjk
e8e37ab7e1
fakevim: work on :map
2010-03-26 14:53:12 +01:00
hjk
55cb347ac7
fakevim: start work on :map
2010-03-19 15:03:29 +01:00
hjk
d20fd0c8d8
fakevim: compile fix on VS 2008.
...
The compiler does not like 128 if's in a function.
2010-03-19 08:44:57 +01:00
hjk
8c0821dbc3
fakevim: provide some infrastructure to handle 'text object'.
...
Implementations are mostly missing.
2010-03-18 17:45:55 +01:00
hjk
3ed146aece
fakevim: code cosmetics
2010-03-18 17:45:55 +01:00
hjk
336cb97089
fakevim: cosmetics
2010-03-18 13:16:32 +01:00
Martin Aumüller
8cb003a18f
fakevim: Escape should reset command mode no matter which state the editor was in
...
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-18 13:16:00 +01:00
Martin Aumüller
709fbf08a2
fakevim: 'r' after visual mode
...
in vim, this replaces each character from selection with the character following the command
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-18 13:15:59 +01:00
Martin Aumüller
f11c85d58c
fakevim: improve behaviour of some editing commands while in visual mode
...
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-18 13:15:59 +01:00
Martin Aumüller
275d429eac
fakevim: use handleExCommand instead of handleCommand
...
handleCommand does not work correctly for commands that move the cursor
(the cursor movement would get overwritten immediately)
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-18 13:15:59 +01:00
Martin Aumüller
01935a8aca
fakevim: let ctrl-[ trigger the same action as the escape key
...
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-18 13:15:59 +01:00
Martin Aumüller
2ee91c8aab
fakevim: map ctrl-] (follow tag in vim) to "Follow symbol under cursor" and ctrl-t (move up in tag stack) to "Go Back"
...
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-18 13:15:59 +01:00
Martin Aumüller
fc6851824c
fakevim: handle ctrl-[ and ctrl-] in the same way as letters with control modifier
...
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-18 13:15:59 +01:00
Martin Aumüller
9b6cfa47e0
fakevim: fewer hard-coded values for keys with control modifier
...
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-18 13:15:58 +01:00
Martin Aumüller
1d715abfc5
fakevim: don't try to lower-case keys which have no case
...
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-18 13:15:58 +01:00
Martin Aumüller
98406e3e18
Revert "fakevim: fix QTCREATORBUG-880"
...
This reverts commit 81ff5cda95 ,
except for the addition of '_' as a synonym for '^'.
Further commits have a different kind of fix that maintains that
Escape always takes one back to the editor.
Merge-request: 131
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-18 13:15:58 +01:00
hjk
81ff5cda95
fakevim: fix QTCREATORBUG-880
2010-03-17 14:31:15 +01:00
hjk
c741f83514
fakevim: fix some indentation when tabs are not expanded
2010-03-09 17:50:24 +01:00
hjk
0bd8864780
fakevim: adjust visual tabwidth
2010-03-09 17:50:23 +01:00
Martin Aumüller
414c5ba979
fakevim: 'cw' invoked on a sequence of space should just change the spaces
...
Merge-request: 126
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-08 11:44:43 +01:00
Martin Aumüller
6d5c121063
fakevim: 'I' should enter insert mode even when not in visual mode
...
Merge-request: 126
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-03-08 11:44:43 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Martin Aumüller
db150ab61d
fakevim: make sure that cursor is positioned before the character where text would be inserted with 'i'
...
Merge-request: 113
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-02-19 13:02:51 +01:00
Martin Aumüller
5af95f01f0
fakevim: only overwrite m_tc with EDITOR's cursor if necessary
...
only ex commands that are handled externally might modify the cursor position w/o updating m_tc
Merge-request: 113
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-02-19 13:02:51 +01:00
Martin Aumüller
7a71ee1166
fakevim: ctrl-d in insert mode should remove one level of indentation
...
Merge-request: 113
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-02-19 13:02:51 +01:00
Martin Aumüller
115b32697f
fakevim: 'dtd' would have deleted a line instead of deleteing to the next 'd'
...
Merge-request: 113
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-02-19 13:02:51 +01:00
Martin Aumüller
a7cf72a945
fakevim: improved 'startofline' behaviour for indenting and shifting left/right
...
Merge-request: 113
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-02-19 13:02:50 +01:00
Martin Aumüller
21a9943b8d
fakevim: cursor position after deleting linewise should depend on 'startofline' setting
...
Merge-request: 113
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-02-19 13:02:50 +01:00
Martin Aumüller
4c80a1ab92
fakevim: dfx should do nothing if no x is found
...
Merge-request: 113
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-02-19 13:02:49 +01:00
Martin Aumüller
6648fe439a
fakevim: retain column when moving across lines after '^'
...
Merge-request: 113
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-02-19 13:02:49 +01:00
hjk
b6a99c4e4f
fakevim: re-enable :<line> which was broken after some recent merge
2010-02-17 17:08:03 +01:00
Kai Koehne
98a0757916
Compile fix on Mac OS X (gcc 4.0.1)
2010-02-16 10:02:02 +01:00
hjk
08a1171e28
fakevim: fix two backspace-with-autoindent issues
...
Backspacing across start of line was broken, and it always removed all
automatically indented whitespace.
2010-02-15 17:56:38 +01:00
hjk
354fd8d895
fakevim: implement 'I' in visual block mode
2010-02-12 15:52:19 +01:00
hjk
78a206a3b3
fakevim: fix indentation after <Return><Tab><Backspace>
2010-02-12 11:05:21 +01:00
hjk
f6d4680ffe
fakevim: make ':r' undoable and behave more vim-ish
2010-02-08 14:56:52 +01:00
hjk
787787edee
fakevim: fix shift left in visual mode
2010-02-08 13:31:59 +01:00
Friedemann Kleint
81f14bb270
Fix some code scanning issues.
...
QString: Use QChar/char where appropriate, do not use QString::null
2010-02-02 17:09:41 +01:00
Friedemann Kleint
f672bff338
Fix some code scanning issues.
...
foreach()-Loops.
2010-02-01 14:00:07 +01:00
Friedemann Kleint
2fd8b2d7ff
Fix some code scanning issues.
...
QString: Use QChar where appropriate.
2010-02-01 12:43:56 +01:00
Thiago Macieira
8dca852b35
Fix compilation: #include your headers properly.
...
std::swap is defined in <algorithm>.
Reviewed-By: TrustMe
2010-01-25 10:45:30 +01:00
Martin Aumüller
4d14568afc
fakevim: map 'gt'/'gT' to ':tabnext'/':tabprev'
...
this way, users can override these commands with arbitrary actions,
some want to map switching between the opened files to these keys
Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-01-22 17:05:03 +01:00
Martin Aumüller
a4e34a804a
fakevim: make sure that FakeVimHandler has returned before being deleted
...
some actions might cause the parent editor to be deleted,
don't crash in that case
Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-01-22 17:05:03 +01:00
Martin Aumüller
58571da7a4
fakevim: correct cursor handling for ex commands
...
ex commands might depend on current cursor position and might modifiy
it, thus set the editor's text cursor to fakevim's before initiating the
command and use the editor's text cursor afterwards
Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-01-21 18:19:58 +01:00