imxiejie / ThinkVim

Vim configuration in the 21st century
MIT License
869 stars 106 forks source link

Using the tagbar in a window like fzf or rg has #29

Closed emeentag closed 5 years ago

emeentag commented 5 years ago

What is your expect?

I am not sure this is possible but it could be awsome if we can show the tagbar or Vista in a window like we are currently using for fzf and ripgrep. i.e: + tb can show a listing off class attributes etc. What ever the result of tagbar or vista.

glepnir commented 5 years ago

fzf and denite support outline .

glepnir commented 5 years ago

Please try :Denite outline

emeentag commented 5 years ago

Hi @taigacute thx for the reply. But i did not understand how this can work. But anyway i gave it a try and saw that: [denite] conn = sqlite3.connect(db) [denite] sqlite3.OperationalError: unable to open database file [denite] Please execute :messages command.

How can i create an sqlite db? I mean where should i create.

But even if i create i think it will not cover what i thought. You know the tagbar pane on the right, i wish to have it like a window of FZF or RG, so is this :Denite outline do this?

glepnir commented 5 years ago

why you got this. i comment todoapp.vim this plugin. because the todoapp.vimneed sqlite database . please check plugins.yaml . Denite outline will got the outline in floatwindow image

emeentag commented 5 years ago

Weird it is still in my plugins.yaml

  on_cmd: [TodoAdd,TodoImport]
  on_source: denite.nvim
glepnir commented 5 years ago

comment it .

emeentag commented 5 years ago

Perfect. One thing more, when i try to update my fork with your current master, it shows me many conflicts i am solving all of them but the readme file is always appearing as a new conflict. It is super interesting.

glepnir commented 5 years ago

i found a interesting setting. used vista and fzf can do this image

emeentag commented 5 years ago

Wovvv thats better perfect. <leader> + fv works perfect. Thanks @taigacute