summaryrefslogtreecommitdiff
path: root/ted.cfg
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-13 14:37:24 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-13 14:37:24 -0400
commit77cfc38b57626e2c5a0b3549407c13acecb62d20 (patch)
tree2dd9bf9761ee6b2478ab39503995b35b72683f4e /ted.cfg
parent69789c042460e012ec3054cc2e6ceeff25e394b9 (diff)
improve tag generation (don't just look at files in the cwd)
Diffstat (limited to 'ted.cfg')
-rw-r--r--ted.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/ted.cfg b/ted.cfg
index d98f0b8..64a9230 100644
--- a/ted.cfg
+++ b/ted.cfg
@@ -28,6 +28,8 @@ build-default-command = make
tags-filename = tags
# restore previously opened files when ted is launched?
restore-session = on
+# search depth for files to generate tags for. if set to 0, tag generation/regeneration will do nothing
+tags-max-depth = 2
[keyboard]
# motion and selection
@@ -128,7 +130,7 @@ Ctrl+[ = :build-prev-error
Ctrl+] = :build-next-error
Ctrl+! = :shell
-Ctrl+t = "ctags *.*" :shell
+Ctrl+t = :generate-tags
Ctrl+d = :goto-definition
Ctrl+g = :goto-line