ed is a truly wonderful editor indeed!
I Am starting to actually get somewhat comfortable using emacs
9 months ago by da_cow (she/her) to c/linuxmemes
The greatest WYGIWYG editor, with an extremely consistent error interface.
Works great on 300 baud; not many editors can boast that. Also, if your programs are all under 2000 lines long.
some distros ship kate, and that's a super good pick for code editing
Yeah no thanks. Linting, formatting, LSP integration, Treesitter,... are just kind of essential for programming work. And the advantage of nvim/emacs/... is that you can bend them to your will and preferences.
If you just want to edit some config files, sure, use literally anything. But I need something proper for work, and if I already set all of that up, might as well use it for the config files, too.
I did this for the past 3 years. At some point I just got curious what all the hype is about, so I installed emacs and slowly started to use it. Now I am at a point, where Im getting comfortable around emacs and actually start to enjoy its features.
Befor I usually used nano, since I mostly edited my text files from within my terminal.
Gedit is very nice, and very versatile
You really should use vim though.
No (I already somewhat learned Emacs, I ain't gonna learn something new)
That's how the meme goes though. Anytime someone suggests, says something positive about one of vim or emacs, the response should be that they should use the other. π
It's an almost 40-year-old flame war.
Me:

Go, nano!

That wikipedia article is pure comedy gold
Glad to lighten up the day!
Vim is a super fit girl who wants you to go rock climbing with her, and you're kinda scared of her.
Emacs is a big plenty-of-everything roundaway girl who wants to wrap you up in a cuddle and learn to make your favorite food and binge watch nerdy documentaries with you.
Please do VS Code. π
The vim key bindings are a lot better.
Yeah, I daily drive spacemacs. π
I found Doom to be a good middle-ground between raw Emacs+Evil and a complete overhaul of Spacemacs.
Iβve been using emacs for work for years because the proprietary language I have to work in was set up with emacs as the default editor. I bitched and moaned when I first started because I was used to more modern solutions.
When they finally got VS Code support workingβ¦I stayed with emacs. Stockholm Syndrome, I suspect. But I know what Iβm doing in emacs. Iβm comfortable.
Nah, itβs called CM which I believe stands for Configura Magic. Itβs a C-based language sort of similar to C#, but specifically made for use with Configuraβs space-planning software.
I actually like the language, I just hate that itβs extremely niche.
Edit: the similarity between the names Magik and Configura Magic is not lost on me, but I donβt think theyβre related.
I decided to give it an honest try after somebody mentioned it on lemmy a few weeks ago.
... I really like it.
I still pop open Theia if I'm just doing some research that has me hopping all around, or sometimes on a separate monitor for a referenced project/library associated with my work, but I do the actual work in Helix.
There are dozens of us!
I like neovim for personal projects in Rust, Lua and JS but for collaborative work in Java it's not really usable for me. Database access, merging big PRs, unit testing tools, debugging, integrations with Spring... I always saw too many feature gaps to even try.
I really wanted to switch to nvim. I learned and setup kickstart. Got some new things installed. Learned how Java and Kotlin dev isn't well supported.
I then learned how to make IdeaVim work better for me. And that's where I'm at.
this week i started using kickstart [modular], but i'm definitely considering going back to nvchad
Interview with an Emacs Enthusiast
All time classic.
Im not going crazy just playing around a bit, remapping some keybindings and so on. It is in fact kind of fun.
(I actually just tried jumping to the first line of my comment while writing it using C-a, which is the default keybind for this in emacs. I think its getting worse. Aaaaaaaaghhhhhhhhhh)
Im a neovim user myself, and i swapped my caps and escape keys at the os level. I touch another computer and am WONDERING WHY IM WRITING LIKE THIS xD
Look into Doom Emacs. It's pretty cool in general, but especially if one is inclined towards Vim's keybindings (which I recommend learning) and uses Org-mode.
tried jumping to the first line of my comment using C-a
That would work in MacOS (iirc), since most of app shortcuts there are on the cmd keys, and some Emacs/readline bindings work in text fields. Though C-a moves to the first character of the current line, not first line.
still on vim, too scared to even look
I may be crazy, but for regular text file, VIM is usually my go to. But, because of tag auto completion Bluefish has been my HMTL/CSS editor for a while. Most other things are in VIM. Bash? VIM. Python? VIM. C? Trash bin! Did not like the C class I took last quarter!
Exception being things like .docx or .odt files that have no business being opened in VIM.
... Do people open docx and odt files in VIM? Fuckin why?
IDK if people do, but I'd assume there are some people would just to avoid the bloat of having office suite software.
It's unfortunate that your experience with C wasn't a good one. imo it's a cool language, even if it may be overshadowed by languages that are more intuitive to use.
Org-mode, which is made for Emacs, has built-in spreadsheets.
Pro tip: use Evil.
Another pro tip: if on Windows or Linux, remap alt to ctrl and win/menu to alt.
Now every time I'm trying to do a ternary in Lua, I miss being able to just stick an if in there.
Nano os shit. Micro is fine. Vim is good. Helix is peak.
I'm coming from kakoune. Language servers are something that's shockingly hard to get running reliably. Helix has solved this for me
weird. I just use kakoune-lsp, and it works just fine out of the box, spare bit of copypasting from the readme on their github.
I really like that i have to put in no effort for Helix to work, but unfortunately its just too rigid for me.
And it also backs down on kakoune's philosophy, returning back the necessity of selection mode. It really frustrates me in this aspect. Kakoune's more heavy reliance on modifier keys seems way more handy and sensible to me. Helix's way just creates unnecessary complications, and feels like a change for the sake of a change.
The problem with Emacs is that it sucks but there is nothing better, and you are getting stuck with it forever. Welcome!
I used to use Neovim until I got tired of it and switched to Helix. I tried Emacs for a bit but turns out that Helix does everything I need it to do without any extra configuration.
And of course I use caps:swapescape because I am not reaching all the way to the Escape key all the time.
I used neovim for a while, tried NVChad and it just felt off. Ended up switching to lunarvim and I've been really happy with it.
Emacs and (Neo)Vim are a bit too overwhelming for me. I've tried Neovim for a relatively long time, but I felt kind of overloaded with the vast amount of features and plugins it has. I've tried Emacs a bit, but its complexity always scared me (not to mention it uses its own version of Lisp, a language that is notorious for its ability of creating new language features on the fly, hence even more complexity). I've been using Helix, and I couldn't be happier. I've realized that I don't really care much about editor customization, and that what I was looking for was just a cool modal editor with some useful features (such as file picker, LSP, tree-sitter, multiple cursors, ...). The keybinds are also easier to grasp, as fewer of them feel arbitrary compared to Vim. In Vim and Emacs, it feels like you can do everything, while in Helix, it feels more like you can do everything the developers think that might be useful for you. Who knows, maybe I'll try again Emacs and (Neo)Vim again in the far future, but I don't feel like it for now.
May I recommend Helix? Itβs a modal editor like vim, but has a better out of the box experience, better discoverability for commands, and uses an easier to understand select->command syntax.
Just started using helix a few months ago and I'm in love. The movement took a second to get used to but its super efficient once you get the hang of it. I highly recommend it, especially if you're doing any kind of programming or sysadmin work and you hate gui ides.
I've written in my comment that I've been using Helix, but still, thanks for the suggestion.
This is also my goal! ...since 2020.
I love vim/nvim but I've gotten used to using VIM more as a text editor then an IDE. Writing a script? Taking notes? Maybe even a small program? VIM all the way. Working on a big project that needs an LSP? Either spend the next 20 hours fucking with your VIM config and 20 plugins to get basic functionality... Or just open VSCode and install one plugin
Heres to hoping since NVIM 0.11 with their LSP overhaul I can finnally make the full switch
Since... ΒΏwhen? omg I'm thinking to start using it to write my md files for Obsidian just to learn the basics. I mainly work with php or some framework so I guess I just need to find the correct set up for this one?
I keep thinking that as I use vim, I'll feel the need to learn more commands, but I hardly do anything except:
What are your vim GOTOs?
My most used commands are also just the classics
cw - delete the next word amd enter insert mode
dd - delete line
gg - go to first line
G - go to last line
:s/searchphrase/replacephrase - search and replace
And a couple of visual mode commands do cut and paste blocks or comment out blocks of code
a couple of visual mode commands
Those might also work in the normal mode with motions, depending on the text. E.g. gcap would comment out the current paragraph (iirc).
Oh sick I will try that
gcc is the most typical, works on the current line.
ctrl+n while typing activates the builtin autocomplete.
I hope that you use the motion commands at least, because that's the whole point of the separate modes. If not, you should look them up and add some of them to your workflow little by little.
The most basic ones are wand b to go a word forward or back; 0 and $ to go to the start or end of the line, or g0 and g$ for the visual line. f to jump to a particular letter forward. { and } to go to the start/end of the paragraph.
V is useful for selecting whole lines. ctrl-v for block selection (or ctrl-q, depending on your setup).
% can jump or select to the matching parenthesis or brace. With matchit installed, it also jumps to matching keywords like end or HTML tags.
gc comments out the selection (or uncomments it). Works with motions too, like gcc.
For pasting, you should use p in the normal mode. Also P pastes before the cursor. This is useful for moving text around by deleting it with something like daw, jumping elsewhere, and doing p.
And of course, the regex replacement with :s// is very useful if you have more than a few lines that need approximately the same change.
This is all very advanced to me. I use Home and End to go forward and back in the line, but w and b sound good to m (just wish they made more intuitive sense), also p and P.Β
I should print out a ref sheet.
Vim has a built-in tutorial on the motion commands and such. I don't remember how it's invoked, but probably something like :help tutorial. You'll get an overview of the commands and see which ones might be useful to you right away. As I mentioned, I recommend getting the hang of them one or a few at a time, so they are incorporated in your toolbox.
Speaking of help, it's generally useful in Vim to use :help {something} when you want to recall how something works. It has consistent naming for the help pages for various functionality, e.g. :help :s shows the page about the :s command, and there are pages for every motion command, etc. β I don't remember the prefixes as it's been a while since I used Vim proper, but just :help should give you an index.
Also, if you're coding in Vim, there are ways to integrate documentation for your language, so that K would show help for the function or whatever under the cursor. Back in the day I've had PHP docs plugged into Vim, but it's been a while, so idk how it's done now. Iirc there are dumps of docs from the Dash app, which might be available as vimdocs.
If editor-specific binds count, then g-. is my favorite in Zed.
You mean Vim?
I have indeed
I'm just using my lovely Kate. works well with LSP
If i just want to edit a single file I usually just use nano since it gets used right in the command line and doesnt open a seperate window, but if I want to edit multiple files emacs is very nice, since I dont have to take my hands of the keyboard.
emacs -nw
m-x scornful-elder-mode
Honestly, I don't even code much, and I didn't at all when I downloaded emacs, but it's so damn useful that it stays open any time my PC is on. Only time I close it is to make sure that my files stay synced when I leave my laptop on, and do something on my desktop.
So far it hasn't really happened to me yet. I tried configuring neovim, but since i'm still a noob at programming, it felt like it didn't make much sense to put so much effort into configuring an editor, however i did want something terminal based. So instead i use helix now. Already has the lsp stuff baked in, and my config is just a few lines of toml.
How do you not? A text editor and a browser are the two programs that I use the most, both for work and at home. And while most browsers have pretty similar UXs nowadays, the different editors are vastly different. Helix, EMacs, vim, StyledEdit, Notepad++, Kate, etc all have radically different approaches to basically everything.
I think its Not to wird to have an opinion on the tools you use. Does it mean, that I Am an elitist who tells everyone, that they should use Emacs just because I like it? No!
@lemmy.world
Hint: :q!
Community rules (click to expand)
sudo in Windows.We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
go to feed...
@lemmy.world
Hint: :q!
Community rules (click to expand)
sudo in Windows.We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
go to feed...
May I introduce you to the simple life of just using whatever text editor and terminal that comes presintalled on your favoraite distro? It's ridiculous how far this can get you, I've been enjoying gnome text ediotor with gnome terminal.
save