micro/runtime
Dmytro Maluka 25f71eec2d DuplicateLine: move selection duplication to separate Duplicate action
- Add a new Duplicate action which just duplicates the selection (and
  returns false if there is no selection).
- Change the behavior of the DuplicateLine action to only duplicate the
  current line, not the selection.
- Change the default action bound to Ctrl-d from DuplicateLine to
  Duplicate|DuplicateLine, so that the default behavior doesn't change.

This allows the user to rebind keybindings in a more flexible way, i.e.
to choose whether a key should duplicate just lines, or just selections,
or both, - in a similar fashion to Copy, Cut, Delete actions.
2024-06-09 17:11:58 +02:00
..
colorschemes colorscheme: Add capability to include schemes (#2844) 2024-03-21 18:37:51 +01:00
help DuplicateLine: move selection duplication to separate Duplicate action 2024-06-09 17:11:58 +02:00
plugins Comment plugin: doc: fix incorrect keybinding 2024-04-25 01:28:34 +02:00
syntax Add commands in shell syntax file 2024-05-23 00:59:58 +08:00
README.md Update syntax readme and docs 2017-03-26 18:58:08 -04:00
runtime.go refactor(runtime): simplify AssetDir() (#2761) 2023-02-28 01:31:51 -08:00
runtime_test.go refactor(runtime): simplify AssetDir() (#2761) 2023-02-28 01:31:51 -08:00

Runtime files for Micro

This directory will be embedded in the Go binary for portability, but it may just as well be put in ~/.config/micro. If you would like to make your own colorschemes and syntax files, you can put them in ~/.config/micro/colorschemes and ~/.config/micro/syntax respectively.