GithubHelp home page GithubHelp logo

Comments (8)

Shougo avatar Shougo commented on September 28, 2024

Please update unite.vim and unite-tag. This problem is fixed in latest version.

from unite-tag.

nakal avatar nakal commented on September 28, 2024

Hi again. I tested your change and it seems it is still behaving unusual. When you press C-] as you suggested in your docs, vim goes back to first line of a file buffer before changing to an older file in the jumplist.

from unite-tag.

Shougo avatar Shougo commented on September 28, 2024

Hi again. I tested your change and it seems it is still behaving unusual. When you press C-] as you suggested in your docs, vim goes back to first line of a file buffer before changing to an older file in the jumplist.

The "file buffer" is unite buffer? I cannot understand it.
You should upload screenshots.

from unite-tag.

nakal avatar nakal commented on September 28, 2024

Step 1) I am in a buffer and will press C-]:
step1
Step 2) After C-] the result is correct, it jumped to the other buffer where the tag has been found. Now want to press C-o to go back to step 1.
step2
Step 3) After pressing C-o I am in a state I have never been before. But I still will press C-o once again to see what happens.
step3
Step 4) After pressing C-o second time, vim takes me back to Step 1 where I already should be after pressing C-o one time.
step4

I hope this is explained better now (sorry for the trouble).

from unite-tag.

Shougo avatar Shougo commented on September 28, 2024

I tested it, but I can jump to previous position.
Please create sample project for tags generation and minimal .vimrc.
I will test it.

from unite-tag.

nakal avatar nakal commented on September 28, 2024

You can take the project above (nakal/iiview) and use "exctags -Rb" for generating ctags index file. Then start gvim in project top directory with

gvim +762 xsupport.c

This should take you to step 1 above. So you don't see step 3 which is superfluous?

Here is mit ~/.vim/vimrc (which I reduced to minimal plugin configuration):

if has('vim_starting')
   set nocompatible               " Be iMproved
   set runtimepath+=~/.vim/bundle/neobundle.vim/
   let mapleader = '\'
endif

call neobundle#rc(expand('~/.vim/bundle/'))
NeoBundleFetch 'Shougo/neobundle.vim'

NeoBundle 'Shougo/unite.vim'
call unite#filters#matcher_default#use(['matcher_fuzzy'])
call unite#filters#sorter_default#use(['sorter_rank'])
call unite#custom#source('line,outline','matchers','matcher_fuzzy')
nnoremap <F2> :Unite buffer<cr>
nnoremap <F3> :Unite -start-insert file_rec<cr>

NeoBundle 'tsukkee/unite-tag'
nnoremap <F4> :Unite -start-insert tag<cr>
autocmd BufEnter *
\   if empty(&buftype)
\|      nnoremap <buffer> <C-]> :<C-u>UniteWithCursorWord -immediately tag<CR>
\|      nnoremap <buffer> g] :<C-u>UniteWithCursorWord -immediately tag<CR>
\|  endif

When you still don't see step 3, I have to give up, because I can reproduce it on every PC I have.

from unite-tag.

Shougo avatar Shougo commented on September 28, 2024

I fixed the problem. Please update unite.vim.

from unite-tag.

nakal avatar nakal commented on September 28, 2024

Yes. Thank you! I just want to confirm that it works now.

from unite-tag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.