Maxime Coste
1c71fc0c09
Add local scope to user commands
2024-04-29 12:21:02 +10:00
Maxime Coste
3d7d0fecca
Introduce "local" scope in evaluate-commands
...
When using `eval` a new scope named 'local' gets pushed for the
whole evaluation, this makes it possible to temporarily set
an option/hook/alias...
Local scopes nest so nested evals do work as expected.
Remove the now trivial with-option command
2024-04-12 15:28:40 +10:00
Tim Allen
4247cf6def
doc: Document the buffer=/path/to/file scope syntax.
...
Also, make sure all commands that involve scopes link to the scopes
documentation, and refer to the "scope" parameter as `*scope*` for consistency.
2019-01-23 12:34:02 +11:00
Maxime Coste
98c67fa9e0
Merge remote-tracking branch 'Delapouite/window-scope'
2018-06-19 19:42:26 +10:00
Maxime Coste
a9b1c8f2d7
scopes.asciidoc: Remove spurious whitespace from some link text
2018-06-19 07:42:48 +10:00
Delapouite
c0c7b6590f
docs: add more explanation about the ambiguous "window" scope.
...
The info are currently burried in a hard to find wiki page:
https://github.com/mawww/kakoune/wiki/The-window-scope
2018-06-04 11:12:58 +02:00
Delapouite
8b00d763e0
Docs: add exhaustive list of scoped objects
2018-04-28 17:41:24 +02:00
Delapouite
5ba8293d2b
Docs: fix formatting and add explanation about "current" scope.
2018-03-11 18:07:13 +01:00
Delapouite
3b250fe824
Docs: use asciidoc links between pages
2017-11-06 10:08:59 +01:00
Maxime Coste
4c3d36f9fe
documentation pages: Remove tabs
2017-11-02 17:37:39 +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
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