summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-02-03 13:49:33 +0000
committerMaxime Coste <mawww@kakoune.org>2017-02-03 13:49:33 +0000
commitf500af9023d68f593000f9784f48927f3efdb6a8 (patch)
tree263e916612910e8d48385e74a3b06f3b8fab5a7c /src
parentfc05b13fe9c2e87316a133f5db0416c44a833cca (diff)
parent01eceebf759cad6c544396bafd301a215380612a (diff)
Merge remote-tracking branch 'ekie/move_buffer_end'
Diffstat (limited to 'src')
-rw-r--r--src/main.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index 5e84812d..7aba8f26 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -819,6 +819,11 @@ int main(int argc, char* argv[])
{
if (not name.empty() and name[0_byte] == '+')
{
+ if (name == "+" or name == "+:")
+ {
+ init_cmds = init_cmds + "; exec gj";
+ continue;
+ }
auto colon = find(name, ':');
if (auto line = str_to_int_ifp({name.begin()+1, colon}))
{