aboutsummaryrefslogtreecommitdiff
path: root/vim/text-objects
diff options
context:
space:
mode:
Diffstat (limited to 'vim/text-objects')
-rw-r--r--vim/text-objects/braces-count-linewise.in5
-rw-r--r--vim/text-objects/braces-count-linewise.keys2
2 files changed, 7 insertions, 0 deletions
diff --git a/vim/text-objects/braces-count-linewise.in b/vim/text-objects/braces-count-linewise.in
new file mode 100644
index 0000000..069493e
--- /dev/null
+++ b/vim/text-objects/braces-count-linewise.in
@@ -0,0 +1,5 @@
+struct {
+ union {
+ int foo;
+ };
+};
diff --git a/vim/text-objects/braces-count-linewise.keys b/vim/text-objects/braces-count-linewise.keys
new file mode 100644
index 0000000..0ab2b26
--- /dev/null
+++ b/vim/text-objects/braces-count-linewise.keys
@@ -0,0 +1,2 @@
+/foo<Enter>
+d2Va}