There are three ways to edit text on a #Linux or #Unix like systems: 🫣
0. The vim or vi way
1. The emacs way
2. The wrong way
Which one are you? 🤔
There are three ways to edit text on a #Linux or #Unix like systems: 🫣
0. The vim or vi way
1. The emacs way
2. The wrong way
Which one are you? 🤔
@nixCraft How about using Notepad on Wine?
@nixCraft 0 :w!
@nixCraft Under a ssh connection nano, otherwise under the FreeBSD or Linux GUI Kate, but better yet, BBEdit under macOS. Have zero interest in a 1970/80’s command mode editor (vi[m]) or the complexity of emacs. I have the escape from vi in muscle memory, but I would never use it to edit anything.
@nixCraft nano.
Followup: does VI/Emacs users also use vscode?
@nixCraft 1 and 2 can be grouped together. #Vim is the right editor.
#holywar 😃
:wq
@nixCraft nano is the wrong way?
@nixCraft vim all the way
@nixCraft ed is the standard editor.
!wq translates to "I have spoken" It's so satisfying!
@nixCraft Emacs, and Emacs only. This is the way.
@nixCraft There's no wrong ways 🙂↔️
@nixCraft soy de ascendencia valenciana, así que nano, siempre...
@nixCraft Using vim or emacs to edit a config file feels like using a nuclear reactor to boil water for tea. Nano is good enough, any other text editing job I prefer to use GUI tools; either GNOME text editor or VSCode 🤷♂️
@nixCraft I don't really know what the back engine for the text editor I use is. And I don't really care, my life does not need the complication as long as it works.
@nixCraft 0 what else?
@nixCraft 2 with pico/nano
Check ✅ out my hashes to analyse my editor of choice in POSIX OS
🖋 #Vim #VimMasterRace #Amiga #Bram #BramMolenaar #bash #sh #zsh #ksh #csh #WomenWhoCode #100DaysOfCode #1000DaysOfCode #Linux #POSIX #Programming
@nixCraft Nano
@nixCraft I know 0 and 1 are cool, but if you want something cooler you can edit text by writing 0s and 1s directly to /dev/<disk-file>. 😎
@nixCraft GNU #Emacs, because Vi/Vim don't do what I want. GNU Emacs and Vi/Vim are really not comparable programmes.
@nixCraft no love for ed ? :D
@nixCraft vi!
@nixCraft
mcedit (from Midnight Commander)
@nixCraft Always vi or vim
@nixCraft neovim
@nixCraft I raw dog my text files with cat and echo
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.