News for hackers. Stuff that matters.
Re:The need for tooling and the need for mastering your tools by jrimbault on Wednesday March 28, 2018 @02:54AM (#16695944)
Same with vim (and other text editors), at first I started customizing heavily. Now I can get going with just 3 settings.

    syntax on
    set number
    set relativenumber
Re:The need for tooling and the need for mastering your tools by weaksauce on Wednesday March 28, 2018 @03:02AM (#16695976)
As a long time vim user and lover of the idea of vim. emacs is better at being a vim than vim is. (org, magit, helm, swoop, and all the other great packages are a bonus and work as well as they do because of the way emacs was created.) vim modal editing is life but vim's implementation is really bad comparatively.
Re:The need for tooling and the need for mastering your tools by falcolas on Wednesday March 28, 2018 @09:39AM (#16697523)
I have to disagree. Evil mode in emacs is (on the scale of vim clones) pretty good, but it is still an emulation of vim within emacs, and there are a lot of hard stops throughout the experience for a long time vim user. The biggest hard stop for me was the implementation of C-[, which interpreted word boundaries differently than vim - differently than emacs even.

Of course, if all you're looking for is modal editing in emacs and don't mind falling back to emacs keybinds, then evil mode will do just fine for you.

Re:The need for tooling and the need for mastering your tools by weaksauce on Wednesday March 28, 2018 @04:25PM (#16701583)
You can change word boundaries pretty easily though. There is a little bit of friction in some things like that but nothing that is insurmountable. Every single keystroke is a function that can be changed and even wrapped with "advice" to leave the function alone but change the before, after, or both before and after the function is called.
Re:The need for tooling and the need for mastering your tools by arnsholt on Wednesday March 28, 2018 @01:08PM (#16699564)
I had a similar issue when I had to work in Emacs too. Evil is, on the whole a good emulation, but I kept tripping over ^W not doing what I expected. And then if I messed up the undoing, I got to screw around with Emacs' redo functionality being... idiosyncratic.
Re:The need for tooling and the need for mastering your tools by habibalamin on Wednesday March 28, 2018 @05:15AM (#16696445)
Which modal editing implementation would you suggest for Emacs?
Re:The need for tooling and the need for mastering your tools by monsieurbanana on Wednesday March 28, 2018 @05:46AM (#16696548)
There's no really much choice here if you want to have VIM modal editing in emacs: you need to use Evil.

The question is rather,

- do you want to start an emacs config from scratch (then you install and configure whatever plugins you want, including Evil)

- or go for one of the community managed ones? The most popular being spacemacs[1], but there's also doom-emacs[2], both are geared towards people that come from VIM and/or want to use VIM-like editing in emacs

[1] http://spacemacs.org/ [2] https://github.com/hlissner/doom-emacs

Re:The need for tooling and the need for mastering your tools by weaksauce on Wednesday March 28, 2018 @04:20PM (#16701538)
I personally use spacemacs with a bunch of layers enabled. It uses evil mode for vim emulation.
Re:The need for tooling and the need for mastering your tools by flukus on Wednesday March 28, 2018 @03:12AM (#16696021)
I've invested a great deal of time getting plugins to work, scripting my own, customizing every aspect of vim but I really wish I listened to the people saying all along that "vim is the text editor, unix is the IDE". Since I started following this advice I haven't looked back.

The two main reasons I ignored this advice initially is that I was mainly on windows and that vim has some great windowing abilities. I knew about cygwin as an answer to the first but I didn't know about tmux previously, perhaps I didn't need to know because vim already had a similar feature set.

Nowadays my vim setup is almost as minimal as yours.

Re:The need for tooling and the need for mastering your tools by jrimbault on Wednesday March 28, 2018 @03:34AM (#16696091)
"I can get going", emphasis on "can" ;)

I usually have more settings, but on a temp machine that's all I need.

Re:The need for tooling and the need for mastering your tools by liveoneggs on Wednesday March 28, 2018 @09:18AM (#16697417)
I wanted to add the few that I like but I think they're all defaults now :)

set ruler set wildmenu set showcmd set scrolloff=4

Re:The need for tooling and the need for mastering your tools by yosamino on Wednesday March 28, 2018 @07:59AM (#16697007)
> set relativenumber

why thank you!

Re:The need for tooling and the need for mastering your tools by kazinator on Wednesday March 28, 2018 @05:01PM (#16701895)
I didn't know about that either. What's this good for?

One immediately obvious use is basic navigation. That line above I want to go to is 13, so '13k'. Now I'm there.