From 749e6f9a50d5570d40c2c5f1ebc3eaceb32776da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 15 Feb 2017 08:25:23 +0100 Subject: 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. --- config.def.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'config.def.h') 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) }, -- cgit v1.2.3