[gnome-builder] vim: add cc to replace a line in normal mode
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: add cc to replace a line in normal mode
- Date: Sun, 11 Oct 2015 10:23:19 +0000 (UTC)
commit c210c39cf18504b504f34fd733c0bdea022b2c6d
Author: Sebastien Lafargue <slafargue gnome org>
Date: Sun Oct 11 12:21:34 2015 +0200
vim: add cc to replace a line in normal mode
data/keybindings/vim.css | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index d8e321c..6074cad 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -542,6 +542,14 @@
"delete-selection" ()
"clear-modifier" () };
+ bind "c" { "begin-macro" ()
+ "movement" (first-char, 0, 1, 0)
+ "movement" (last-char, 1, 0, 0)
+ "copy-clipboard" ()
+ "delete-selection" ()
+ "auto-indent" ()
+ "set-mode" ("vim-insert", permanent) };
+
bind "<shift>f" { "begin-macro" ()
"capture-modifier" ()
"set-mode" ("vim-insert", permanent)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]