Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
The showcmd is completely controlled by map.c and any external call to
map_showcmd() lead to duplicate printed showcmd chars.
|
|
If there where mapping that start with keys that needs more keys and we wait
over the timeoutlen without typing further, the already typed keys where added
to the showcmd in status bar.
For example if ':nnoremap 1gt' is configured and '1' is typed, '1' is written
to showcmd. After timeoutlen '11' is written. If '1g' was typed, '1g1g' was
written after timeoutlen.
This patch adds a counter for keys shown in showcmd, so that we do not add
keys that are already present there.
|
|
|
|
|
|
|
|
This allows to run normal mode commands from input box, for example after
setting some options like ':set scripts!|no! R'.
|
|
Used some key processing stuff from vim.
|
|
Removed those cursor keybindings that where introduced to fix an issue that
does not exist anymore.
|
|
|
|
Until today vimb mapped two-part keybindings to commands. This patch changed
this paradigm into a more vi like way. The commands are separated into normal
mode commands that mainly consists of a single char and ex commands that can
by typed into the inputbox like ':open'. This change allows us to adapt also
the way keypresses and mapping are handled. Now every keypress is converted
into a unsigned char and collected into a typeahead queue. The mappings are
applied on the queue. So now we can use also long keymaps and run multiple
commands for different modes with them like ':nmap abcdef :set
scripts!<CR>:open search query<CR>50G'.
|