Adds option to pass cursor line and column to external scripts

Authored by pedroarthurp on May 27 2017, 4:46 PM.

Description

Adds option to pass cursor line and column to external scripts

This patch adds a way to pass cursor line and column to external
scripts. The most straightforward use case is to open the file in vim
for making some kind of editing that is unavailable through vi-edit
mode. To this end, one would use the following command:

konsole -e vim -c "call cursor(%l, %c)" %f

It will open vim in konsole with vim's cursor in the same line and
column of the current document view.

Differential Revision: https://phabricator.kde.org/D5644

Details

Committed
aacidMay 27 2017, 4:46 PM
Differential Revision
D5644: Adds option to pass cursor line and column to external scripts
Parents
R33:0545244f0c6a: Improve docker test
Branches
Unknown
Tags
Unknown