The `vi` editor, a staple of UNIX-like systems, was first released in 1976 as part of the BSD. What are your favorite `vi`/`vim` tricks?
I regularly use the `gq` command in vim to clean up and format text blocks.
The `vi` editor, a staple of UNIX-like systems, was first released in 1976 as part of the BSD. What are your favorite `vi`/`vim` tricks?
I regularly use the `gq` command in vim to clean up and format text blocks.
#Emacs vs. #vim Real World Analogy: #CargoBike Vs. #FoldingBike
https://karl-voit.at/2026/01/23/Emacs-vs-vim-Cargo-Folding-Bike/
This isn't supposed to deliver fuel to the gratuitous #editorwar.
It's supposed to clear up a few things why the two tools are so fundamentally different.
HTH
Tired of the interminable emacs vs vi editor wars (with praise for nano baked in)? Back in 2018 I wrote "ed(1) mastery is a must for a real Unix person" https://nxdomain.no/~peter/ed_mastery_is_a_must_for_real_unix_person.html - a review of @mwl 's then recent book #ed #vi #emacs #editors #unix #editorwars #standardeditor
#EditorWars #opensource
If you have to ask for help in a forum to do something as simple as search for and paste-replace a single word with the editor you're using, you might be using the wrong editor. 😅
@chesheer IMO people have lost the ability to discuss topics in a non-personal fashion. Factual level vs. personal level.
Nowadays, the tendency that any discussion results in personal insults is very high.
Besides: since #Emacs is able to do everything(!) that #vim does (except vimscript) but vim can only do vim-stuff but only a tiny fraction of the stuff that's built-in or optional within Emacs, this is actually settled once and for all. 😈
Ich hab immer noch keinen gescheiten #Editor gefunden. #fediHilfe!
Anforderungen: CLI+GUI, Multi Select (Maus), Keybindings (CUA+editable), responsive, linting, completion, light theme.
VSCodium, Atom etc.: zu lahm (Electron)
vim: zu viele weirde Modi
Emacs: Handkrampf
Helix, Zed, Tilde: brauchen LSP server
Sublime: proprietär
Geany: zu wenige Plugins, keine CLI, sonst geil
Micro: GUI suboptimal
Right, not everyone can be enlightened enough for vi. And don't even get me started about ed, the only real editor.
Sorry, but your post wouldn't be complete without this comment :wink:
Ett foto från en tidigare arbetsplats. Blir fortfarande lite varm inombords när jag tänker på vilka bra kollegor jag hade, folk som förstår att hålla #editorwars levande.
*Vim users gotta cope
#emacs #vim #neovim #editorwars #linux
@afreytes @blogdiva apparently Notepad++ and Geany are both based on the Scintilla editor engine, so the theoretically should be similar. But I think Geany is clearly designed more as an IDE.
For me, the most important feature of an editor is the ability to run text through a command line filter like the awk command, or the jq command. Without this, an editor is basically useless to me, and unfortunately, there are not many text editor that make this easy to do (though Vim and Emacs fit the bill). Nano would be so much more useful if they could just add that one simple feature. Geany does have this feature but it is buried under two submenus (Edit -> Format -> Send Selection), so you have to configure your key bindings to make it easier to use.
I still recommend Linux users try to allocate some of their time to learning Vim and/or Emacs, even if they don’t use these text editors day-to-day. These software are such an integral part of the Linux and Unix community, I believe it will make it much easier for you to connect with other community members if you know at least the basics of how to use these editors, especially when doing problem solving with other people.
#tech #Software #FOSS #TextEditor #EditorWars #Vim #Emacs #Nano
@cx7 but I could say the same about #emacs too ;)
#emacs #editorwars #texteditors #operatingsystems #linux #orgmode
Incidentally, I believe that if the arrow keys work in vim, that is a compromise for modern users. Actual vimmers use hjkl.
@patrick fortunately or unfortunately, the Emacsian in me can relate.
#emacs #editorwars #vimsucks
@ksaj That's an unfair comparison.
First, if you are happy with vi(m) on all sorts of hosts, you actually don't need #Emacs. That's because Emacs is so much more than just an editor: https://karl-voit.at/2015/10/23/Emacs-is-not-just-an-editor/
Second, with Emacs, you don't need it available on the host you're working on. Emacs is able to edit files on remote machines very well. 😉 (keyword here is: tramp)
So you're comparing apples and oranges.
Don't worry - stick with #vim as long as you like but if you need much, much more than just a good editor, Emacs is your friend.
I'm working with vim and Emacs in parallel on a daily basis since decades. 🙇
Tired of the endless editor wars?
They've actually been missing the point, for all of those years.
ed(1) is the standard editor - https://nxdomain.no/~peter/ed_mastery_is_a_must_for_real_unix_person.html (or if nicer formatting trumps G's trackers, https://bsdly.blogspot.com/https://bsdly.blogspot.com/2018/04/ed1-mastery-is-must-for-real-unix-person.html) (dated 2018-04-01 :D )
#ed #unix #editors #editorwars #vi #vim #emacs #vivsemacs #emacsvsvi
guys #vim or #emacs ? #editorwars https://vim-or-emacs.ari.lt/
How can we possibly help this poor woman who's husband has become a #vim peasant?
https://old.reddit.com/r/emacs/comments/1ck8w2g/my_husband_has_become_a_vim_peasant_please_advise/
#emacs #gnome #kde #foss #freesoftware #editorwars #gentoo #linuxfromscratch #linux
@itsfoss Thank goodness we have Emacs 😎