]> git.lizzy.rs Git - micro.git/log
micro.git
3 years agoMerge
Zachary Yedidia [Tue, 2 Mar 2021 22:16:54 +0000 (17:16 -0500)]
Merge

3 years agoFix noregex interactive replace
Zachary Yedidia [Tue, 2 Mar 2021 22:16:19 +0000 (17:16 -0500)]
Fix noregex interactive replace

Fixes #2052

3 years agoAdd ForceQuit action
Zachary Yedidia [Tue, 2 Mar 2021 02:55:49 +0000 (21:55 -0500)]
Add ForceQuit action

Closes #1039

3 years agoFix regressions in buffer settings initialization (#2035)
Dmitry Maluka [Mon, 22 Feb 2021 23:18:37 +0000 (00:18 +0100)]
Fix regressions in buffer settings initialization (#2035)

Fix regressions after ba98b55:

- Unable to override filetype autodetection by setting a specific filetype
  for specific files, i.e. this doesn't work:

    "*.h": {
        "filetype": "c++"
    },

- Unable to enable/disable syntax highlighting for specific files,
  i.e. this doesn't work:

    "*.c": {
        "syntax": false
    },

- "readonly" setting doesn't work (neither global nor per-filetype).

3 years agoRemove conf highlighting (too many conflicts)
Zachary Yedidia [Sat, 20 Feb 2021 19:27:58 +0000 (14:27 -0500)]
Remove conf highlighting (too many conflicts)

Fixes #2031

The conf highlighter interferes with many more specific highlighters and
doesn't provide much value on its own.

3 years agoFix #2030: warn for invalid pane type
Zachary Yedidia [Fri, 19 Feb 2021 00:02:23 +0000 (19:02 -0500)]
Fix #2030: warn for invalid pane type

3 years agoImprove C syntax highlighting (#2015)
relrelb [Thu, 18 Feb 2021 03:28:19 +0000 (05:28 +0200)]
Improve C syntax highlighting (#2015)

3 years agoAdd Gemini syntax file (#2016)
Nikolay Korotkiy [Thu, 18 Feb 2021 03:27:56 +0000 (06:27 +0300)]
Add Gemini syntax file (#2016)

3 years agoAdd .tsx support for Typescript syntax (#2021)
Sebastian Kolind Sørensen [Thu, 18 Feb 2021 03:27:45 +0000 (04:27 +0100)]
Add .tsx support for Typescript syntax (#2021)

* Update to look for tsx files also

* Shorten filename detection

3 years agodocs: update Arch Linux installation method (#2028)
ejose19 [Thu, 18 Feb 2021 03:27:13 +0000 (00:27 -0300)]
docs: update Arch Linux installation method (#2028)

3 years agoOnly initialize buffer settings once
Zachary Yedidia [Sun, 7 Feb 2021 18:14:40 +0000 (13:14 -0500)]
Only initialize buffer settings once

Ref #2009

3 years agogofmt
Zachary Yedidia [Thu, 28 Jan 2021 03:52:40 +0000 (22:52 -0500)]
gofmt

3 years agoMerge branch 'ilius-PR-find-on-type'
Zachary Yedidia [Wed, 27 Jan 2021 18:49:47 +0000 (13:49 -0500)]
Merge branch 'ilius-PR-find-on-type'

3 years agoRename to incsearch
Zachary Yedidia [Wed, 27 Jan 2021 18:49:38 +0000 (13:49 -0500)]
Rename to incsearch

3 years agoMerge branch 'PR-find-on-type' of https://github.com/ilius/micro into ilius-PR-find...
Zachary Yedidia [Wed, 27 Jan 2021 18:48:01 +0000 (13:48 -0500)]
Merge branch 'PR-find-on-type' of https://github.com/ilius/micro into ilius-PR-find-on-type

3 years agoFix some quality issues (#1914)
Siddhant N Trivedi [Sat, 9 Jan 2021 18:39:21 +0000 (00:09 +0530)]
Fix some quality issues (#1914)

* Add .deepsource.toml

* Fix unnecessary typecasting on `bytes.Buffer`

* Fix check for empty string

* Replace nested if block with else-if

* Replace nested if block with else-if

* Replaced string.Replace() with string.ReplaceAll where n<0

* Remove deepsource toml file

Signed-off-by: siddhant-deepsource <siddhant@deepsource.io>
Co-authored-by: DeepSource Bot <bot@deepsource.io>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
3 years agofix vue syntax highlight (#1982)
Peter Kramarik [Fri, 8 Jan 2021 22:06:49 +0000 (23:06 +0100)]
fix vue syntax highlight (#1982)

3 years agoAdded multiline strings to the Scala syntax highlighter (#1969)
Marduk Bolaños [Wed, 6 Jan 2021 00:59:28 +0000 (01:59 +0100)]
Added multiline strings to the Scala syntax highlighter (#1969)

In Scala multiline strings are constructed just like in Python

```
val message = """
This
is
a
message
"""

3 years agoFix non-working TryBindKey and UnbindKey (#1970)
Dmitry Maluka [Wed, 6 Jan 2021 00:37:49 +0000 (01:37 +0100)]
Fix non-working TryBindKey and UnbindKey (#1970)

Fixed regression: since merging keybindings branch, TryBindKey and
UnbindKey and accordingly "bind" and "unbind" commands don't work
(fail to unmarshal bindings.json).

This is just a quick fixup to make TryBindKey and UnbindKey work again.
They still work with "buffer" bindings only.

3 years agoadd settings option "findontype" to allow disabling search-on-type
Saeed Rasooli [Mon, 4 Jan 2021 06:59:45 +0000 (10:29 +0330)]
add settings option "findontype" to allow disabling search-on-type

3 years agoUpdate readme
Zachary Yedidia [Tue, 29 Dec 2020 19:13:54 +0000 (14:13 -0500)]
Update readme

3 years agoMerge branch 'a11ce-python-highlight-zero'
Zachary Yedidia [Sun, 27 Dec 2020 23:43:07 +0000 (18:43 -0500)]
Merge branch 'a11ce-python-highlight-zero'

3 years agoMerge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
Zachary Yedidia [Sun, 27 Dec 2020 23:42:53 +0000 (18:42 -0500)]
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce-python-highlight-zero

3 years agofix the missing break in JumpToMatchingBrace (#1960)
worldmaker [Sun, 27 Dec 2020 23:38:16 +0000 (07:38 +0800)]
fix the missing break in JumpToMatchingBrace (#1960)

In JumpToMatchingBrace, the loop should stop immediately after finding the matching bracket.
It causes multiple jumps in certain situations:
`(I  [  ]{  }) => (  I[  ]{  })`

3 years agoMerge
Zachary Yedidia [Sat, 26 Dec 2020 19:45:27 +0000 (14:45 -0500)]
Merge

3 years agoOnly use internal clipboard on error
Zachary Yedidia [Sat, 26 Dec 2020 19:45:22 +0000 (14:45 -0500)]
Only use internal clipboard on error

3 years agoDon't automatically disable readonly option (#1957)
Dmitry Maluka [Wed, 23 Dec 2020 20:21:20 +0000 (21:21 +0100)]
Don't automatically disable readonly option (#1957)

Fix the regression after 3b34a02: setting readonly option to true
in onBufferOpen lua callback doesn't work, since it is automatically
reset to false if write permission is not denied.

3 years agoFix potential file leaks (#1958)
Dmitry Maluka [Wed, 23 Dec 2020 20:21:01 +0000 (21:21 +0100)]
Fix potential file leaks (#1958)

3 years agoUpdate hlint format
Zachary Yedidia [Sun, 20 Dec 2020 21:53:18 +0000 (16:53 -0500)]
Update hlint format

3 years agoUpdate runtime
Zachary Yedidia [Sun, 20 Dec 2020 19:53:04 +0000 (14:53 -0500)]
Update runtime

3 years agoFix stat error detection
Zachary Yedidia [Sun, 20 Dec 2020 18:05:10 +0000 (13:05 -0500)]
Fix stat error detection

Fixes #1955

3 years agoAdd Dracula colorscheme to defaults
Zachary Yedidia [Sun, 20 Dec 2020 06:08:41 +0000 (01:08 -0500)]
Add Dracula colorscheme to defaults

See https://draculatheme.com/micro.

3 years agoDocument undocumented colorscheme groups (#1939)
Dmitry Maluka [Sun, 20 Dec 2020 05:35:57 +0000 (06:35 +0100)]
Document undocumented colorscheme groups (#1939)

3 years agoMerge
Zachary Yedidia [Fri, 18 Dec 2020 02:55:59 +0000 (21:55 -0500)]
Merge

3 years agoImprove file permission detection
Zachary Yedidia [Fri, 18 Dec 2020 02:54:18 +0000 (21:54 -0500)]
Improve file permission detection

Mark files as readonly automatically if write permission is denied.
Display errors when opening files (except for non-existence errors).

Fixes #1224

3 years agoRemove clipboard error message
Zachary Yedidia [Thu, 17 Dec 2020 02:35:07 +0000 (21:35 -0500)]
Remove clipboard error message

3 years agoHighlight 0 as a constant number in python3
a11ce [Tue, 15 Dec 2020 23:57:28 +0000 (18:57 -0500)]
Highlight 0 as a constant number in python3

3 years agoAdded a sentence to colors.md clarifying that the truecolor environment variable...
Alekhine51 [Wed, 9 Dec 2020 03:43:37 +0000 (22:43 -0500)]
Added a sentence to colors.md clarifying that the truecolor environment variable has to be created by the user. (#1928)

3 years agoMake more libraries available (#1917)
Carlos Henrique Guardão Gandarez [Sat, 21 Nov 2020 06:46:17 +0000 (03:46 -0300)]
Make more libraries available (#1917)

* Make more libraries available to plugin dvelopment

* Add Unzip function to util

3 years agoClear prompt before callback
Zachary Yedidia [Mon, 16 Nov 2020 19:07:22 +0000 (14:07 -0500)]
Clear prompt before callback

Ref #1913

3 years agoDisable fake cursor for Windows Terminal
Zachary Yedidia [Fri, 6 Nov 2020 18:43:40 +0000 (13:43 -0500)]
Disable fake cursor for Windows Terminal

Ref #1900

3 years agoFix internal string binding representation
Zachary Yedidia [Thu, 5 Nov 2020 20:52:25 +0000 (15:52 -0500)]
Fix internal string binding representation

3 years agoMerge
Zachary Yedidia [Thu, 5 Nov 2020 20:39:29 +0000 (15:39 -0500)]
Merge

3 years agoEnable ignorecase by default
Zachary Yedidia [Thu, 5 Nov 2020 20:39:05 +0000 (15:39 -0500)]
Enable ignorecase by default

Closes #1908

3 years agoFix buffer.RuneAt (#1895)
Dmitry Maluka [Tue, 20 Oct 2020 00:36:14 +0000 (02:36 +0200)]
Fix buffer.RuneAt (#1895)

Fix buffer.RuneAt returning the rune not at the given location (as the
documentation claims) but just before it.

3 years agoAdd tabbar.active color group (#1831)
Dmitry Maluka [Sun, 18 Oct 2020 00:53:08 +0000 (02:53 +0200)]
Add tabbar.active color group (#1831)

Added tabbar.active color group for displaying the name of the active
tab in the tabbar with different colors.

If tabbar.active is not defined in the colorscheme, the active tab name
is displayed with the same colors as inactive ones.

Ref #1646

3 years agoFix suggestions display (#1825)
Dmitry Maluka [Sun, 18 Oct 2020 00:48:39 +0000 (02:48 +0200)]
Fix suggestions display (#1825)

Fix the following bugs:

- If a split pane is not at the left edge of the screen, the statusline
with suggestions for it is displayed at wrong place.

- When keymenu is enabled, the statusline with suggestions is not
displayed at all.

3 years agoupdate lua.yaml (#1892)
XeroOl [Fri, 16 Oct 2020 05:44:48 +0000 (00:44 -0500)]
update lua.yaml (#1892)

added `break` as a keyword

3 years agoFix autosave not running by default
Zachary Yedidia [Fri, 9 Oct 2020 03:33:34 +0000 (23:33 -0400)]
Fix autosave not running by default

3 years agoUpdate runtime v2.0.8
Zachary Yedidia [Tue, 6 Oct 2020 21:39:20 +0000 (17:39 -0400)]
Update runtime

3 years agoMerge
Zachary Yedidia [Tue, 6 Oct 2020 21:32:09 +0000 (17:32 -0400)]
Merge

3 years agoUpdate tcell for alacritty and konsole
Zachary Yedidia [Tue, 6 Oct 2020 21:32:06 +0000 (17:32 -0400)]
Update tcell for alacritty and konsole

3 years ago:pencil2: : Added more Code tags (#1875)
ThatXliner [Tue, 6 Oct 2020 20:56:08 +0000 (13:56 -0700)]
:pencil2: : Added more Code tags (#1875)

I added more syntax highlighting for python comment code tags. Though this should be implemented for all languages...

3 years agoFixed help topic name (#1876)
Marduk Bolaños [Tue, 6 Oct 2020 20:55:47 +0000 (22:55 +0200)]
Fixed help topic name (#1876)

The help topic is called `commands` not `command`

3 years agoUpdate tcell to 2.0.5
Zachary Yedidia [Tue, 6 Oct 2020 20:54:46 +0000 (16:54 -0400)]
Update tcell to 2.0.5

3 years agoFix typo
Zachary Yedidia [Thu, 24 Sep 2020 01:54:25 +0000 (21:54 -0400)]
Fix typo

Closes #1869

3 years agoFix palette colors with tcell v2
Zachary Yedidia [Mon, 21 Sep 2020 05:21:59 +0000 (01:21 -0400)]
Fix palette colors with tcell v2

3 years agoFix Crystal syntax highlighting (#1844)
Ryan Westlund [Fri, 18 Sep 2020 03:20:28 +0000 (23:20 -0400)]
Fix Crystal syntax highlighting (#1844)

Don't highlight things that don't exist, add some missing keywords,
highlight true/false/nil as constants instead of keywords, and
highlight types as types instead of constants.

3 years agoFix some left-over details in C++ syntax highlighting (#1865)
MasFlam [Fri, 18 Sep 2020 03:19:41 +0000 (05:19 +0200)]
Fix some left-over details in C++ syntax highlighting (#1865)

- move type cast keywords into operators, since that's their syntactic function
- fix a single dot being matched as a constant.number
- add the missing caret operator

3 years agogroovy highlight (#1866)
MasFlam [Fri, 18 Sep 2020 03:19:32 +0000 (05:19 +0200)]
groovy highlight (#1866)

3 years agoFix quality issues (#1856)
Sourya Vatsyayan [Wed, 16 Sep 2020 04:08:01 +0000 (09:38 +0530)]
Fix quality issues (#1856)

* Add .deepsource.toml

* Remove unnecessary comparison with bool

* Remove unnecessary use of slice

* Replace multiple `append`s with one

* Remove unnecessary wrapping of function call

* Fix check for empty string

* Simplify error creation with `fmt.Errorf`

* Fix defers before error check

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Remove untrappable `os.Kill` signal

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Remove empty else branch

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Add missing error check

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Merge variable declaration and assignment

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Remove unnecessary `nil` check

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Revert changes to generated files

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Remove .deepsource.toml

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
Co-authored-by: DeepSource Bot <bot@deepsource.io>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
3 years agocoffeescript syntax fix (#1861)
Ertu (Er2, Err) [Wed, 16 Sep 2020 04:06:40 +0000 (07:06 +0300)]
coffeescript syntax fix (#1861)

3 years agoEnable xterm automatically if screen init fails
Zachary Yedidia [Tue, 15 Sep 2020 05:11:59 +0000 (01:11 -0400)]
Enable xterm automatically if screen init fails

3 years agoUpdate tcell
Zachary Yedidia [Mon, 14 Sep 2020 15:30:20 +0000 (11:30 -0400)]
Update tcell

3 years agoMerge
Zachary Yedidia [Mon, 14 Sep 2020 05:14:31 +0000 (01:14 -0400)]
Merge

3 years agoUpdate tcell
Zachary Yedidia [Mon, 14 Sep 2020 05:14:28 +0000 (01:14 -0400)]
Update tcell

3 years agoOverall syntax highlighting improvements for C++ (#1858)
MasFlam [Mon, 14 Sep 2020 04:06:47 +0000 (06:06 +0200)]
Overall syntax highlighting improvements for C++ (#1858)

* Overall syntax highlighting improvements for C++
Most of these changes are based on the information on cppreference.com;
specifically from here: https://en.cppreference.com/w/cpp/keyword
- made `identifier` actually match any identifier
- add ~ as an operator
- add `static_assert` as a keyword (statement)
- add keywords that are interchangeable with operators as operators
- add keywords `sizeof`, `alignof` and `typeid` as operators
- add the quasi-keywords `asm`, `fortran` and `final`, `override`
- add the keyword `nullptr`
- add `_Pragma` as a preprocessor keyword
- add C++20 (concepts and modules) -related keywords
- add casting keywords
- add the keyword (specifier) `noexcept`
- remove `nothrow` (because it's not any more special than `vector` is)
- add `wchar_t` and `charXX_t` types
- add cv type keywords as `type.keyword`s
- move some fitting keywords into `type.keywords`
(mostly because they appear in/near type signatures etc.)
I didn't include coroutine-related language features,
primarily because there is no good source of information
about them other than the ISO C++ standard.

* Further changes to C++ syntax highlighting
- reverted the changes to the `identifier` regex, since most
colorschemes color it the same as `type`s and/or `statement`s
- fix the 2nd `type` regex (the word boundaries were in only two pipe-options)
- move `nullptr` back into `constant.bool`,
since it looks better in-editor this way (imo)
- add `?` as an operator
- add regexes that match all the correct number literals, and nothing else
(see https://en.cppreference.com/w/cpp/language/floating_literal)
(that is, if I haven't made a mistake)

3 years agoMerge
Zachary Yedidia [Mon, 14 Sep 2020 04:05:55 +0000 (00:05 -0400)]
Merge

3 years agoRemove test option
Zachary Yedidia [Mon, 14 Sep 2020 04:05:35 +0000 (00:05 -0400)]
Remove test option

Fix #1857

3 years agoDon't highlight parens in default theme
Zachary Yedidia [Mon, 14 Sep 2020 00:25:02 +0000 (20:25 -0400)]
Don't highlight parens in default theme

3 years agoUpdate keybinding docs v2.0.7
Zachary Yedidia [Sun, 6 Sep 2020 21:38:23 +0000 (17:38 -0400)]
Update keybinding docs

Also updates the pane type of `info` to `command` which is a more
descriptive name.

3 years agoUpdate tcell
Zachary Yedidia [Sun, 6 Sep 2020 15:39:48 +0000 (11:39 -0400)]
Update tcell

3 years agoReplace meta with alt automatically, update tcell
Zachary Yedidia [Sun, 6 Sep 2020 01:59:19 +0000 (21:59 -0400)]
Replace meta with alt automatically, update tcell

3 years agoUpdate to tcell v2
Zachary Yedidia [Sat, 5 Sep 2020 18:52:35 +0000 (14:52 -0400)]
Update to tcell v2

3 years agoNever backup closed buffers
Zachary Yedidia [Fri, 4 Sep 2020 17:36:23 +0000 (13:36 -0400)]
Never backup closed buffers

3 years agoMerge
Zachary Yedidia [Sun, 30 Aug 2020 19:46:14 +0000 (15:46 -0400)]
Merge

3 years agoProperly close unmodified buffers on sigterm
Zachary Yedidia [Sun, 30 Aug 2020 19:46:11 +0000 (15:46 -0400)]
Properly close unmodified buffers on sigterm

3 years agoUpdate tcell
Zachary Yedidia [Tue, 25 Aug 2020 19:21:18 +0000 (15:21 -0400)]
Update tcell

3 years agoAddToHistory function for plugins (#1830)
Dmitry Maluka [Sun, 23 Aug 2020 19:47:14 +0000 (21:47 +0200)]
AddToHistory function for plugins (#1830)

Add InfoBuf's method AddToHistory function which adds a new item
to the history for the prompt type `ptype`.
This function is not used by micro itself. It is useful for plugins
which add their own items to the history, bypassing the infobar
command line.

3 years agoAdd improvements to the python3 syntax definitions (#1833)
Peder B. Sundt [Sun, 23 Aug 2020 19:46:27 +0000 (21:46 +0200)]
Add improvements to the python3 syntax definitions (#1833)

* Python3: Add built-in object 'cls'

* Python3: Add the bitwise negation operator ~

* Python3: Add support for hexadeximal and binary numerical literals

* Python3: Rewrite '(__foo__|__bar__)' as '__(foo|bar)__', add known '__i.*__' methods

* Python3: Add __iter__ as a magic method, sort the list of magic methods

* Python3: Numerical literals: Add support for '_', disallow leading 0 for decimals

* fixup! Python3: Numerical literals: Add support for '_', disallow leading 0 for decimals

hex oct and bin have different sets of allowed digits

* Python3: Add support for floating point numbers with optional scientific notation

* Python3: stop single-line strings at EOL

* Python3: Add support for TODO and FIXME in comments

* Python3: Add support for the ^ bitwise xor operator

3 years agoMinor tweak to the railscast color scheme (#1834)
Peder B. Sundt [Sun, 23 Aug 2020 19:46:05 +0000 (21:46 +0200)]
Minor tweak to the railscast color scheme (#1834)

* Railscast: Change the color of operators to match keywords instead of identifiers

* Railscast: Add a color for `constant.specialChar`

3 years agoAdd scrollbar color group (#1840)
Dmitry Maluka [Sun, 23 Aug 2020 19:45:43 +0000 (21:45 +0200)]
Add scrollbar color group (#1840)

Ref #1837

3 years agofix spelling (#1828)
Bartek Pacia [Mon, 17 Aug 2020 17:04:44 +0000 (19:04 +0200)]
fix spelling (#1828)

3 years agoHighlight static as keyword in Javascript files (#1824)
Ryan Westlund [Fri, 14 Aug 2020 20:56:55 +0000 (16:56 -0400)]
Highlight static as keyword in Javascript files (#1824)

3 years agoAvoid duplicate entries in history (#1822)
Dmitry Maluka [Thu, 13 Aug 2020 05:38:50 +0000 (07:38 +0200)]
Avoid duplicate entries in history (#1822)

3 years agoMerge
Zachary Yedidia [Wed, 12 Aug 2020 05:18:18 +0000 (01:18 -0400)]
Merge

3 years agoDon't auto-relocate mouse events
Zachary Yedidia [Wed, 12 Aug 2020 05:18:15 +0000 (01:18 -0400)]
Don't auto-relocate mouse events

3 years agoImprove showkey command
Zachary Yedidia [Wed, 12 Aug 2020 02:18:10 +0000 (22:18 -0400)]
Improve showkey command

3 years agoImprove Rust syntax highlighting (#1820)
Ryan Westlund [Wed, 12 Aug 2020 01:39:57 +0000 (21:39 -0400)]
Improve Rust syntax highlighting (#1820)

3 years agoEnable registering raw events
Zachary Yedidia [Tue, 11 Aug 2020 18:36:58 +0000 (14:36 -0400)]
Enable registering raw events

Fixes #1821

3 years agoDon't overwrite user bindings
Zachary Yedidia [Tue, 11 Aug 2020 05:43:41 +0000 (01:43 -0400)]
Don't overwrite user bindings

This fix still needs more work.

Ref #1821

3 years agoRef #1819
Zachary Yedidia [Tue, 11 Aug 2020 00:34:10 +0000 (20:34 -0400)]
Ref #1819

3 years agoFix JobSend stdin
Zachary Yedidia [Mon, 10 Aug 2020 16:24:29 +0000 (12:24 -0400)]
Fix JobSend stdin

3 years agoRecord events in cursor
Zachary Yedidia [Thu, 9 Jul 2020 17:25:24 +0000 (13:25 -0400)]
Record events in cursor

3 years agoAllow configuration for info/term bindings
Zachary Yedidia [Wed, 1 Jul 2020 21:11:07 +0000 (17:11 -0400)]
Allow configuration for info/term bindings

This commit exposes the separate infopane bindings to configuration
from the user. This also adds support for separate bindings in the
terminal emulator view. Default bindings are provided, but can also
be rebound in bindings.json.

3 years agoSeparate bindings for buffers and command bar
Zachary Yedidia [Wed, 1 Jul 2020 02:51:13 +0000 (22:51 -0400)]
Separate bindings for buffers and command bar

This commit separates actions in the command bar from actions in
a normal buffer, and implements what is needed to allow rebinding,
although an interface for command bar keybindings is not yet exposed
to the user.

3 years agoPreliminary support for key sequences
Zachary Yedidia [Wed, 1 Jul 2020 01:25:54 +0000 (21:25 -0400)]
Preliminary support for key sequences

This commit adds support for binding key sequences such as
"<Ctrl-x><Ctrl-c>". This commit does not solve the problem
of global bindings yet, and therefore the command bar doesn't
work properly in this commit.

3 years agoBasic implementation of KeyTree
Zachary Yedidia [Mon, 29 Jun 2020 21:13:22 +0000 (17:13 -0400)]
Basic implementation of KeyTree

3 years agoImprove internal keyevent names
Zachary Yedidia [Mon, 29 Jun 2020 04:50:19 +0000 (00:50 -0400)]
Improve internal keyevent names

3 years agoImprove Zig syntax definitions (#1814)
Robin Voetter [Wed, 5 Aug 2020 23:39:03 +0000 (01:39 +0200)]
Improve Zig syntax definitions (#1814)

* Improve Zig syntax definitions

* Remove duplicate definition of constant.number

* Make undefined a constant