Plugins for Evil ( www.emacswiki.org/emacs/Evil ).
(require 'evil-ex-registers) (define-key evil-ex-completion-map (kbd "C-r") #'evil-ex-paste-from-register)
It provides special registers for ex mode.
It provides little-word motion commands and text objects with default key bindings listed below. The little-word motion commands are similar to those in camelcasemotion.vim. The motions stop at upcase letters just after a lowercase letter and at underscores ('
camelcasemotion.vim, little-word motions are sensitive to non-ascii uppercase/lowercase letters as long as Emacs knows which character is uppercase or not. See lists.ourproject.org/pipermail/implementations-list/2012-June/001604.html for further design details.
It gives a state indicator at the beginning of the mode line and changes the mode line color for each state.
An associative list which specifies correspondence between Evil states and colors. The key of the associative list must be a symbol of an Evil state (such as
insert, etc.) and the value of the associative list must be a string of a color (such as “SteelBlue4”, “#575735”, etc.).
A string shown at the mode line as a state indicator of normal state.
A string shown at the mode line as a state indicator of insert state.
A string shown at the mode line as a state indicator of replace state.
A string shown at the mode line as a state indicator of emacs state.
An associative list which specifies correspondence between Evil visual state types and state indicator strings. The key of the associative list must be a symbol of visual state type (such as
block) and the value of the associative list must be a string of indicator.
(require 'evil-operator-comment) (global-evil-operator-comment-mode 1)
It provides comment/uncomment operator. You can use it by typing
C*, for example,
CC for commenting out the line at the cursor,
Ciw for commenting out the word at the cursor. The key can be changed by setting custom variable
| denotes the cursor position.
comments out '
Ci( comments out '
The idea is taken from relaxedcolumn.blog8.fc2.com/blog-entry-154.html, which is to add comment/uncomment operator to Vim.
(require 'evil-operator-moccur) (global-evil-operator-moccur-mode 1)
It provides an operator for
moccur-grep-find command. You can use it by typing
M*, for example,
Miw for grepping a word under the cursor. The key can be changed by setting custom variable
evil-operator-moccur-grep-find-key. You will be asked in which directory files to be grepped are located. Setting custom variable
evil-operator-moccur-use-current-directory disables asking a directory and files in the current directory are grepped.
It provides relative line numbers shown up when you hit operator keys.
linum.el stud4.tuwien.ac.at/~e0225855/linum/linum.html (you don't need this if emacs-version >= 23)
It provides text object for selecting a range between a character. Default key bindings are
af, which select a range between a character by which the command is followed.
if selects an inner range. These bindings can be changed by setting custom variable
| denotes the cursor position.
foo, b|ar, baz
:foo :b|ar :baz
The idea is taken from d.hatena.ne.jp/thinca/20100614/1276448745, which is to define textobj-between for Vim.
A patch for
hexl-mode, a mode for editing binary files in hex dump format.