summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
AgeCommit message (Collapse)Author
2014-11-24Display selection count in insert mode lineMaxime Coste
2014-11-22Do not merge overlapping selections in InputMode::ReplaceMaxime Coste
Fixes #237
2014-11-21Do not record keys that were not user generatedMaxime Coste
2014-11-12Fix case where a context ends up locked in no-hooks modeMaxime Coste
2014-11-11Reduce idle timeout to 50 millisecondsMaxime Coste
2014-11-08For {Menu,Info}Style::Prompt, choose the anchor directly in ncurses codeMaxime Coste
2014-11-08Add a MenuDoc style for info box, that will place it next to the menuMaxime Coste
2014-11-01move more parameters from const String& to StringViewMaxime Coste
2014-10-20Port more code to StringView instead of const String&Maxime Coste
2014-10-13Refactor regex uses, do not reference boost except in regex.hhMaxime Coste
2014-09-23Add support for mapping keys in goto/view commandsMaxime Coste
2014-09-10Add some color to mode specific mode line infoMaxime Coste
2014-08-19Add support for 'c-o' in prompt and insert to hide the completion menuMaxime Coste
Fixes #229
2014-08-14Add support for <c-w> <c-b> and <c-e> for word moves in the line editorMaxime Coste
This might go away later if we find a better way of handling line edition, but seems like a good compromise for now. Fixes #168
2014-08-07Fix buffer modification checkMaxime Coste
It used to grab the next key, because the normal mode reactivation when executing the on_next_key would trigger a timestamp check again.
2014-07-27In non interactive interactive mode, disable user key mappingsMaxime Coste
exec and eval now accepts a -with-maps to use them. But by default they are disabled, so that all the indent scripts work even if you remap basic keys. Fixes #217
2014-07-25Display a [no-hooks] tag in the mode line when hooks are disabledMaxime Coste
2014-07-24Disable hooks on a per context basis, and propagate that to Insert modeMaxime Coste
using \ before entering insert mode will disable hooks during the whole insert session rather than only the entering phase. That gives a nice way of pasting text into kakoune.
2014-07-22Fix Menu use of j/k keys when editing filterMaxime Coste
2014-07-17Clear status line on normal mode commandMaxime Coste
2014-07-11Rename ColorPair to Face and ColorRegistry to FaceRegistryMaxime Coste
Face also stores the attributes
2014-07-10Add docstring for normal mode commands and display them if autoinfo >= 2Maxime Coste
2014-06-21Add \ in normal mode to disable user hooks on next normal commandMaxime Coste
Fixes #112
2014-06-21Use main selection index as default when accessing only one register valueMaxime Coste
Fixes #117
2014-06-16Do not merge overlapping selection when entering append modeMaxime Coste
Fixes #163
2014-06-09Refactor InputMode::Insert::prepareMaxime Coste
2014-06-09Merge branch 'master' into remove-buffer-change-listenerMaxime Coste
2014-06-09Tweak prompt completion behaviourMaxime Coste
Always select the common prefix if we just updated the list of completions. The previous behaviour was to ignore it if we had it already typed. Do that only if it was already displayed.
2014-05-29Use forward iteration on selections, and take advantage of it when updatingMaxime Coste
SelectionList::update now is optimized for the common case where changes are sorted, the algorithm is O(m*n) with m the number of sorted ranges in the changes. In the common case, m should be very small.
2014-05-25Use SelectionList::insert in InputModes::InsertMaxime Coste
2014-05-25Merge branch 'master' into remove-buffer-change-listenerMaxime Coste
2014-05-25In normal mode, backspace can be used to edit countMaxime Coste
Fix #125
2014-05-25Rename Key::Erase to Key::Delete and add 'del' keynameMaxime Coste
Fixes #145 Fixes #146
2014-05-14Iterate in reversed order on selections when modifing bufferMaxime Coste
This way, update only needs to be called once everything is done as we always modify after the next selection to be used.
2014-05-14Use a plain SelectionList for Context, remove DynamicSelectionListMaxime Coste
2014-05-13SelectionList know its buffer and timestampMaxime Coste
2014-05-07Refactor LineAndColumn coordinatesMaxime Coste
BufferCoord -> ByteCoord DisplayCoord -> CharCoord Moved their definition along with LineAndColumn into coord.hh
2014-04-28Extract insert completion code to insert_completer.{cc,hh}Maxime Coste
2014-04-28Fix support for tabulation in insert completion candidatesMaxime Coste
2014-04-27Add -init switch to :prompt to set the initial textMaxime Coste
Fixes #97
2014-04-22Preserve current word in word completion if found elsewhereMaxime Coste
If occurence count in the buffer if greater that one, do not remove it from the matches.
2014-04-17word completion ignore the word on which the cursor is presentMaxime Coste
2014-04-16Rename BufferCompleter to InputCompleterMaxime Coste
2014-04-13Allow unset completer function in Prompt input modeMaxime Coste
2014-04-02More OSX fixesMaxime Coste
2014-03-30minor cleanupMaxime Coste
2014-03-24Push aborted commands to historyEvert Van Petegem
2014-03-19Automatic insert filename completion kicks in only if prefix contains slashMaxime Coste
2014-03-15Insert mode completion execute completers in order, and supports multiple optionMaxime Coste
The 'completions' option is gone, just add option=completion_option_name in the completers list.
2014-02-12Check for buffer external change when entering insert modeMaxime Coste