summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-04-11Add support for the shift modifier.Tim Allen
Because keyboard layouts vary, the shift-modifier `<s-…>` is only supported for special keys (like `<up>` and `<home>`) and for ASCII lowercase where we assume the shift-modifier just produces the matching uppercase character. Even that's not universally true, since in Turkish `i` and `I` are not an uppercase/lowercase pair, but Kakoune's default keyboard mappings already assume en-US mappings for mnemonic purposes. Mappings of the form `<s-x>` are normalized to `<X>` when `x` is an ASCII character. `<backtab>` is removed, since we can now say `<s-tab>`.
2018-04-10Redraw window when the face definition changedMaxime Coste
Hash the current face state and store that hash to check for changes.
2018-04-10FaceRegistry: Support referencing a named face from a parent scopeMaxime Coste
2018-04-10Makefile: formatting fixMaxime Coste
2018-04-09Make version available through $kak_version and debug infoMaxime Coste
2018-04-09Makefile: add a dist target to generate a tarballMaxime Coste
2018-04-07Make FaceRegistry scopedMaxime Coste
set-face now takes a scope argument, and faces can be overridden on a buffer or window basis. colorscheme apply on global scope, which should be good enough for now. Fixes #1411
2018-04-07Ignore current buffer when completing the :buffer commandMaxime Coste
Closes #1901 Fixes #1782
2018-04-07Merge remote-tracking branch 'Delapouite/no-such'Maxime Coste
2018-04-07Add some safety static_asserts to remote read/write functionsMaxime Coste
2018-04-06Make error messages more consistentDelapouite
2018-04-06Make compute_display_setup methods constMaxime Coste
2018-04-05Add new buffers at the back of the buffer listMaxime Coste
This will be reverted if we discover why we were doing things the over way around. Fixes #1881
2018-04-05Merge remote-tracking branch 'Delapouite/declare-option'Maxime Coste
2018-04-05Fix some trailing spaces and a tab that sneaked into the code baseMaxime Coste
2018-04-04NCurses: Tolerate failure to open /dev/tty and to ioctl for resizeMaxime Coste
Not sure what to do when that happens, but asserting and quitting is not necessarily the best option, try to tolerate it. Fixes #1972
2018-04-04Prompt: add <a-!> to expand the typed expansions in current lineMaxime Coste
Fixes #1952
2018-04-01Merge remote-tracking branch 'lenormf/fix-ncurses'Maxime Coste
2018-04-01Restore previous status line after notifying wait for shellMaxime Coste
Fixes prompt getting erased by the wait for shell message, and having to manually trigger a redraw to see it again.
2018-03-31src: Make code more readable, assert function calls that shouldn't failFrank LENORMAND
Should help clarify what the issue is in #1972.
2018-03-30Support full redraws during shell execution and handle resize thereMaxime Coste
Fixes #1973
2018-03-30Make set -add replace existing value when applied to a map optionMaxime Coste
2018-03-29Add status message when commiting an undo group in insert modeDelapouite
2018-03-28Merge remote-tracking branch 'Delapouite/on-key'Maxime Coste
2018-03-28Fix uninitialized m_empty_text StringView in LineEditorMaxime Coste
2018-03-28Fix typo in on-key command descriptionDelapouite
2018-03-27Give more hints in "option not found" error.Delapouite
2018-03-27Support count in <a-s> to split on groups of n linesMaxime Coste
Fixes #1966
2018-03-27Simplify command debug codeMaxime Coste
2018-03-27Prompt: Do not call callback in on_enabledMaxime Coste
Schedule it for later, when we get "idle". It currently can lead to crashed because after the callback, the current mode might be different, leading to a crash when doing the ModeChange hook call.
2018-03-27Fix 'O' not putting the cursor on the correct lineMaxime Coste
2018-03-26Formatting fixMaxime Coste
2018-03-26Fix operator priority order errorMaxime Coste
2018-03-25Avoid visiting the same directory multiple times in insert filename completionMaxime Coste
2018-03-25Allow explicit filename completion with empty prefixMaxime Coste
2018-03-25Cleanup client name validation codeMaxime Coste
2018-03-25Remove contains_that and use any_of to be closer to the c++ stdlibMaxime Coste
2018-03-25Unify code that validates identifiers in KakouneMaxime Coste
Session/Client/User modes names are now requiered to be "identifiers" they must be in [a-zA-Z0-9_-]. Option names are the same except they do not allow '-' as they need to be made available through the env vars and '-' is not supported there. Fixes #1946
2018-03-25Document rotate selection breaking change in startup messageMaxime Coste
2018-03-25Move rotate selection and rotate selection contents to ) and <a-)>Maxime Coste
Backward rotation are supported with (. Fixes #1210
2018-03-25Use 1 and -1 for Forward/Backward Direction to simplify codeMaxime Coste
2018-03-25indent selector: When line is empty, find indent from surrounding linesMaxime Coste
Look for the first non empty line preceeding the current line, or if not found, the first non empty line following it. Fixes #1904
2018-03-25Remove parse_filename overload and use a default parameterMaxime Coste
2018-03-23Support `%` in `path` option to mean current buffer directoryMaxime Coste
In the end, % is not that painful to work with as its only set seldomly, and we usually dont need to use expansion at the same time. Moreover, it just requires a single \ to be escaped. Fixes #1562
2018-03-23Restore client name after converting to clientMaxime Coste
When Kakoune forked the sever to background, the newly converted to client process (the original client/server process) was not preserving its previous client name.
2018-03-21Merge remote-tracking branch 'Delapouite/doc-commands'Maxime Coste
2018-03-20Revert "Throw when trying to remove a child highlighter that does not exists"Maxime Coste
This reverts commit 56237aa8f8adaffc63584a6e8435b9cf414d82ef. Throwing seems more correct, but it breaks lots of existing scripts. reverting for now until we have a nice solution.
2018-03-20Docs: add missing [<switches>] in commands signaturesDelapouite
2018-03-20Tolerate empty filenames in real_pathMaxime Coste
2018-03-20NCursesUI: Rework menu_show to shrink menu height when neededMaxime Coste
Closes #1886