News for hackers. Stuff that matters.
Re:Spacemacs – Emacs advanced kit focused on Evil by samatman on Friday April 17, 2015 @11:07AM (#9394757)
I like this development. I feel that we have three editors (really types thereof) for a reason.

The Sublime/TM/Notepad++ crowd cares about OS-native integration. I use Sublime frequently because after a solid decade+ living in OSX land, my fingers know how what to do, and neither vim nor emacs respect that without considerable massaging.

Vim fans want to use an elegant command syntax. I watch vim users code and always make a point to learn how to vim, eventually. The only reason I don't, is because I haven't.

Emacs users want/need the programmable, extensible runtime. Emacs is a programming language; particularly in Lisp development, Emacs often contains programs that are basic/standard parts of the toolchain and not found in other editors. I use Emacs because I like it, but more importantly, because I have to.

Combining the elegant syntax of Vim with the extensibility of Emacs, as well as some out-of-the-box support for the basic OS-native commands, is a very good start.

Re:Spacemacs – Emacs advanced kit focused on Evil by greggyb on Friday April 17, 2015 @11:22AM (#9394857)
I feel similarly to this. Emacs got extensibility down and probably would have destroyed Vi. Vim added Vimscript, but it is not what most would call elegant, nice, or any of the other things we want in a language. Adding extensibility is what kept Vim around.

I like the design of Emacs, and I also like Lisps in general, but the Vim editing model is the best for me.

It looks like Neovim is going to address many of the issues with Vim.

Re:Spacemacs – Emacs advanced kit focused on Evil by agumonkey on Friday April 17, 2015 @11:52AM (#9395095)
As an emacs fan, I find vim model simple, abstract and efficient. Emacs default paradigm has amazing foundations but give fingercuts too often and lack composability while vim is quite self consistent (how ironic giving lisp essence).

That said, growing your editing system by evaluation a small function is still a bliss. Go lisps.

#repant

Re:Spacemacs – Emacs advanced kit focused on Evil by greggyb on Friday April 17, 2015 @12:17PM (#9395302)
That's a very good way to put it.

Vim's editing model is much more functional (a la functional programming) than Emacs', whereas the latter's foundation is much more functional.

I keep thinking I should try Emacs with one of the Vim-ulators, but I've got a pretty good flow going in Vim and I've got a lot of other things I'm trying to learn right now, not to mention paying work to do.

Re:Spacemacs – Emacs advanced kit focused on Evil by agumonkey on Friday April 17, 2015 @12:46PM (#9395521)
Me too, since many people report emacs evil mode being pretty polished by now, I'm tempted to try a fresh emacs setup. There's also lispy.el, which is IIUC a paredit superset in vi-command-clothing.
Re:Spacemacs – Emacs advanced kit focused on Evil by mikekchar on Friday April 17, 2015 @08:56PM (#9397958)
Although me too comments are not encouraged on HN, I've got to add a "Me too" to your "Me too". I used Emacs for 20 years and on a whim decided to learn Vim. Once I got the hang of it (telling the editor what I want to do rather than moving the cursor all over the place), I couldn't go back to Emacs. I've tried Evil a couple of times a few years ago and it just didn't work for anything other than superficial commands. The reports I'm reading in this thread are making me very, very excited to try it again!
Re:Spacemacs – Emacs advanced kit focused on Evil by agumonkey on Friday April 17, 2015 @11:39PM (#9398230)
Who knows, with the functional trends, and the work on guile emacs, maybe there will be a window for an emacs sibling with simpler core and combinator-like interactions.

vi objects feels a lot like lazy partial application with sane defaults: effect <| (move or stay) <| (count or 1)

Re:Spacemacs – Emacs advanced kit focused on Evil by tuhdo on Friday April 17, 2015 @12:55PM (#9395584)
It's not for Vim anymore but can adapt to many editing styles.
Re:Spacemacs – Emacs advanced kit focused on Evil by patejam on Friday April 17, 2015 @11:14AM (#9394815)
FWIW, I use Sublime/Jetbrain products for most of my programming and I always turn on vim keybindings. It isn't 100% the same as actual vim, but it is still faster than a mouse for me.
Re:Spacemacs – Emacs advanced kit focused on Evil by mmahemoff on Friday April 17, 2015 @11:19AM (#9394842)
I've never got into any of these Vi/Vim emulators because they vary from pure Vim in subtly unexpected ways and typically don't support plugins or vimrc setup. Neovim will change all that, being based on direct socket-based communication with actual Vim, so it really will be possible to get the best of both worlds.
Re:Spacemacs – Emacs advanced kit focused on Evil by expando on Friday April 17, 2015 @11:54AM (#9395113)
ideavim is easily the best vim emulation I had ever used until I tried spacemacs/evil. Ideavim blew the eclipse vim modes out of the water
Re:Spacemacs – Emacs advanced kit focused on Evil by colordrops on Saturday April 18, 2015 @01:59AM (#9398452)
And they fixed some annoying inconsistencies with recent releases. It's pretty good now. Makes developing Java in an IDE tolerable.
Re:Spacemacs – Emacs advanced kit focused on Evil by giancarlostoro on Friday April 17, 2015 @11:12AM (#9394799)
Personally I enjoy any editor that doesn't get in my way, I really want to learn Emacs and / or Vim, but it's not exactly a downhill experience as say Notepad++, Atom, and other editors. I enjoy the idea of having all the Emacs or Vim super powers, but I can't seem to get used to it, I either use nano while on the terminal or just a full on IDE.
Re:Spacemacs – Emacs advanced kit focused on Evil by integraton on Friday April 17, 2015 @12:05PM (#9395196)
Part of the foundation of understanding and appreciating text editors is understanding and appreciating the value of text, rather than trying to abstract it away under an IDE's several layers of GUI controls, widgets, and platform-specific APIs often designed by a single company that's trying to convince you to lock the future of your career and/or company to its platform.

Furthermore, neither emacs nor vim are hard to learn. There's a widespread myth perpetuated both by novices and elitists that it's an all or nothing kind of thing. The reality is that even in vim you can use arrow keys and mouse/trackpad scrolling and ignore hjkl if you want. You could, for example, use terminal vim every single day and use only about 5.5 vim-specific commands: i, ctrl-c, :w, :q / :q!, and ZZ. With gvim or macvim, you could reduce that to two: i and ctrl-c.

Re:Spacemacs – Emacs advanced kit focused on Evil by vonkow on Friday April 17, 2015 @11:16AM (#9394827)
Learning vim is like learning Kung Fu, you practice the same awkward route motions until they're so natural that you don't even notice you're doing them. Sadly, it's not a quick process, but it's worth it.
Re:Spacemacs – Emacs advanced kit focused on Evil by lottin on Friday April 17, 2015 @12:18PM (#9395313)
It's true. It made me develop an automatic reflex to hit the Esc key every time after inserting a couple of characters, even when I wasn't using vi at all. It was pretty annoying. Imagine typing a document in Word and pressing Esc constantly. Fortunately I switched to Emacs and the reflex went away.
Re:Spacemacs – Emacs advanced kit focused on Evil by MarcScott on Friday April 17, 2015 @12:29PM (#9395403)
But don't you find yourself hitting C-a to go to the beginning of a line and then insert a line break, then inadvertently deleting everything on the page. As an Emacs user, I do this all the time.
Re:Spacemacs – Emacs advanced kit focused on Evil by sodifoiu on Friday April 17, 2015 @12:46PM (#9395524)
One nice thing about OSX is that some emacs movements work in most programs.

C-a, C-e, C-n, C-p, C-k, C-y (kill yank not quite the same)

Edit: C-f and C-b too

Edit 2: Just checked and word is not one of these programs :(

Re:Spacemacs – Emacs advanced kit focused on Evil by sea6ear on Friday April 17, 2015 @06:20PM (#9397503)
Here's a link to add Emacs keybindings to Word on Mac OS X. Hopefully it's still accurate.

http://emacsblog.org/2007/02/18/emacs-key-bindings-in-ms-wor...

Re:Spacemacs – Emacs advanced kit focused on Evil by ThrustVectoring on Saturday April 18, 2015 @03:21AM (#9398603)
It's faster than you'd think. I was far better with Vim than Textmate within a month of my switch.
Re:Spacemacs – Emacs advanced kit focused on Evil by falcolas on Friday April 17, 2015 @05:05PM (#9397197)
Not to take away from the rest of your comment, but Macvim in insert mode works exactly like any other Mac text entry program. All of your regular keyboard shortcuts work as you expect them to, as does the mouse.