Closed onebraveman closed 8 years ago
can you show me the output of :set tags?
I clone taglist using git and move it to ~/.vim_runtime/sources_non_forked
, so maybe some help is need.
My vim :set tags are:
autoindent filetype=nerdtree linebreak smartcase wildmenu
autoread nofoldenable matchtime=2 smartindent winfixwidth
background=dark helplang=en nomodifiable smarttab nowrap
bufhidden=hide hidden nomodified noswapfile nowrapscan
nobuflisted history=500 mouse=a syntax=nerdtree nowritebackup
buftype=nofile hlsearch ruler tabstop=4 t_Sb=^[[4%dm
cmdheight=2 ignorecase scroll=22 textwidth=500 t_Sf=^[[3%dm
copyindent incsearch scrolloff=7 timeoutlen=500 t_vb=
cscopetag langmenu=en shiftwidth=4 ttyfast
cscopeverbose laststatus=2 showmatch ttymouse=xterm2
cursorline lazyredraw showtabline=2 viminfo='20,"50
backspace=eol,start,indent
cscopeprg=/usr/bin/cscope
fileencodings=ucs-bom,utf-8,latin1
fileformats=unix,dos,mac
grepprg=/bin/grep -nH
guicursor=n-v-c:block,o:hor50,i-ci:hor15,r-cr:hor30,sm:block,a:blinkon0
isfname=@,48-57,/,.,-,_,+,,,#,$,%,~,=,:
runtimepath=~/.vim_runtime/sources_non_forked/ack.vim,~/.vim_runtime/sources_non_forked/ag.vim,~/.vim_runtime/so
urces_non_forked/bufexplorer,~/.vim_runtime/sources_non_forked/ctrlp.vim,~/.vim_runtime/sources_non_forked/goyo.vi
m,~/.vim_runtime/sources_non_forked/gruvbox,~/.vim_runtime/sources_non_forked/mayansmoke,~/.vim_runtime/sources_no
n_forked/nerdtree,~/.vim_runtime/sources_non_forked/nginx-vim,~/.vim_runtime/sources_non_forked/nginx.vim,~/.vim_r
untime/sources_non_forked/open_file_under_cursor.vim,~/.vim_runtime/sources_non_forked/snipmate-snippets,~/.vim_ru
ntime/sources_non_forked/syntastic,~/.vim_runtime/sources_non_forked/taglist.vim,~/.vim_runtime/sources_non_forked
/tlib,~/.vim_runtime/sources_non_forked/vim-addon-mw-utils,~/.vim_runtime/sources_non_forked/vim-airline,~/.vim_ru
ntime/sources_non_forked/vim-bundle-mako,~/.vim_runtime/sources_non_forked/vim-coffee-script,~/.vim_runtime/source
s_non_forked/vim-colors-solarized,~/.vim_runtime/sources_non_forked/vim-commentary,~/.vim_runtime/sources_non_fork
ed/vim-expand-region,~/.vim_runtime/sources_non_forked/vim-fugitive,~/.vim_runtime/sources_non_forked/vim-gitgutte
r,~/.vim_runtime/sources_non_forked/vim-go,~/.vim_runtime/sources_non_forked/vim-indent-object,~/.vim_runtime/sour
ces_non_forked/vim-less,~/.vim_runtime/sources_non_forked/vim-markdown,~/.vim_runtime/sources_non_forked/vim-multi
ple-cursors,~/.vim_runtime/sources_non_forked/vim-pyte,~/.vim_runtime/sources_non_forked/vim-repeat,~/.vim_runtime
/sources_non_forked/vim-snipmate,~/.vim_runtime/sources_non_forked/vim-snippets,~/.vim_runtime/sources_non_forked/
vim-surround,~/.vim_runtime/sources_non_forked/vim-zenroom2,~/.vim_runtime/sources_forked/mru,~/.vim_runtime/sourc
es_forked/peaksea,~/.vim_runtime/sources_forked/set_tabline,~/.vim_runtime/sources_forked/vim-irblack-forked,~/.vi
m_runtime/sources_forked/vim-peepopen,~/.vim_runtime/sources_forked/yankring,~/.vim_runtime/sources_forked/zencodi
ng,~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,~/.vim/after,~/.vim_runtime,~
/.vim_runtime/sources_non_forked/vim-snipmate/after,~/.vim_runtime/sources_non_forked/vim-less/after,~/.vim_runtim
e/sources_non_forked/vim-coffee-script/after
for l long time ,the taglist has not been updated,maybe you can ues tagbar instead you can have a look at https://github.com/wsdjeg/DotFiles
but i use it to make java project,
set tags?
do not throw away ?
Thanks. Maybe I have solved it. As you warn, I tried source ~/.vim_runtime/sources_non_forked/taglist.vim/plugin/taglist.vim
, taglist works. Thank you,
I just dont know how to make vim file works. If you could tell me the method, that's best.
why don't you use vundle or nuobundle to manager you vim plugins? can you chow me you vimrc?
whit the help of vundle, you just need to add this to vimrc,the plugin will be installed
Plugin 'taglist.vim'
@onebraveman I just installed tagbar (just git clone it into sources_non_forked) since taglist didn't work for me either. After that, just added a mapping like the one suggested in the readme (nmap <F8> :TagbarToggle<CR>
) and I was done.
I have no idea why taglist doesn't work, but it seems to be a bit dated as @wsdjeg mentioned.
taglist work well for me ,you can have a look at my vimrc in my dotfiles repo
I'm not so familiar with the using of vundle, and it seems that the repository use pathogen. Maybe I need to take some time to learn more about Vim. @danielarndt , My taglist works well. I just put the source in ~/.vim_runtime/sources_non_forked, and use source. Maybe you could have a try!
@onebraveman Maybe the use of source
was my problem. I'm happy with tagbar now, it does all I need, but maybe I'll give it a shot and see if I prefer one over the other.
I removed it because I don't use taglist any more and it created some trouble on some installations.
You can include it by following this guide https://github.com/amix/vimrc#how-to-include-your-own-stuff
After install shell, I find the command Tlist is not work. So I find the directory and no taglist file is found.
So, is it removed ?