Add %(lineno) state variable
commit30b3804c61c4db8bcba30d38b976c078451cc94c
authorJonas Fonseca <jonas.fonseca@gmail.com>
Mon, 10 Nov 2014 17:09:33 +0000 (10 12:09 -0500)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Mon, 10 Nov 2014 17:09:33 +0000 (10 12:09 -0500)
treed95e302efc60f036ce50bf5dc5c312cfe3f3ec46
parentf8588a8ae035b2cbc0199384c0baef2293bb705e
Add %(lineno) state variable

This exposes the current file line number as the variable `%(lineno)`.
The blame, blob, diff, grep and stage views updates the variable.

Fixes #304
12 files changed:
NEWS.adoc
doc/manual.adoc
doc/tigrc.5.adoc
include/tig/argv.h
src/argv.c
src/blame.c
src/blob.c
src/diff.c
src/grep.c
src/prompt.c
test/diff/editor-test
test/grep/editor-test