Samuel Rødal
0c4f0b7a3f
doc: Fix documentation referring to debug buffer as scratch buffer
2018-05-11 17:52:19 +07:00
Samuel Rødal
4cced30866
doc: Fix spelling error in design.asciidoc: pipping -> piping
2018-05-11 05:58:13 +07:00
Delapouite
408c3d6957
Docs: homogenize "selections" idiom in keys.asciidoc
2018-05-07 10:58:58 +02:00
Maxime Coste
7325ad216c
Add support for explicit menu selection from the UI
...
the JsonUI now supports a "menu_select(int)" RPC call that should
trigger explicit selection of the provided item index.
As discussed for issue #2019 .
2018-05-03 22:28:20 +10:00
Maxime Coste
c2637f08d9
JsonUI: Add support for a "mouse" RPC calls from the UI
...
As discussed on issue #2019
2018-05-03 22:27:59 +10:00
Maxime Coste
8e555cb992
JsonUI: add support for set_ui_options RPC call
...
As discussed on #2019
2018-04-29 20:45:53 +10:00
Delapouite
8b00d763e0
Docs: add exhaustive list of scoped objects
2018-04-28 17:41:24 +02:00
Delapouite
9f852652ee
Docs: fix rotate content example
2018-04-19 18:55:41 +02:00
Maxime Coste
99fea9c0f9
Fix typo
...
Thanks @lenormf
2018-04-12 21:28:15 +10:00
Maxime Coste
5fa19f4d7f
NCursesUI: Add support for shifted function keys
...
Shifted function keys are not well standardized around terminals,
Shift F(N) usually returns F(X) + N, with X=12 on xterm, X=10 on
rxvt-unicode... Default to X=12 and make it configuable through
the ncurses_shift_function_key ui_option.
This fixes what #1898 tried to.
2018-04-11 20:39:57 +10:00
Tim Allen
50e422659b
Add support for the shift modifier.
...
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-11 15:15:45 +10:00
Maxime Coste
d571c207e6
Make version available through $kak_version and debug info
2018-04-09 17:06:02 +10:00
Maxime Coste
6686d5513e
writing_scripts.asciidoc: remove reference to hidden command leading underscore
...
We do not encourage such a practice anymore.
2018-04-08 18:44:47 +10:00
Maxime Coste
57baad4afd
Make FaceRegistry scoped
...
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-07 16:27:50 +10:00
Delapouite
2d775921bc
Docs: describe the -add switch of set-option
2018-04-05 11:35:03 +02:00
Maxime Coste
6ee68b5b08
Merge remote-tracking branch 'Delapouite/asciidoc'
2018-04-04 21:09:57 +10:00
Maxime Coste
6ee60ff9d7
Prompt: add <a-!> to expand the typed expansions in current line
...
Fixes #1952
2018-04-04 11:00:25 +10:00
Delapouite
f2837442fc
Docs: fix asciidoc list formatting issue
2018-04-03 13:33:30 +02:00
Maxime Coste
e128c05213
Merge remote-tracking branch 'Delapouite/fifo'
2018-04-03 20:00:28 +10:00
Delapouite
2b457c62b2
Docs: add short mention about "named pipe" in fifo section
2018-04-03 10:20:56 +02:00
Maxime Coste
895ec93b5c
coding-style.asciidoc: Update to C++14 and add a few more guidelines
2018-04-03 09:45:08 +10:00
Frank LENORMAND
566dc1f26b
doc highlighters: Don't hardcode timestamps
2018-03-31 09:18:59 +03:00
Delapouite
153fbdcc33
Docs: add missing *
for -buffer switch of exec/eval
2018-03-27 08:21:31 +02:00
Maxime Coste
6f48fb0be3
Merge remote-tracking branch 'lenormf/fix-json-ui-doc'
2018-03-25 18:56:13 +11:00
Frank LENORMAND
1bf0ea4b46
doc json_ui: Document the refresh
request
2018-03-25 10:29:21 +03:00
Maxime Coste
ec7f3738ee
Move rotate selection and rotate selection contents to ) and <a-)>
...
Backward rotation are supported with (.
Fixes #1210
2018-03-25 11:39:26 +11:00
Delapouite
ecd6cebdab
Docs: add %/
token to default path option
2018-03-23 10:24:18 +01:00
Maxime Coste
1cdeace128
Merge remote-tracking branch 'Delapouite/doc-commands'
2018-03-21 06:42:31 +11:00
Delapouite
00cb49438a
Docs: add missing [<switches>] in commands signatures
2018-03-20 09:13:09 +01:00
Maxime Coste
e444cd3937
Merge remote-tracking branch 'lenormf/contrib-tmux-truecolor'
2018-03-20 05:28:53 +11:00
Maxime Coste
eee4576743
Merge remote-tracking branch 'Delapouite/scopes'
2018-03-12 11:53:43 +11:00
Delapouite
5ba8293d2b
Docs: fix formatting and add explanation about "current" scope.
2018-03-11 18:07:13 +01:00
Maxime Coste
11d6aefc91
Merge remote-tracking branch 'Delapouite/keys'
2018-03-11 12:09:02 +11:00
Maxime Coste
4584ecac77
Move WORD text object to <a-w>
...
It improves consistency and it looked like there was support for that
change on github.
Fixes #1861
2018-03-10 00:25:19 +11:00
Maxime Coste
f801d0064a
Merge remote-tracking branch 'Delapouite/hls'
2018-03-10 00:07:03 +11:00
Delapouite
07572ca6d7
Docs: fix typo for prompt mode <a-l>
2018-03-09 09:22:06 +01:00
Delapouite
abc2d28570
Docs: extend explanations about line_flags, ranges and replace-ranges
2018-03-06 12:15:55 +01:00
Delapouite
950e24949a
Docs: add missing insert mode <c-x>L in docs
2018-03-05 08:47:28 +01:00
Maxime Coste
4ab8125de1
pages/hooks.asciidoc: Document GlobalSetOption
2018-03-05 11:20:17 +11:00
Delapouite
c4eb4438d2
Remove <scope> from user-modes commands
2018-03-02 09:28:27 +01:00
Maxime Coste
34c7db0ea7
pages/modes.asciidoc: Tweak wording
2018-03-01 14:38:41 +11:00
Maxime Coste
dcab629895
Merge remote-tracking branch 'Delapouite/modes'
2018-03-01 14:09:20 +11:00
Maxime Coste
7dfd439263
Merge remote-tracking branch 'Delapouite/user-mode-lock'
2018-03-01 14:04:52 +11:00
Maxime Coste
e39e91049c
interfacing.asciidoc: Fix some errors in the interactive sample
...
Fixes #1891
2018-03-01 00:10:03 +11:00
Delapouite
a6a1c34288
Add -lock switch to enter-user-mode command
2018-02-27 19:55:00 +01:00
Maxime Coste
0d838f80a0
Merge remote-tracking branch 'Delapouite/keymap'
2018-02-28 00:08:11 +11:00
Delapouite
44a67f8730
Docs: add trim to keymap
2018-02-25 17:25:05 +01:00
Delapouite
c2541dbfe2
Docs: add modes page
2018-02-24 12:05:21 +01:00
Maxime Coste
6a6e71dc0f
Highlight cursors differently when they lie on an end of line
...
When on an end of line, certain behaviours can be surprising, for
example delete will join the following line (which makes sense, and
is consistent, but hard to predict if we do not know the cursor is
on and end of line).
As Kakoune is moving more and more towards treating end of lines
as any other character, making it clear when the cursor lies on
them seems like a good way to reduce surprise.
2018-02-24 21:32:01 +11:00
Maxime Coste
4d11bb20c3
Always collapse jumps in exec/eval, remove -collapse-jumps switch
...
There does not seem to be any reasonable use cases of not collapsing
jumps when the input is not comming from the user. Always collapse
them.
It could make sense to move jump collapsing out of context_wrap as
in general any action not comming directly from the user should
collapse them, at the moment a comment or mapping will not collapse
jumps, which is unfortunate.
2018-02-24 19:02:15 +11:00
Frank LENORMAND
84017a7917
faq: Document how to render colors properly in tmux
2018-02-23 20:54:40 +03:00
Olivier Perret
48912a21d3
document 'register' value
2018-02-22 21:47:34 +01:00
Maxime Coste
61c627135a
doc pages: Document kak_token_to_complete and kak_pos_in_token
...
Fixes #1845
2018-02-22 22:46:35 +11:00
Maxime Coste
99d1fee44c
Merge remote-tracking branch 'Delapouite/trim'
2018-02-22 22:06:27 +11:00
Delapouite
fccfc76e89
Add trim_selections primitive
2018-02-13 14:35:10 +01:00
Delapouite
6b447a0ecb
Add declare-user-mode / enter-user-mode commands
2018-02-12 14:19:58 +01:00
Maxime Coste
9c25e955df
Use '/' register as the default register for <a-k> and <a-K>
...
Fixes #1808
2018-01-26 14:15:18 +11:00
Maxime Coste
b677797b92
Document the availability of shell expansions in normal mode
...
Fixes #1805
2018-01-23 15:59:46 +11:00
Maxime Coste
d22c989984
Rename InputModeChange hook to ModeChange
...
InputModeChange is a bit long to type and its pretty clear in Kakoune
that "Mode" means "Input mode", so use a shorter and as clear name.
2018-01-21 10:34:09 +11:00
Maxime Coste
07dfcd336d
Fallback to getpwuid in the unlikely case $HOME is underfined
...
Add a homedir() helper function, and document the $kak_config
env var.
2018-01-20 11:19:23 +11:00
Delapouite
74898120ed
Add session name filtering for KakBegin hook
2017-12-21 22:22:33 +01:00
Maxime Coste
e0b28fa421
Introduce InputModeChange hook
...
InputModeChange <old mode>:<new mode> is intended to replace the various
<Mode>Begin/<Mode>End hooks.
Fixes #1772
2017-12-18 11:09:54 +11:00
Delapouite
70394ae248
Docs: homogenize and emphasize hooks filtering text
2017-12-16 15:31:31 +01:00
Maxime Coste
43d2e12c0e
design.asciidoc: Add a section describing normal mode as a text editing language
2017-12-14 09:24:31 +11:00
Maxime Coste
f950fe3376
hooks.asciidoc: Fix few rendering problems
2017-11-28 19:40:07 +08:00
Delapouite
9c5fa1d68b
Docs: fix typo avance → advance in keys
2017-11-25 17:18:12 +01:00
Maxime Coste
ec6ecd5772
Add an InsertCompletionSelect hook
...
InsertCompletionSelect will be called whenever the selected insert
completion changes. If the original text is selected back, the hook
parameter will be empty. If another candidate is selected, the hook
parameter will be its text content.
Fixes #1676
2017-11-25 13:57:47 +08:00
Delapouite
bf222a0628
Docs: add missing -i <suffix> command line flag
2017-11-19 11:43:08 +01:00
Maxime Coste
706c1672d5
Normal: add <a-S> to select first and last char of selection
...
Fixes #550
2017-11-13 17:36:04 +08:00
Maxime Coste
1f02a1f7e2
Doc pages: Use passive form, never address the reader as 'you'
...
Except for the FAQ, it could be fixed, but it does not have to be
as formal as the rest of the docs.
2017-11-12 22:44:04 +08:00
Maxime Coste
9af08b768e
Merge remote-tracking branch 'Delapouite/README'
2017-11-12 22:34:31 +08:00
Delapouite
7261dba7ed
Docs: add a new buffers.asciidoc to move over FIFO parts from README
2017-11-11 10:22:25 +01:00
Delapouite
3c17aa32b5
Docs: add README links to marks, jumps, objects, macros and macros keys
2017-11-10 18:06:38 +01:00
Delapouite
a1836b47a4
Docs: use full names for exec/eval and add links to relevant pages
2017-11-08 18:38:31 +01:00
Delapouite
3588369ad5
Docs: group commands in common sections
2017-11-08 13:29:36 +01:00
Maxime Coste
8aa35c0724
doc.kak: Use a github compatible anchor generation
...
Convert session names to lowercase and replace spaces with minus
to generate anchor names.
2017-11-08 20:15:46 +08:00
Maxime Coste
b63f16e7a2
doc.kak: Support anchors and internal links
...
Underline links, support jumping to a specific anchor either in
the current page or another one, use those new features in some
pages.
2017-11-08 16:32:49 +08:00
Delapouite
3b250fe824
Docs: use asciidoc links between pages
2017-11-06 10:08:59 +01:00
Maxime Coste
7f51e51fcb
Introduce matching_pairs option that controls the pairs used by m
2017-11-04 15:53:53 +08:00
Maxime Coste
20fe8e0112
options.asciidoc: use _italic_ for default values
2017-11-02 17:42:44 +08:00
Maxime Coste
4c3d36f9fe
documentation pages: Remove tabs
2017-11-02 17:37:39 +08:00
Maxime Coste
3c2159f06c
options.asciidoc: Document other option commands, remove tabs
2017-11-02 17:36:10 +08:00
Maxime Coste
4fabba3d12
doc.kak: Render documentation internally instead of relying on man
...
doc.kak now behaves as a basic asciidoc renderer. Asciidoc is unfortunately
still a dependency to generate the manpage of the `kak` command.
2017-11-02 10:03:24 +08:00
Maxime Coste
6f2088cbc4
Wrap: Add -indent switch support that wraps preserving line indent
2017-11-02 01:28:28 +08:00
Maxime Coste
6bc408e9b9
Remove duplicated documentation from the README
...
Just point towards the relevant doc page.
2017-11-01 19:49:13 +08:00
Maxime Coste
ed65d86c72
Rename doc/manpages to doc/pages
...
That fact we use man for these is an implementation detail.
2017-11-01 19:05:37 +08:00
Maxime Coste
412c21bf70
Update highlighters documentation
...
Remove documentation from the README and point to the highlighters
doc.
2017-11-01 19:00:44 +08:00
Maxime Coste
09de0686ef
Remove remaining references to boost from documentation/contrib files
2017-11-01 14:15:11 +08:00
Maxime Coste
2b295a265e
Regex: Add a Compatibility section to the regex documentation
...
Refer more explicitely to ECMAScript and document the
incompatibilities with it.
2017-11-01 14:05:15 +08:00
Maxime Coste
3f627058b0
Regex: add support for \0, \cX, \xXX and \uXXXX escapes
2017-11-01 14:05:15 +08:00
Maxime Coste
b59ad2f09d
Regex: change description of lookarounds limitations
2017-11-01 14:05:15 +08:00
Maxime Coste
3d0a0f1369
Regex: apply danr's suggested changes to the regex syntax documentation
2017-11-01 14:05:15 +08:00
Frank LENORMAND
3acb75c5c2
Regex: Fix a few mistakes in the documentation
2017-11-01 14:05:14 +08:00
Maxime Coste
8c529d3cff
Regex: add a regex.asciidoc documentation page describing the syntax
2017-11-01 14:05:14 +08:00
Maxime Coste
7744b4c164
Merge remote-tracking branch 'lenormf/trampoline'
2017-10-25 10:57:58 +08:00
Delapouite
d5b6669a83
Add distinct w (curr buf) / W (all buf) word completion for <c-x>
2017-10-24 22:47:43 +02:00
Maxime Coste
145cf843dd
Add a fail
command to explicitely raise an error
2017-10-17 10:25:16 +08:00
Frank LENORMAND
2f04317e7b
contrib: Add a descriptive reference of editing primitives
2017-10-13 16:39:35 +03:00
Delapouite
d1e59d4673
Docs: fix wrong hardcoded 100ms value for autocompletion
2017-10-10 12:05:10 +02:00
Maxime Coste
b93fd8cbca
Merge remote-tracking branch 'Delapouite/collapse-jumps'
2017-10-07 21:52:09 +08:00
Maxime Coste
ca17fbbeb9
Merge remote-tracking branch 'Delapouite/docs-scroll'
2017-10-07 21:51:37 +08:00
Delapouite
d30919dc0e
Docs: add missing vm and update custom text-object : → c
2017-10-06 17:49:13 +02:00
Maxime Coste
cbb6e9ea0f
Merge remote-tracking branch 'Delapouite/client_list'
2017-10-06 13:53:55 +08:00
Maxime Coste
8900d06646
Merge remote-tracking branch 'Delapouite/complete-line'
2017-10-06 13:50:42 +08:00
Delapouite
d03858280a
Add client_list var
2017-10-05 16:41:36 +02:00
Delapouite
0e62518d89
Docs: add missing normal keys <c-[bfud]>
2017-10-04 12:47:56 +02:00
Delapouite
a63cf00b05
Add debug mappings
2017-10-03 23:00:08 +02:00
Delapouite
95e788786f
Docs: add missing -collapse-jumps and fix -itersel
2017-10-03 14:22:15 +02:00
Delapouite
6bfc99bf08
Add 'line' in completers option as a way to force explicit <c-x>f
2017-10-02 18:45:11 +02:00
Delapouite
18d6b77a08
Docs: add missing -command-completion and -shell-candidates switches
2017-09-28 15:16:46 +02:00
Tim Allen
42196b83cf
Document what keys are mappable.
2017-09-18 12:59:41 +10:00
Maxime Coste
fe50e85203
Merge remote-tracking branch 'lenormf/fix-doc'
2017-09-18 10:07:40 +09:00
Maxime Coste
b0d0014455
Merge remote-tracking branch 'Delapouite/options-default'
2017-09-18 10:02:07 +09:00
Maxime Coste
af61401e3a
Merge remote-tracking branch 'lenormf/fix-faq'
2017-09-15 17:27:36 +09:00
Delapouite
7e1da905de
docs: add options default values
...
Fix : #1557
2017-09-12 09:53:06 +02:00
Maxime Coste
772f85b883
Expose the character under the cursor as $kak_cursor_char_value
...
Fixes #142
2017-09-12 12:45:39 +08:00
Maxime Coste
efa66d7486
Merge remote-tracking branch 'Delapouite/alias'
2017-09-12 11:33:01 +08:00
Frank LENORMAND
4519e4f96b
doc faq: Document how to fix the "insert mode escape lag"
2017-09-11 21:59:21 +03:00
Delapouite
221e19251c
docs: add command aliases
...
Fix #1556
2017-09-11 16:23:24 +02:00
Delapouite
53090c0dd3
Add debug faces
2017-09-11 15:49:33 +02:00
Francesco Magliocca
d4fa94c356
Rename env variable kak_curr_history_id to kak_history_id
2017-09-04 16:41:27 +02:00
Francesco Magliocca
a903824ca6
Add documentation for curr_history_id
2017-09-03 20:48:28 +02:00
Frank LENORMAND
2780467329
doc: Document the column
and line
highlighters
...
The regular expression given as example for the `regex` highlighter
was also simplified.
2017-08-31 19:40:57 +03:00
Maxime Coste
17a29ab3da
Merge remote-tracking branch 'lenormf/fix-doc-debug'
2017-08-28 19:09:46 +07:00
Maxime Coste
e80b36b495
Expose client pid as $kak_client_pid
...
As requested in #1414
2017-08-28 13:12:45 +07:00
Frank LENORMAND
cc5edd099d
doc: Add missing flags to the debug
option
2017-08-27 20:30:26 +03:00
Ned Pummeroy
430b7882eb
Fix wording in docs for goto commands (h,l,i)
2017-08-27 15:21:13 +10:00
Maxime Coste
d6064e3f93
Merge remote-tracking branch 'lenormf/faq'
2017-08-26 10:46:12 +07:00
Frank LENORMAND
4e36bc7bf8
doc faq: Document the expansion of shell scopes
2017-08-25 11:52:25 +03:00
Maxime Coste
f7bed9eb18
Support specifying an exit status on quit
commands
...
The current client exit status can be specified as an optional
parameter, is nothing is given the exit status will be 0.
Fixes #1230
2017-08-23 13:33:13 +07:00
Francesco Magliocca
1ca01e5d17
Add missing '&' to last example
2017-08-15 21:26:07 +02:00
Maxime Coste
9c4448ac41
Remove echo -color
support, superseeded by echo -markup
...
`echo -color Error "blah"` is the same as `echo -markup '{Error}blah'`
Fixes #1512
2017-07-19 17:18:52 +02:00
Maxime Coste
bed8d9c48e
Merge remote-tracking branch 'Delapouite/extra_word'
2017-07-18 17:30:33 +02:00
Delapouite
c30aac0080
Docs: update completions_extra_word_chars → extra_word_chars
2017-07-12 19:18:24 +02:00
Maxime Coste
81b5de6fd8
Add <a-c> and <a-d> for changing/deleting without yanking
...
As asked for in #1175
2017-07-11 22:25:15 +09:00
Maxime Coste
ebc1e054fc
Merge remote-tracking branch 'Delapouite/last-command-reg'
2017-07-11 09:11:10 +09:00
Maxime Coste
b575067317
Add <a-o> and <a-O> to add lines below/above selections
...
Fixes #1480
2017-07-11 09:03:45 +09:00
Delapouite
0d2b303f62
Docs: add missing colon register (last entered command)
2017-07-10 22:05:21 +02:00
Delapouite
f917402f89
Docs: add missing <a-R> key and fix info message
2017-07-09 12:00:28 +02:00
Delapouite
8ed29dbd7a
Docs: add missing PromptIdle hook mentions
2017-07-05 13:45:45 +02:00
Delapouite
21e8da7c37
Docs: add more details about hooks
2017-06-26 18:50:22 +02:00
Frank LENORMAND
f57a4e589e
doc: Explain why a
modifies the selection and i
doesn't
2017-06-22 12:44:47 +03:00
Frank LENORMAND
9e53e00552
doc: Mention the proper environment variable for pagers
2017-06-22 12:44:39 +03:00
Frank LENORMAND
7a9bda9eb8
doc: Unify the documentation for menu keys
2017-06-15 15:14:05 +03:00
Maxime Coste
eadf8930fb
Add -width <max_width>
support in the wrap highlighter
...
Will always wrap at the minimum between max_width and actual window
width.
Fixes #1424
2017-06-08 07:05:44 +01:00
Delapouite
09daaa8b3a
Expose kak_buf_line_count
2017-06-06 14:29:06 +02:00
Delapouite
eb8ab7a081
docs: add missing angle brackets around keys in README and manpages
2017-05-31 19:22:01 +02:00
Maxime Coste
1d74e1edaf
Merge remote-tracking branch 'lenormf/doc-faq-update'
2017-05-29 10:26:57 +01:00
Maxime Coste
bc92633ddd
Put the doc/manpages/ pages in the 'k' section
2017-05-27 07:35:13 +01:00
Frank LENORMAND
4360c71bfb
doc: Update the F.A.Q.
2017-05-26 18:16:23 +03:00