There's always ed
for masochists.
idk man, vims pretty chill, it even has a tutor in it already, what more could you want?
A text editor that doesn’t assume that the keys on my keyboard are in the same order as yours.
I remember looking up how to use Colemak with vim, and the advice was:
- Change the mappings so the position is the same, but it has the downside that every tutorial won't match.
- Keep the mappings and do awkward stretches for common functions like up and down.
So I just gave up and moved on.
Emacs users laughing at VIM users.
Emacs - A pretty good OS you can use as a text editor.
Easy is relative. What are you trying to do? Replace a value in an yaml file? Then nano is easier. Trying to refactor a business critical perl/brainfuck polyglot script in production? Then you probably want to use vim (or emacs if you are one of those people)
is there not a single other person who uses helix?
WTF is helix?
essentially a terminal modal editor (like vim), but instead of specifying the action to perform then what to perform the action on (like "yank 3 lines"), in helix you select first, then perform actions on the selection (like "these 3 lines, i want them yanked"). it's slightly better (according to others) because you get to see what you're going to change in the file so you don't accidentally delete 5 lines instead of deleting 4.
on top of that many features are builtin, like tree-sitter and lsp support, so you don't have to spend 5 hours looking for cool plugins and configuring everything to get started (my config file is only 50 lines of toml).
the downside is that there isn't support for plugins (yet), but there's already things like a file picker, more than 100 themes etc.
The problem I had with nano is that, for the time being, it was supposed to be easy to use. With that in account I always get lost when saving a file and closing the thing because one's used to doing something else with Ctrl+O and Ctrl+X.
Whereas with Vim (and Neovim for a little while, and now with Vis) I knew it had a steep learning curve from the start so I always had it in mind. And all the funny stories about quitting vim.
Ugh, I swear vi and it's derivatives are the absolute worse text editors going. There may have been reasons thirty or forty years ago, but now it's just complexity and a weird ui for the sake of it
Micro is where its @ <3
I just use this:
#!/bin/bash
keep_generating=1
while [[ $keep_generating == 1 ]]; do
dd if=/dev/random of=$1 bs=1 count=$2 status=none
echo Contents of $1 are:
cat $1
echo
read -p "Try generating again? " -s -n1 answer
while true; do
case $answer in
[Yy] )
echo
break
;;
[Nn] )
keep_generating=0
break
;;
*)
esac
read -s -n1 answer
done
done
Nano is notepad, but with worse mouse integration. It's Vim/Emacs without any of the features. It's the worst of both worlds
If you want ease, just use a GUI notepad. If you want performance boosts, suck it up and learn Emacs or Neovim
modal editing can be fun. it is a weird skill like driving a manual transmission.
that said driving a manual transmission in stop and go traffic on a hot day is a lot like editing in vi sometimes.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0