So neither...
is quite ready as a stand alone OS yet? ☺
Maybe next version.
The first major Emacs update in four years landed over the weekend, a few days after Vim had its first big release in a decade. One major improvement to the 40-year-old Emacs is a configuration option to load dynamic modules at launch, for functions developers need but which Emacs doesn't yet support. Mastering Emacs author …
This post has been deleted by its author
>"most people use their mouse a LOT when writing/editing documents."
Yeah not sure if its worth the time for say someone under 20 to learn vi these days but if you have put the time in and developed the muscle memory you will find yourself able to create and edit simple text files much much faster with vi than gedit or the equivalent. Plus you will be able to effectively edit text/config files on every POSIX system since Reagan was president.
8G?, nowhere close. The emacs instance on my machine has been running for a while (yes I hibernate my machine when not using it)
$ ps -eo pid,comm,lstart,time | grep emacs
7525 emacs Wed Aug 31 15:23:07 2016 15:16:03
$ awk '/Rss:/{ sum += $2 } END { print sum }' /proc/7525/smaps
40228 (kb)
$ awk '/Pss:/{ sum += $2 } END { print sum }' /proc/7525/smaps
28053 (kb)
Personally, I think EMACS should change it's name to EGACS ... Eight Gigs And Constantly Swapping ;-)
I have the same beef with Thunderbird, which likes to chew at least 6GB of my 8GB RAM. Perhaps "Exhausted the Memory Available, Constantly Swapping" should be the new name?
Seeing lots of messages like the following:
(gvim:4090): Gtk-WARNING **: GtkNotebook 0x556a127ab1d0 is mapped but visible child GtkEventBox 0x556a12a09170 is not mapped
(gvim:4090): Gtk-WARNING **: GtkNotebook 0x556a127ab1d0 is mapped but visible child GtkEventBox 0x556a12a09170 is not mapped
BadMatch (invalid parameter attributes)
Vim: Got X error
Vim: Finished.
I'm trying it with gtk2 to see if that's better. Edit: Well, the warning messages are gone now.
Shame, because the gtk3 version did look a little nicer and gave me that teeny bit more screen real-estate. (Hey, at 1366×768, every pixel counts!)
Guess I am too old but seeing gtk error and warnings in the same context as vim is very jarring. Like tits on a bull. Get rid of gvim and learn not to fear the CLI. If you must have a gtk text editor I find Geany to be the swiss army knife in that context.
Well, I use gvim rather than vim because it's still relatively lightweight, starts quickly, it forks into the background when launched leaving my terminal free to launch other files, and the GUI aspect makes browsing easier with regards to navigation (touchpad gestures) and manipulating split panes.
Most commands I do with the standard vi commands, but the odd few that I haven't memorised the commands for, I can find in the menus. gvim in this regard is a nice balance.
I otherwise live in the terminal session, I don't know where you get the idea that I somehow fear a CLI just because I use gvim.
Trouble with sublime is that is a GUI application. When I am programming I don't want to worry about finding where the mouse is; I can touch type but cannot touch mouse.
The editors that I use are CHUI (CHaracter UI or curses) based. This means that they also work nicely over a slow ssh connection.
Which editor: microemacs.
Proper Vi, or just pretend?
I recall trying a Vi emulation in Netbeans, and apart from a few minor niggles regarding leaving whitespace at the end of lines, it was usable.
Eclipse also has Vi emulation, which again is quite reasonable, but the constant "IntelliSense" rubbish popping up just drove me up the wall. When you're trying to think of a keyword or variable name the last thing you need is the IDE "shouting names" at you!
As for MonoDevelop… URGH!! Yeah, sure, you can navigate with hjkl, that's where their "vi" mode ends. I find a more pleasurable editing experience using cat and sed!
I'll have to update my copy of Emacs - wonder what's in there now - another new adventure game? Some new version of the Tower of Hanoi simulator? A new screensaver? Or perhaps they've getting more upto-date by implementing Angry Birds in ascii alongside Snake and Tetris. Even 25 years ago on the sun systems I used at uni, Emacs's icon was already a kitchen sink.
Really, Emacs is great, and I love it to bits, but it's a text editor which thinks it's an OS - some one really should have said 'enough' about 30 years ago..
which spawns a fake religion. Newsgroups for you young'uns, alt.religion.emacs. Still use ed on occasion when sed is not up to it.
Why would anyone not use simple, elegant Vi. Runs on all OS and simulacra like DOS, Win95 and does not give author RSI. To me vim is a household cleaner, Emacs a mispelt Apple thingy. Asbestos coat on, flame away.
Why would anyone not use simple, elegant Vi. Runs on all OS and simulacra like DOS, Win95 and does not give author RSI. To me vim is a household cleaner, Emacs a mispelt Apple thingy. Asbestos coat on, flame away.
No flames from me. Have an upvote instead. And I agree, vi did not need "improving". It was perfectly fine as it was.
As for anyone complaining vi causes RSI, try using it with UNIX layout keyboard (ie. the original US keyboard layout where CTRL was where it was intended to be (for some unfathmable reason all keyboards now have Caps Lock there)).
Emacs doesn't give you RSI, it's not it's fault it was designed for a keyboard with three types of shift key (shift, front and top) and four different control keys (control, meta, super and hyper). Honestly, what's the problem with a keyboard where you need seven fingers each of your three hands to use properly?
" I just want a text editor so it's vi all the way."
That'll be nvi : https://sites.google.com/a/bostic.com/keithbostic/vi/
Once upon a time I remember coming across some forum post saying that the poster preferred vim because nvi hadn't had any updates for years. Clearly he didn't grok that that's why some of us prefer nvi intended, according to the man entry, as "bug-for-bug compatible replacements for the original Fourth Berkeley Software Distribution (4BSD) ex and vi programs."
Does anyone remember the Rand editor? It was the editor provided with Interactive Unix on the Onyx Z8000 boxes long ago (for some reason we didn't have the "games" tape which had things like the C-shell and vi on it). It was used with VT100 terminals but had the interesting property of being able to panic the machine when one particular key (I can't remember whether it was ESC or Break).
Icon just in case it was ESC.