Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

EasyTags plugin for Vim

📅 2015-Mar-21 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

EasyTags is a fantastic plugin for Vim. It achieves two objectives that are related to each other: automatically index your source code and enhance the syntax highlighting of your source code. These two tasks are related because improving the syntax highlighting of code requires knowledge of what every word means in your code, which is what the tags provide. This adds another IDE-like feature to Vim.

Install

Usage

" Let Vim walk up directory hierarchy from CWD to root looking for tags file
set tags=tags;/
" Tell EasyTags to use the tags file found by Vim
let g:easytags_dynamic_files = 1
let g:easytags_events = ['BufWritePost']
let g:easytags_auto_highlight = 0

Tried with: Vim 7.4 and Ubuntu 14.04