From e01e5c4d70b50a5fc0110657e9723a5183f09cb8 Mon Sep 17 00:00:00 2001 From: York Zhao Date: Thu, 4 Aug 2011 16:50:50 -0400 Subject: [PATCH] Add `c-beginning-of-defun' and `c-end-of-defun' to `evil-motions' Adding these to evil motions allows visual selection to work when "C-M-a" and "C-M-e" are pressed in C/C++ mode. --- evil-vars.el | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/evil-vars.el b/evil-vars.el index 96b8c2d..245feab 100644 --- a/evil-vars.el +++ b/evil-vars.el @@ -140,12 +140,14 @@ which causes the parenthesis to be highlighted." backward-word beginning-of-buffer beginning-of-defun + c-beginning-of-defun beginning-of-line beginning-of-visual-line digit-argument down-list end-of-buffer end-of-defun + c-end-of-defun end-of-line end-of-visual-line exchange-point-and-mark -- 1.7.6.msysgit.0.46.ga03c