| Age | Commit message (Collapse) | Author | Files | Lines |
|
Use visual mode and :| to filter text through external commands.
The mapping was already reused for selection complement.
|
|
|
|
Both VB and LaTex use .cls file extensions. It should be a much more
reasonable default to assume LaTex syntax.
|
|
As noted on mdoc(7), in groff "Lk only accepts a single link-name argument; the remainder is misformatted.
The quotes makes groff treat the title as a single argument.
|
|
Pressing Ctrl+\ should probably not terminate the editor.
In previous versions libtermkey would disable signal
generation by disabling termios VQUIT. However, curses
probably overrides it when they both fight for terminal
settings. This should probably be cleaned up at some point.
Ignoring SIGQUIT seems like a good idea anyway.
|
|
|
|
|
|
|
|
|
|
|
|
In practice this was never an issue also it is guaranteed that the
terminating zero byte is already there.
Fixes coverity issue 157023.
|
|
This should make it easier to see which window is focused.
|
|
Some marks (only '^ right now) are window specific while others
have file file scope. This distinction is currently hidden in
the API. Before this commit file.marks[...] would always operate
on the currently active window.
|
|
This should also fix coverity issue 157024.
|
|
The static analyzer can currently not infere that there always exists
at least one selection.
|
|
|
|
They were removed in 78d6ae87398bb90aa6067b0747934d55961e1efb
to make room for the selection manipulation primitives. But by
now we use `m` and `M` to save/restore selections. I still think
these mappings are rather useless and they might well disappear
again in the future.
See also #593
|
|
|
|
This partially reverts f9e2b884c15919757651db8b10c033a344a19e75
further jumps after leaving visual mode should not break `gv`.
|
|
For now we only allow singleton selections in normal mode,
this might change in the future.
|
|
|
|
This fixes #531 in a more robust way. The key handling functions
should be able to handle additional input passed to them as is
for example the case when processing the `gv` mapping.
|
|
This reverts commit 54ca598fcccff8844bfbe494cd3b325b2fea487f.
The key handling functions are called too often. This for example
causes problems for `r` (replace char) in combination with :langmap.
|
|
Also expose all register slots through the Lua API.
|
|
|
|
|
|
This was completely broken since 71eab6d5d72145f17ab3d4c87945ac12176ae8e9
and even before never really worked as one would expect.
If anything it should be implemented like the jump list using marks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To fix compilation you need to update (or remove) config.h.
|
|
Previously the last selection was kept implicitly to statisfy the invariant
that at least one selection needs to exist.
|
|
We now use ' to refer to marks. Mark a is set using 'am and restored
using 'aM while this is slightly harder to type than ma and 'a it is
consistent with register usage for yank/put and allows a default
mark to be used which is handy for quick selection manipulation
primitives.
|
|
The key binding remain the same, but the selections are now stored on
a per-buffer basis.
|
|
Otherwise this fails on macOS.
Fix #578
|
|
With the current model the differences between normal and visual mode
is that in the latter selections are anchored (meaning one endpoint
remains fixed), while in normal mode both endpoints can in principle
be updated simultaneously (currently they are always colapsed to a
singleton selection, giving the impression of cursors).
|
|
No longer needed after standalone build target was removed.
|
|
This window local register holds the last active selections.
|
|
While the complete alias is added to the input queue,
the called key bindings should only see the keys they
have asked for.
Previously a mapping such as:
:map! normal gv \"^Sv
did not work as expected because the key binding for
the register did reject an invalid multi letter register
name.
Might also influence #581
|
|
Fix #566
|
|
|
|
This should keep the EOF markers visible when another option is enabled.
The whole UI option handling is a bit of a mess. In the longterm more of
the drawing code should be moved into Lua.
|
|
Conflicts:
view.c
view.h
|
|
Conflicts:
view.c
|
|
|