Fork me on GitHub
#spacemacs
<
2019-06-10
>
didibus00:06:48

the comments on those issues don't make it sound supper promising

didibus00:06:59

best i saw was people using hybrid mode

didibus00:06:31

but, thats not really vi way anymore, if you live in insert mode

didibus04:06:54

It's me again 😛 , is there a way in Evil to have j/k move into wrapped lines? For example, if you use up/down in insert mode, it moves through the wrapped lines. I find it very slow to have to navigate left/right into a wrapped line, even if I use w and b.

ag04:06:17

I think what you want is to spacemacs/toggle-visual-line-navigation (SPC t L)

ag04:06:55

if you want it on always:

(add-hook 'prog-mode-hook 'spacemacs/toggle-visual-line-navigation-on)
in dotspacemacs/user-config

didibus04:06:20

Yes that's it!

didibus05:06:43

Think I found another bug, flyspell transient state, c seems to correct the previous word, the the one under point.

ag06:06:58

I personally did this: (spacemacs/set-leader-keys "xx" #'flyspell-correct-at-point)

ag06:06:26

it allows me to SPC xx to fix the the word under cursor

didibus06:06:35

Cool, I'll keep that one in mind too!

didibus05:06:22

Is there a better Evil command to correct the word at point?

didibus05:06:40

Looks like C-M-i can be used in Evil

didibus05:06:48

My first practical use of guW yay!

didibus05:06:44

And another small question, can you repeat navigation? . seems to only repeat operators. But say I want to repeat fy is there a key for that?

zane05:06:17

You can keep hitting f after fy to move on to subsequent occurrences of y.

didibus05:06:58

And can I hit F to go back ?

didibus05:06:04

Or do I need to do Fy ?

didibus05:06:46

It doesn't seem to work

didibus05:06:54

If I press f again, it doesn't repeat.

didibus05:06:10

I tried in Vim as well, same behaviour.

didibus05:06:18

Did you customize something?

zane05:06:50

I certainly may have.

didibus05:06:41

Seems like to repeat f it is ;, and normally, going back is ,, but Evil rebinds that as major mode leader. So not sure if there is another one.

zane05:06:31

Are you on develop?

didibus05:06:16

Did a git pull like yesterday too

1
zane06:06:01

Figured it out.

zane06:06:12

I have that installed. 👆:skin-tone-2:

zane06:06:27

Highly recommended.

didibus06:06:34

Now I'm conflicted though. My biggest motivation for moving to Evil from Holy is that I learn something more widely applicable, like can also use it in Vi when ssh-ing and all. But I'm quickly realizing that Emacs majestic custumization can already drastically improve on Vi 😛

zane06:06:05

Understandable.

didibus06:06:24

It does look awesome though, love how s/S becomes a 2 char search.

didibus06:06:48

thanks for the pointer

didibus06:06:46

I was actually tempted to rebind s to be avy-goto-char-2

ag06:06:32

> Emacs majestic custumization can already drastically improve on Vi As I said many times: “Emacs vims betters than Vim can vim”

👍 1
didibus05:06:56

evil-repeat-find-char-reverse is unbound it seems, so no default binding to go back on a f in evil

didibus07:06:53

In visual mode, once something is highlighted, how do I wrap it in brackets?

jahson09:06:23

surround.vim has many other abilities, like ysiw"

jahson09:06:40

Seems like the evil mode has these too

jahson09:06:02

ysiw" means surround inner word with "

didibus10:06:34

Thanks! You'd think Spacemacs would bundle all these already

didibus10:06:01

Now I need evil-snipe, lispyville and evil-surround.

jahson10:06:53

Spacemacs ships with evil-surround, at least the develop branch

prnc12:06:42

I’m yet to find a combination of packages that respect Vim editing commands in the presence of parentheses 😞 tried a bunch, there are some rough edges on all of them, may need to dive deeper… unless @ag you know you to fix those issues