Commit Graph

339 Commits

Author SHA1 Message Date
hjk
b293775789 fakevim: revert accidentally commited test code 2010-04-28 15:14:17 +02:00
hjk
18e5e7dde5 fakevim: make input more robust on non-US-style keyboards 2010-04-28 14:01:27 +02:00
hjk
5dba164823 fakevim: add IsKeyword configuration option 2010-04-28 11:35:07 +02:00
hjk
a5e7cfe734 fakevim: start working on some syntax highlighting infrastructure 2010-04-28 11:19:15 +02:00
hjk
18fcfeb16c fakevim: potential fix for QTCREATORBUG-1263 2010-04-27 16:02:36 +02:00
hjk
e94b6d95a6 fakevim: set target column after search operation 2010-04-21 10:16:40 +02:00
hjk
307eda415d fakevim: make IncSearch work better. 2010-04-21 10:16:40 +02:00
hjk
95cacf5c42 fakevim: looks like the Anchor concept needs a rework. 2010-04-21 10:16:40 +02:00
hjk
1f26640a66 fakevim: 'change sub mode' likes text objects, too. 2010-04-19 11:44:49 +02:00
hjk
994da51446 fakevim: make 'vaw' etc work. 2010-04-19 11:36:05 +02:00
hjk
3ef8997f03 fakevim: handle yiw 2010-04-19 08:19:04 +02:00
hjk
b5b29532f3 fakevim: add a setting for (rudimentary) reading of .vimrc on startup 2010-04-16 17:47:28 +02:00
hjk
4a1c9e5902 fakevim: refactoring of ex-mode command handling 2010-04-16 17:47:28 +02:00
hjk
44c02264da fakevim: make :map work for non-ASCII characters 2010-04-16 15:16:48 +02:00
hjk
be9c181680 fakevim: properly handle ø in the minibuffer 2010-04-15 13:58:35 +02:00
hjk
a51cf52430 fakevim: properly handle ø in the minibuffer 2010-04-15 13:54:35 +02:00
hjk
1f176af9d4 fakevim: fix ^ when it is a dead key 2010-04-15 13:29:35 +02:00
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