Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differences from vim: Jump to end/beginning of sentence #872

Closed
mathpunk opened this issue Mar 18, 2015 · 3 comments
Closed

Differences from vim: Jump to end/beginning of sentence #872

mathpunk opened this issue Mar 18, 2015 · 3 comments

Comments

@mathpunk
Copy link
Contributor

Spacemacs and Evil by default treat the ) and ( motions as being about lines. Vim treats them as being about sentences, i.e., they look for periods, question marks, and exclamation marks and take the cursor to the first word character that comes after. It's not such an important difference for code, but the sentence is the fundamental unit of prose. I propose the default behavior of the motion ought to be like vim.

@syl20bnr
Copy link
Owner

This makes sense and could be accepted upstream, you can make a feature request on the official evil repo here: https://bitbucket.org/lyro/evil/issues?status=new&status=open

@fasddag
Copy link

fasddag commented Mar 23, 2015

It could be your config problem. Try adding this to your .emacs:

(global-visual-line-mode 1) ;this is clever word wrap
(setq sentence-end-double-space nil) ;sentence end is one space not two

@StreakyCobra
Copy link
Contributor

Spacemacs and Evil by default treat the ) and ( motions as being about lines.

This seems to be corrected in both develop and master, so I'm closing this issue. Feel free to open a new issue if you notice any problem 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants