aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-02-15 08:25:23 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-02-15 08:27:59 +0100
commit749e6f9a50d5570d40c2c5f1ebc3eaceb32776da (patch)
treea6d6d0dafc4fdb4a8f5bea2e6a9c2ea72263a51d /config.def.h
parentd266238916882b4082b3ddbb71941aea5e7d20ef (diff)
downloadvis-749e6f9a50d5570d40c2c5f1ebc3eaceb32776da.tar.gz
vis-749e6f9a50d5570d40c2c5f1ebc3eaceb32776da.tar.xz
vis: remove motion and text objects related to C functions
These do not really belong into the editor core. If desired they could be implemented in Lua instead.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index 1849975..670c95c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -26,10 +26,6 @@ static const KeyBinding bindings_basic[] = {
static const KeyBinding bindings_motions[] = {
{ "|", ACTION(CURSOR_COLUMN) },
- { "]]", ACTION(CURSOR_FUNCTION_END_NEXT) },
- { "[]", ACTION(CURSOR_FUNCTION_END_PREV) },
- { "][", ACTION(CURSOR_FUNCTION_START_NEXT) },
- { "[[", ACTION(CURSOR_FUNCTION_START_PREV) },
{ "[{", ACTION(CURSOR_BLOCK_START) },
{ "]}", ACTION(CURSOR_BLOCK_END) },
{ "[(", ACTION(CURSOR_PARENTHESE_START) },
@@ -111,7 +107,6 @@ static const KeyBinding bindings_textobjects[] = {
{ "ab", ALIAS("a(") },
{ "aB", ALIAS("a{") },
{ "ae", ACTION(TEXT_OBJECT_ENTIRE_OUTER) },
- { "af", ACTION(TEXT_OBJECT_FUNCTION_OUTER) },
{ "al", ACTION(TEXT_OBJECT_LINE_OUTER) },
{ "ap", ACTION(TEXT_OBJECT_PARAGRAPH) },
{ "as", ACTION(TEXT_OBJECT_SENTENCE) },
@@ -134,7 +129,6 @@ static const KeyBinding bindings_textobjects[] = {
{ "ib", ALIAS("i(") },
{ "iB", ALIAS("i{") },
{ "ie", ACTION(TEXT_OBJECT_ENTIRE_INNER) },
- { "if", ACTION(TEXT_OBJECT_FUNCTION_INNER) },
{ "il", ACTION(TEXT_OBJECT_LINE_INNER) },
{ "ip", ACTION(TEXT_OBJECT_PARAGRAPH) },
{ "is", ACTION(TEXT_OBJECT_SENTENCE) },