xclip
micro-editor
xclip | micro-editor | |
---|---|---|
13 | 231 | |
1,110 | 25,584 | |
2.2% | 0.8% | |
4.7 | 9.4 | |
about 1 month ago | 2 days ago | |
C | Go | |
GNU General Public License v3.0 only | MIT License |
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.
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
micro-editor
-
Notepad++ is 21 years old
Micro editor (https://micro-editor.github.io/) works best for me but it's terminal-based.
-
In your opinion, what is the text-editor equivalent of Openbox?
Simple yet customizable? My thoughts go to Sublime Text if you want a GUI editor and closed-source is OK, or Micro if you want a TUI editor that is open source:
https://micro-editor.github.io/
Like OpenBox, most casual users can be dropped in and know their way around their interfaces, and both options are kinda lightweight compared to other modern options. There is power available for serious customization if you want (you can write plugins for them in Python and Lua, respectively).
Personally, both Vim and Emacs do not remind me much of OpenBox. I think i3wm is more a Vim, and I guess XMonad is the most Emacs-like window manager I've tried. (Arguably, EXWM is the only truly Emacs-like window manager...)
-
Show HN: A retro terminal text editor for GNU/Linux coded in C (C-edit)
Love the look, definitely throwing me back to the halcyon QBasic days.
Another way to achieve an old school raster style green screen aesthetic is to combine cool-retro-term with the minimal editor "micro".
https://github.com/Swordfish90/cool-retro-term
https://github.com/zyedidia/micro
-
GNU Nano 8 comes with modern key bindings
This is great! I used to install micro[0] as "nano with better shortcuts", but it was always a bit of an overkill, so I'm really happy with this change.
One quirk that remains: even with --modernbindings, Ctrl+X and Ctrl+C will add to nano's clipboard, instead of replacing whatever is there.
[0] https://micro-editor.github.io
- 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
What are some alternatives?
CopyQ - Clipboard manager with advanced features
helix - A post-modern modal text editor.
PostgresApp - The easiest way to get started with PostgreSQL on the Mac
filemanager-plugin - A file manager plugin for the editor "Micro"
xplr.vim - Fork of https://github.com/mcchrish/nnn.vim modified to work with xplr. Until xplr has its own plugin.
gofeed - Parse RSS, Atom and JSON feeds in Go
neovim - Vim-fork focused on extensibility and usability
kakoune - mawww's experiment for a better code editor
clifm - Command Line Interface File Manager
editorconfig-core-go - EditorConfig Core written in Go
kinto - Mac-style shortcut keys for Linux & Windows.
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease