[gnome-builder] vim: follow up to fix previous patches
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: follow up to fix previous patches
- Date: Wed, 14 Oct 2015 17:15:12 +0000 (UTC)
commit 74c825f03441c80e3e0ac7a31e188f19fecfe670
Author: Sebastien Lafargue <slafargue gnome org>
Date: Wed Oct 14 19:10:41 2015 +0200
vim: follow up to fix previous patches
this is what you get when doing patches before coffee time
data/keybindings/vim.css | 14 +++++++-------
libide/ide-source-view-movements.c | 2 +-
libide/ide-source-view.c | 13 -------------
3 files changed, 8 insertions(+), 21 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 7d51fc9..a20c784 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -298,7 +298,7 @@
bind "<shift>t" { "save-command" ()
"capture-modifier" ()
"save-search-char" ()
- "movement" (previous-match-modifier, 0, 1, 1)
+ "movement" (previous-match-modifier, 0, 0, 1)
"clear-modifier" () };
bind "comma" { "movement" (previous-match-search-char, 0, 0, 1)
"clear-count" () };
@@ -622,7 +622,7 @@
"capture-modifier" ()
"save-search-char" ()
"set-mode" ("vim-insert", permanent)
- "movement" (previous-match-modifier, 1, 0, 1)
+ "movement" (previous-match-modifier, 1, 1, 1)
"copy-clipboard" ()
"selection-theatric" (shrink)
"delete-selection" ()
@@ -633,7 +633,7 @@
"capture-modifier" ()
"save-search-char" ()
"set-mode" ("vim-insert", permanent)
- "movement" (previous-match-modifier, 1, 1, 1)
+ "movement" (previous-match-modifier, 1, 0, 1)
"copy-clipboard" ()
"selection-theatric" (shrink)
"delete-selection" ()
@@ -785,7 +785,7 @@
"save-command" ()
"capture-modifier" ()
"save-search-char" ()
- "movement" (previous-match-modifier, 1, 0, 1)
+ "movement" (previous-match-modifier, 1, 1, 1)
"copy-clipboard" ()
"selection-theatric" (shrink)
"delete-selection" ()
@@ -795,7 +795,7 @@
"save-command" ()
"capture-modifier" ()
"save-search-char" ()
- "movement" (previous-match-modifier, 1, 1, 1)
+ "movement" (previous-match-modifier, 1, 0, 1)
"copy-clipboard" ()
"selection-theatric" (shrink)
"delete-selection" ()
@@ -1341,12 +1341,12 @@
bind "<shift>f" { "save-command" ()
"capture-modifier" ()
"save-search-char" ()
- "movement" (previous-match-modifier, 1, 0, 1)
+ "movement" (previous-match-modifier, 1, 1, 1)
"clear-modifier" () };
bind "<shift>t" { "save-command" ()
"capture-modifier" ()
"save-search-char" ()
- "movement" (previous-match-modifier, 1, 1, 1)
+ "movement" (previous-match-modifier, 1, 0, 1)
"clear-modifier" () };
bind "comma" { "movement" (previous-match-search-char, 1, 0, 1)
"clear-count" () };
diff --git a/libide/ide-source-view-movements.c b/libide/ide-source-view-movements.c
index f0e60ca..e8bc332 100644
--- a/libide/ide-source-view-movements.c
+++ b/libide/ide-source-view-movements.c
@@ -1266,7 +1266,7 @@ ide_source_view_movement_match_search_char (Movement *mv, gboolean is_next_direc
is_forward = (mv->command == 'f' || mv->command == 't');
is_till = (mv->command == 't' || mv->command == 'T');
- mode_name = _ide_source_view_get_mode_name (mv->self);
+ mode_name = ide_source_view_get_mode_name (mv->self);
is_inclusive_mode = (g_str_has_prefix (mode_name, "vim-visual") ||
g_str_has_prefix (mode_name, "vim-normal-c") ||
g_str_has_prefix (mode_name, "vim-normal-d"));
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index ede08fc..8638482 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -6581,19 +6581,6 @@ ide_source_view_get_mode_display_name (IdeSourceView *self)
return priv->display_name;
}
-const gchar *
-_ide_source_view_get_mode_name (IdeSourceView *self)
-{
- IdeSourceViewPrivate *priv = ide_source_view_get_instance_private (self);
-
- g_return_val_if_fail (IDE_IS_SOURCE_VIEW (self), NULL);
-
- if (priv->mode != NULL)
- return ide_source_view_mode_get_name (priv->mode);
-
- return NULL;
-}
-
gboolean
ide_source_view_get_overwrite_braces (IdeSourceView *self)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]