summaryrefslogtreecommitdiff
path: root/src/map.h
AgeCommit message (Collapse)Author
2018-03-28Update license year.Daniel Carl
2017-05-26Update license year.Daniel Carl
2016-06-01Update license year.Daniel Carl
2016-03-30Startup webkit2 branch from the scratch.Daniel Carl
2015-02-04Use gstring for map processing (#160).Daniel Carl
2015-01-01Change year in license block.Daniel Carl
2014-11-26Fixed ^V^V shown in showcmd of statusbar.Daniel Carl
The showcmd is completely controlled by map.c and any external call to map_showcmd() lead to duplicate printed showcmd chars.
2014-09-04Fixed wrong showcmd in status bar.Daniel Carl
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.
2014-06-10Use const char * where possible.Daniel Carl
2014-01-11Change year in license block.Daniel Carl
2013-10-19Added noremap counterparts for the xmap commands.Daniel Carl
2013-10-13Added ':normal' command to run normal mode commands from input box.Daniel Carl
This allows to run normal mode commands from input box, for example after setting some options like ':set scripts!|no! R'.
2013-10-06Allow utf8 for keybinds.Daniel Carl
Used some key processing stuff from vim.
2013-09-21Added cursor to default key bindings.Daniel Carl
Removed those cursor keybindings that where introduced to fix an issue that does not exist anymore.
2013-09-21Allow to bind also function keys.Daniel Carl
2013-09-20Changed the way keys are processed.Daniel Carl
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'.