From ae93e5b24be25474f65013bfed12087d6e5140d6 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Thu, 16 Jun 2022 20:34:18 -0700 Subject: [PATCH] added further notation about ctags --- how_to_use_ctags.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/how_to_use_ctags.txt b/how_to_use_ctags.txt index 7194e055..5933fbef 100644 --- a/how_to_use_ctags.txt +++ b/how_to_use_ctags.txt @@ -9,3 +9,9 @@ ctags Which will create a txt file called tags This will be referenced when we need to use it in the project. From our text editor we can then invoke CTRL+} or CTRL+] to invoke ctags, which will then take us to the file and the line where that variable was first created (extremely useful!). + +We also can to the same in nvim by: + +:ta some_variable + +And it will do the same, searching for the file and line where some_variable was defined.