Comments (7)
- Line operations features (among others: text sort, highlighted text selection, etc.)
I feel like the plugin API covers this pretty well - if you think there's some very generally useful feature (so, not specific to some programming language/filetype) that micro does not implement right now, it would be good to point out what specifically that is. Text sorting can trivially be implenented via a plugin, and I'm not really sure what you mean by "highlighted text selection".
Likewise, if there's something missing in the plugin API that makes a certain class of plugin impossible to implement, it would be better to point it out specifically.
- add a example setting file containing all configurable options and their values
All configurable options are documented in micro's help files. An example settings file might be an alright addition, but it is likely to become just another piece of documentation that tends to go out of date as micro is developed. There are not a lot of maintainers right now and we should be careful not to overburden them with more docs than is necessary.
- include all existing plugin channels and repos (most of them isn't documented)
As far as I am aware, the official micro plugin channel is the only "blessed" plugin channel. Since plugins are a really easy attack surface for people who want to compromise your PC (just look at what's been going on with VSCode lately), it is probably better if micro does not officially recommend alternative (possibly unchecked) plugin channels.
I hope all this does not sound too negative, I am just trying to explain why things are the way they are right now.
The good news is that @dmaluka, @JoeKar and a handful of other people have been doing amazing work, and micro is improving rapidly these days. Hopefully this will bring more interest to the project, and then maybe we could someday have a much more active plugin channel, with more "blessed" plugins.
from micro.
Hi,
Extending Micro to do the things you want - is part of the fun 😊.
I have gradually added functionality, using Lua and some windows tools, with lots of help from the community. The resulting Lua functions can be assigned to keys of your choice. Full description here.
You may be specifically interested in; saving textfilter commands for re-use and enhanced text selection.
Kind Regards Gavin Holt
PS Please close issues when you are finished
from micro.
For text sorting specifically you can use the textfilter
command to sort lines with external command such as the POSIX sort implemented by coreutils (eg. textfilter sort -nr
to sort numerically in reverse order). Implementing sorting in the text editor itself is IMO a bad idea because the problem is already neatly solved by an external tool that is also immensely useful outside the context of a text editor. Achieving feature parity with POSIX sort
would take quite a lot of code and work.
from micro.
The case is that not every one knows Lua, and missing mentioned as base (build-in, instead of plugins) makes the work more difficult.
For example, assume working on Linux server without any graphical interface and need to edit a extensive configuration files.
Missing of mentioned and "find and replace" makes such work more difficult
from micro.
Missing of mentioned and "find and replace" makes such work more difficult
Micro has replace
/replaceall
commands and a Find action. If you want to replace matches one by one interactively you can use the FindNext
action (which you could also combine with the Paste
action under a single keybinding to do the replacement). What are the exact workflow(s) you are missing? Without a detailed description of what you want this issue is not actionable.
from micro.
Missing of mentioned and "find and replace" makes such work more difficult
Micro has
replace
/replaceall
commands and a Find action. If you want to replace matches one by one interactively you can use theFindNext
action (which you could also combine with thePaste
action under a single keybinding to do the replacement). What are the exact workflow(s) you are missing? Without a detailed description of what you want this issue is not actionable.
seem like this was missing in the help and documentation 🤔
from micro.
Hi,
Micro has help files built in to the executable. Activate the command line and use the help
command, with TAB
to display a list of help files. If you add a help
folder to your config-dir
, then any help additional files you place there will appear in the TAB
list (e.g. fzf readme.md).
If you prefer, these help files are in the /runtime/help
folder of this repository. Help for replace
is in the Commands.md file and is a bit superficial, see #3279 for my attempt to expand on the documentation.
The FindNext
action is presented in both defaultkeys.md and keybindings.md.
I must admit I often use another editor (or sed.exe) to do lots of replacements.
Kind Regards Gavin Holt
from micro.
Related Issues (20)
- Confusion over missing bindings
- Differing copy-paste mechanics between tmux and non-tmux HOT 3
- Calling clipboard.Write in lua crashes micro HOT 6
- 2.0.13 micro-2.0.13-linux-arm.tar.gz may have been tampered with HOT 12
- Micro panics when cd-ing to root
- How to toggle softwrap + wordwrap in editor, and how to make it a default setting? HOT 5
- Colors in Color Schems appear wrong. HOT 2
- DeleteLine does not delete selected lines HOT 8
- Micro reindents settings.json files with spaces on open HOT 1
- Nightly builds are not the current master branch 😭 HOT 3
- Binding Backspace related keys do not work on Windows HOT 1
- Autosave locally HOT 22
- Scrolling does not always go down with the cursor HOT 2
- Cannot click to move cursor to first character of document HOT 6
- Panic with `open folder\` on Windows HOT 1
- Empty line for no reason HOT 3
- [Bug] Overwriting of configuration file HOT 1
- Detect and display keyboard shortcuts? HOT 2
- Autosave remote? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micro.