bat
micro-editor
Our great sponsors
bat | micro-editor | |
---|---|---|
195 | 226 | |
46,341 | 23,832 | |
- | - | |
9.5 | 8.9 | |
2 days ago | 5 days ago | |
Rust | Go | |
Apache License 2.0 | 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.
bat
-
Hired: A Modern Take on 'Ed'
That’s the same as bat:[1] one of the features is syntax highlighting. Kind of unexpected to find a concatenation program… which also does that.
-
Essential Command Line Tools for Developers
View on GitHub
-
5 Developer CLI Essentials
4. bat
-
Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
Good find, thanks! I'll check if I prefer it to moar.
As for bat, according to https://github.com/sharkdp/bat#using-bat-on-windows, the Chocolatey package simply installs `less` alongside `bat`. Seems like a good idea, but I haven't tried it.
- Tell HN: My Favorite Tools
-
MacOS tools to make your life easier
Try bat (it’s like cat but better) https://github.com/sharkdp/bat
- Bat: A cat clone for syntax highlighting in the terminal
-
🐚🦀Comandos shell reescritos em Rust
bat
-
Tell HN: Please don't print –help to stderr in your CLI tools
For this reason I have a zsh function in my .zshrc with bat (which pages by default, if it's longer than your console height):
https://github.com/sharkdp/bat#highlighting---help-messages
# in your .bashrc/.zshrc/*rc
- Bat: A Cat Clone with Wings
micro-editor
- 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
-
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...
- 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?
-
Revolutionizing Text Editor Navigation and Altarnative to Vim and GNUEmacs
I am all for your efforts.
I am very keyboard centric. My sweet spot is macOS keyboard shortcuts. Especially those as defined by BBEdit.
But I have learned from all the platforms I have worked on. (TRS-DOS, MSDOS, OS/2, macOS, Windows, Linux)
I never get into Vim primarily because of HJKL. I have spent many hours trying. But I do use IJKL as arrow keys via hardware keyboard macros, AutoHotKey, Karabiner Elements, or the like. I have mostly bent Windows and KDE Linux to my Mac-like keyboard standards. (And my Mac’s are heavily customized too)
I do heavily use CTRL and arrow keys for word by word navigation, and all the other arrow key bindings. So that is a personal deal breaker for me.
You should take a look at the Micro editor. It shares many of your ideas.
https://micro-editor.github.io
I would like to follow your work. Please post a link to a blog or git repository
What are some alternatives?
vim-colors-solarized - precision colorscheme for the vim text editor
helix - A post-modern modal text editor.
exa - A modern replacement for ‘ls’.
filemanager-plugin - A file manager plugin for the editor "Micro"
awesome-zsh-plugins - A collection of ZSH frameworks, plugins, themes and tutorials.
kakoune - mawww's experiment for a better code editor
iTerm2-Color-Schemes - Over 250 terminal color schemes/themes for iTerm/iTerm2. Includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty
xclip - Command line interface to the X11 clipboard
fzf - :cherry_blossom: A command-line fuzzy finder
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
glow - Render markdown on the CLI, with pizzazz! 💅🏻
editorconfig-core-go - EditorConfig Core written in Go