micro-editor
xclip
Our great sponsors
micro-editor | xclip | |
---|---|---|
227 | 13 | |
23,872 | 996 | |
- | - | |
8.9 | 0.0 | |
4 days ago | 3 months ago | |
Go | C | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
micro-editor
- Ask HN: What software sparks joy when using?
- Modeless Vim
-
Essential Command Line Tools for Developers
To see more screenshots of micro, showcasing some of the default color schemes, see here.
-
Go: What We Got Right, What We Got Wrong
Not sure these are really popular, but I cannot resist advertising a few utilities written in Go that I regularly use in my daily workflow:
- gdu: a NCDU clone, much faster on SSD mounts [1]
- duf: a `df` clone with a nicer interface [2]
- massren: a `vidir` clone (simpler to use but with fewer options) [3]
- gotop: a `top` clone [4]
- micro: a nice TUI editor [5]
Building this kind of tools in Go makes sense, as the executables are statically compiled and are thus easy to install on remote servers.
[1]: https://github.com/dundee/gdu
[2]: https://github.com/muesli/duf
[3]: https://github.com/laurent22/massren
[4]: https://github.com/xxxserxxx/gotop
[5]: https://github.com/zyedidia/micro
-
Text Editor: Data Structures
> The worst way to store and manipulate text is to use an array.
Claim made from theoretical considerations, without any actual reference to real-world editors. The popular Micro[1] text editor uses a simple line array[2], and performs fantastically well on real-world editing tasks.
Meanwhile, ropes are so complicated that even high-quality implementations have extremely subtle bugs[3] that can lead to state or content corruption.
Which data structure is "best" is not just a function of its asymptotic performance. Practical considerations are equally important (arguably more so).
[1] https://github.com/zyedidia/micro
[2] https://github.com/zyedidia/micro/blob/master/internal/buffe...
[3] https://github.com/cessen/ropey/pull/67
- A nano like text editor built with pure C
-
A simple guide for configuring sudo and doas
There are two main ways to configure sudo.The first one is using the sudoers file.It is located at /etc/sudoers for Linux,and /usr/local/etc/sudoers for FreeBSD respectively.The paths are different,but the configuration works in the same way. A typical sudoers file looks like this. The sudoers file must be edited with the visudo command,which ensures the config is free of errors.Running this command as the root user will result in opening vi by default.If you want to use a different editor you can set the VISUAL environment varaible to the editor you want. For example,if you want to use micro as the text editor run:
-
what terminal emulator do you use and why?
found that micro has dedicated info page for copy paste
-
Microsoft is exploring adding a command line text editor into Windows, and it wants your feedback
micro: winget install zyedidia.micro
- What is the best basic ass text editor?
xclip
-
macOS Command-Line Tools You Might Not Know About
I find it so annoying that these only work with plain text and RTF. On X11 there is `xclip`[0] and on Wayland there is `wl-clipboard`[1] both of which support binary file formats either through parsing the header or explicitly setting the MIME type.
This means you can do things like copy an image from the terminal and paste it into a graphical program like a browser or chat client and vice-versa. Also can be very useful in shell scripts for desktop automation.
The workaround on MacOS is to use AppleScript via `osascript` to `set the clipboard to...`.
[0] https://github.com/astrand/xclip
-
shcopy: a command line utility that copies content from anywhere, locally, remotely, over SSH...
This reminds me of xclip.
-
Best program to paste premade text from a file to where the cursor is on a desktop environment
I haven't used it in a while but xclip is a thing for X11 and you can create your own keyboard shortcuts and present a window with zenity or something.
- What are some of your favorite CLI/TUI apps?
-
clipboard: error: Error: target STRING not available
This is apparently an issue with xclip, not Neovim: https://github.com/astrand/xclip/issues/38
-
Do you find yourself often deleting a ":wq<newline>" from nano before pressing <ctrl>-X?
Lately I've become a big fan of Micro. It's as portable as Nano. By default it uses the same shortcuts as typical desktop programs: Ctrl-S for save, Ctrl-Q for quit, Ctrl-C/Ctrl-V for copy/paste, etc. It integrates well with Linux desktops' clipboards by optionally using xclip. Just like Nano, it can have multiple files open for easy copy/pasting between files. But the best thing of all is that its scripting/plugin system is plain old Lua 5.1.
- A way to copy text to the clipboard in Linux?
-
xplr - A hackable, minimal, fast TUI file explorer
Requires: xclip
- Copie e Cole pelo terminal com Xclip
-
macOS Big Sur breaks PostgreSQL because of new security API
> How do you select text in your virtual terminal with the keyboard?
with xsel(1x) or xclip(1)
https://github.com/kfish/xsel
https://github.com/astrand/xclip
What are some alternatives?
helix - A post-modern modal text editor.
neovim - Vim-fork focused on extensibility and usability
filemanager-plugin - A file manager plugin for the editor "Micro"
CopyQ - Clipboard manager with advanced features
kakoune - mawww's experiment for a better code editor
kinto - Mac-style shortcut keys for Linux & Windows.
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
xplr.vim - Fork of https://github.com/mcchrish/nnn.vim modified to work with xplr. Until xplr has its own plugin.
editorconfig-core-go - EditorConfig Core written in Go
PostgresApp - The easiest way to get started with PostgreSQL on the Mac
html-to-markdown - ⚙️ Convert HTML to Markdown. Even works with entire websites and can be extended through rules.
ranger - A VIM-inspired filemanager for the console