aboutsummaryrefslogtreecommitdiffstats
path: root/_vim
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2023-06-13 09:25:38 +0800
committerAaron LI <aly@aaronly.me>2023-06-13 10:02:50 +0800
commit54ac3cbb7e548379f4c23e8b753b3839d0c8e2d3 (patch)
tree2e3aa9a509bfd9526d2916529818af5a85b1b3ac /_vim
parentb2a692842652f27fa06f0d6fed7a5b491b6b46e8 (diff)
downloaddotfiles-54ac3cbb7e548379f4c23e8b753b3839d0c8e2d3.tar.bz2
vim: Add 'tags' config
Diffstat (limited to '_vim')
-rw-r--r--_vim/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/_vim/vimrc b/_vim/vimrc
index 45c48bc..96dc7aa 100644
--- a/_vim/vimrc
+++ b/_vim/vimrc
@@ -300,6 +300,10 @@ inoremap <F1> <Esc>
vnoremap <leader>y "+y
noremap <leader>p "+p
+" Look in the current directory for "tags", and work up the tree
+" towards root until one is found
+set tags=./tags;/
+
" Instant grep + quickfix
" https://gist.github.com/romainl/56f0c28ef953ffc157f36cc495947ab3
function! Grep(...)