From 107f0c94200658476dfd5fe536c57a57daf6eed3 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 6 Aug 2015 22:54:42 +0200 Subject: Rename insert mode change actions This was done to reflect that they concern the whole insert mode and don't only control the terminal focus. --- qml/StateHandler.qml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'qml') diff --git a/qml/StateHandler.qml b/qml/StateHandler.qml index e2cbac0..4d226c9 100644 --- a/qml/StateHandler.qml +++ b/qml/StateHandler.qml @@ -25,15 +25,15 @@ Item { state: "INSERT" function enterInsertMode() { - insertTerminalAction.trigger(); + enterInsertAction.trigger(); } states: [ State { name: "NORMAL" - PropertyChanges { target: escapeTerminalAction; enabled: false } - PropertyChanges { target: insertTerminalAction; enabled: true } + PropertyChanges { target: escapeInsertAction; enabled: false } + PropertyChanges { target: enterInsertAction; enabled: true } PropertyChanges { target: nextTerminalAction; enabled: true } PropertyChanges { target: heightenTerminalAction; enabled: true } PropertyChanges { target: shortenTerminalAction; enabled: true } @@ -45,8 +45,8 @@ Item { State { name: "INSERT" - PropertyChanges { target: escapeTerminalAction; enabled: true } - PropertyChanges { target: insertTerminalAction; enabled: false } + PropertyChanges { target: escapeInsertAction; enabled: true } + PropertyChanges { target: enterInsertAction; enabled: false } PropertyChanges { target: nextTerminalAction; enabled: false } PropertyChanges { target: heightenTerminalAction; enabled: false } PropertyChanges { target: shortenTerminalAction; enabled: false } @@ -58,7 +58,7 @@ Item { ] Action { - id: insertTerminalAction + id: enterInsertAction shortcut: settings.insertMode onTriggered: { item.state = "INSERT"; @@ -68,7 +68,7 @@ Item { } Action { - id: escapeTerminalAction + id: escapeInsertAction shortcut: settings.normalMode onTriggered: { item.state = "NORMAL"; -- cgit v1.2.3