Commit Graph

322 Commits

Author SHA1 Message Date
hjk
4133107a0d fakevim: remove old undo hack as QPlainTextEdit's own undo works well now. 2009-06-03 12:48:47 +02:00
hjk
76f57c8678 fakevim: fix behaviour of 'r' at end of line 2009-06-03 12:48:46 +02:00
hjk
6c85e5ec31 fakevim: let the "IncSearch" option toggle between using the Creator
core Find dialog and the "old" minibuffer based search.

A hot fix for the recent regression that 'n' and 'N' do not work and
the positioning of the cursor after the search is wrong.
2009-06-02 12:08:35 +02:00
Rhys Weatherley
4350baeea1 Map n and N in FakeVim to the FIND_NEXT and FIND_PREVIOUS actions. 2009-06-01 07:58:23 +10:00
Rhys Weatherley
6d4d0f044d Make ZZ and ZQ work in FakeVim as aliases for :x and :q! 2009-06-01 07:58:06 +10:00
Rhys Weatherley
ef4d2c301a Add :q/:w/:x commands that are normally expected in vi's
Common things like :wq, :x, and :qa didn't work - now they do.
2009-06-01 07:57:57 +10:00
Rhys Weatherley
8fa417bdd7 Make '-' move to the start of the previous line in FakeVim mode. 2009-06-01 07:57:46 +10:00
Rhys Weatherley
790a7879e8 Make FakeVim use the default find box instead of mini-buffer
Creator already has a find box that works fairly well, so there
is no need for a mini-buffer mode for searching.  This change makes
FakeVim activate the standard find box when the user hits '/' or '?'.

Note: right now both '/' and '?' do forward searching by default
because the Creator find box lacks a "find backwards by default" mode.
This can be added later to the find box if considered useful.
2009-06-01 07:57:32 +10:00
Friedemann Kleint
4e7f2f8d7f Fixed translation glitches. 2009-05-14 17:02:30 +02:00
hjk
979c48fd5a fakevim: show a message similar to vim when pressing Ctrl-c in command mode 2009-05-07 10:53:26 +02:00
hjk
b575e06553 fakevim: make Ctrl-c work in insert and ex mode 2009-05-07 10:48:12 +02:00
hjk
aa6c55260f fakevim: better cursor poistioning after indenting 2009-05-05 09:06:36 +02:00
hjk
ed853ee42b fakevim: fix typo 2009-05-05 08:46:45 +02:00
hjk
ab47d78c0c fakevim: handle Key_Insert 2009-05-04 09:36:26 +02:00
hjk
df2c805c73 fakevim: fix 'dd' when cursor is not in the first column
Was seemingly broken by the target columns changes. Autotest is added
now, too.
2009-04-29 15:29:03 +02:00
Oswald Buddenhagen
6d5eeb7afb add missing tr()s, etc., add some //: comments 2009-04-20 16:51:10 +02:00
con
412a4b027d Merge commit 'origin/1.1'
Conflicts:
	src/plugins/debugger/debuggeractions.cpp
	src/plugins/debugger/gdboptionpage.ui
2009-04-17 15:17:31 +02:00
hjk
6f85959d06 fakevim: eat Ctrl-A to prevent the global "select all" shortcut to trigger 2009-04-17 14:58:01 +02:00
hjk
5076be59e3 fakevim: fix cursor position for <n>j or <n>k and end or begin of document 2009-04-16 11:52:58 +02:00
Thorbjørn Lindeijer
bc89f5dc4f Merge branch '1.1'
Conflicts:
	src/plugins/debugger/debuggeractions.cpp

Reviewed-by: hjk
2009-04-16 11:32:05 +02:00
hjk
c172e9b1a4 fakevim: autotests for 'e', 'dd', 'w', 'cc' 2009-04-16 11:26:12 +02:00
hjk
0c03179fac fakevim: compile fix 2009-04-14 15:47:45 +02:00
Friedemann Kleint
7f84a96e3a Compile on Windows. 2009-04-14 15:22:52 +02:00
Fred Emmott
b95af44c0d work on substitution command in fakevim 2009-04-14 13:59:46 +02:00
hjk
3e6285358d fakevim: fix positioning after 'w'
was broken during the changes to the "target column" logic
2009-04-14 09:38:16 +02:00
hjk
e76ba64f68 fakevim: work on autotests 2009-04-14 09:38:16 +02:00
hjk
57aad47460 fakevim: work on autotests 2009-04-09 13:49:22 +02:00
hjk
48dcc26d36 fakevim: work on autotests 2009-04-08 16:05:49 +02:00
hjk
0d803c5da8 fakevim: fix some target column related issues 2009-04-07 17:36:29 +02:00
hjk
7d48b523d5 fakevim: work on auto tests 2009-04-06 14:08:01 +02:00
hjk
05f0b60ff1 fakevim: fix split window 2009-04-03 16:33:59 +02:00
hjk
37ac1bee95 fakevim: fix several issues related to cursor column positioning, also
handle a few instances of "startofline" properly
2009-04-03 15:47:11 +02:00
hjk
b4b23ea981 fakevim: fix some autoindent issues 2009-04-03 13:40:17 +02:00
hjk
9d42fb36d7 fackevim: move cursor to first non-blank on line after 'p' 2009-04-02 12:04:29 +02:00
hjk
8285584f33 fakevim: handle '$s' properly 2009-04-01 16:50:21 +02:00
hjk
fbb4288eae fakevim: removing whitespace at end of line 2009-04-01 16:50:21 +02:00
hjk
a700c1f0c4 fakevim: re-use the undo/redo capability of QTextDocument instead of
rolling our own

This is reverting a previous decision and boils down to replacing one can of worms by another...
2009-04-01 16:50:21 +02:00
hjk
c3b3bd121a fakevim: distinquish :q and :q!
javascripteditor: compile fix Linux, compile fix namespaces
2009-03-31 11:53:42 +02:00
hjk
aedeadf01b fakevim: use :q to quit the editor, not fakevim mode.
Quitting the fakevim mode is still possible using the options, or
Alt-V,Alt-V, or clicking the button
2009-03-31 11:45:28 +02:00
hjk
3fe66ea628 fakevim: make Alt-V Alt-V a global toggle 2009-03-30 16:54:25 +02:00
hjk
f7c3b552af fakevim: progress on settings 2009-03-30 15:39:13 +02:00
hjk
e346c0d725 fakevim: move settings/action related code to files of their own 2009-03-30 15:39:13 +02:00
hjk
9963552876 fakevim: work on new settings dialog 2009-03-30 15:39:13 +02:00
hjk
765489f964 fakevim: work on settings dialog 2009-03-30 15:39:13 +02:00
hjk
c826e6dcfe fakevim: re-organize settings handling 2009-03-30 15:39:13 +02:00
hjk
b8e9f38ab0 fakevim: more scary initial message 2009-03-30 15:39:13 +02:00
hjk
5fcbd01288 fakevim: make search and command history static 2009-03-25 15:31:50 +01:00
hjk
6d8223517f fakevim: more vim-ish behaviour of page up and down 2009-03-25 15:17:58 +01:00
hjk
0807ca53c9 fakevim: fine-tune autocompletion 2009-03-25 14:52:45 +01:00
hjk
530967ea22 fakevim: trigger autocompletion on '.' and '>' 2009-03-25 13:31:30 +01:00