| Age | Commit message (Collapse) | Author | Files | Lines |
|
Fix #644
|
|
Use visual mode and :| to filter text through external commands.
The mapping was already reused for selection complement.
|
|
|
|
This is no longer needed because we always insert \n never \r\n.
|
|
Decouple register content from cursors. Previously each cursor had
exactly one corresponding register. Now each register can save a
list of values whose lifetime is not tied to the cursor.
If multiple cursors exist and a put with a register holding only
a single value is performed, then this value is inserted at every
cursor location. If there are fewer values available than cursors,
then only the matching ones will be used. If a register holding
multiple values is inserted in a single cursor context, only the
first value will be used. Another option would be to join all
existing values. The details of this behavior might be changed
in the future.
<C-r> in insert mode has not yet been adapted and register handling
in general needs to be cleaned up further.
Fix #527
|
|
Use something like dos2unix(1) and unix2dos(1), if you
need to edit such files.
|
|
The exception being when the range is a single line.
|
|
|
|
There are still issues with left shifts starting from
characterwise visual mode when the selection boundaries
are deleted. For now this is considered a pilot error.
Fix #508
|
|
|
|
This should also (at least partially) address the issues raised
in #440 and #442.
|
|
|
|
Technically this macro name is in the reserved namespace of errno.h.
The same is true for EPOS. Maybe we should rename them at some point,
but for now the short names are convenient.
Fix #443
Close #444
|
|
|
|
Delete the given range and insert the same number of replacement characters.
|
|
They both perform a motion before changing mode.
|
|
We only remove leading but not trailing white space of the lines
to be joined. Not completely sure whether that is an improvement,
but it matches vim behavior.
Do not insert a space when joining empty lines.
|
|
Extend the operator range to cover white spaces to the left of
the cursor position on the same line.
Close #400
|
|
The behavior is not exactly the same because vim preserves any
existing white spaces wihle we remove existing ones but do
not insert additional ones.
The vim behavior (essentially only deleating new lines) can be
achived using something like:
:x/\n/d
Close #374
|
|
Do not override implicit operator macro in command mode.
Fix #334
|
|
Close #299
|
|
This should let `$p` work as before the changes to `$`.
|
|
Close #263
|
|
Given the following text with no trailing new line at the end of line2,
where # denotes the cursor position:
line1 of text
line2 #f text
the command yykp should produce
line1 of text
#ine2 of text
line2 of text
where previously it would wrongly result in
line1 of text
#ine1 of textline2 of text
|
|
|
|
|
|
Otherwise this completely breaks the common case of yanking a whole
line with yy. This also means that the beavior in visual line mode
is different than in vim.
Partially reverts ff57c0b8598a60617983ebe25d34c79a9c6bc511.
|
|
Something like
ifoo<Escape>yyp
should produce
foo
foo
not
foofoo
as was the case before.
|
|
Close #176
|
|
This allows them to be placed into the read only ELF section.
|
|
|
|
Both registers are currently treated identically.
The actual system integration is performed by two shell
scripts vis-copy and vis-paste.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It currently works by switching to visual mode and then opening
the command prompt with a default range which refers to the
currently active selection.
|
|
There are some combinations (e.g. line wise selection / character
wise register content) which should probably be improved further.
Also since vis currently neither supports the numbered registers
"0 - "9 nor the small delete register "- the deleted text is
not stored in any register. Notice that we can't call op_delete
in the implementation because it would overwrite the register
content we want to paste.
Closes #113
|
|
|
|
|