- sentence and paragraph motion: I suggest you give some example commands that didn't suit your needs. I'm happy with evil's motion keys.
leader maps: http://wikemacs.org/index.php/Evil that doc should show you how to do things with emacs. Defining keys look like the following:
(define-key evil-normal-state-map "q" 'ido-kill-buffer) ; was previously record macro
Also be sure to read the official pdf doc. Also look at the examples of key-chord mode.
buffer commands: true, managing buffers should be quicker. Do you know ido-mode ? Here's how I use a combination of
key-chord
andido
:(key-chord-define-global "'b" 'ido-switch-buffer)
and I have similar keys for
next-buffer
andprevious-buffer
. I think it's much quicker than finding the file path on a terminal to launch vim. Also I can't do without projectile to find new files: https://github.com/bbatsov/projectile
Now do you have more precise question ?
edit: on going to the end of a sentence:
So, evil uses evil-forward-sentence
but yes, it doesn't have the same behaviour than in vim (see comment). Emacs has forward-sentence
but it has the same behaviour. I couldn't find a function with the desired effect.
forward-sentence
is based on the sentence-end
variable (see it with M-x ielm
), which is a regexp defining end of lines. So it's possible to re-define it. Here's a simple example that needs to be extended:
(setq sentence-end "[\\.\\?\\!] +") ;; . or ? or ! followed by spaces.
now forward-sentence will stop at the next point. We can remap evil's )
:
(define-key evil-normal-state-map ")" 'forward-sentence)