Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defx screenshots #18

Open
Shougo opened this issue Sep 18, 2018 · 65 comments
Open

Defx screenshots #18

Shougo opened this issue Sep 18, 2018 · 65 comments

Comments

@Shougo
Copy link
Owner

Shougo commented Sep 18, 2018

I think defx.nvim needs screenshot in README.

If you have good screenshots for defx.nvim README, can you add it in this issue?

@Shougo
Copy link
Owner Author

Shougo commented Sep 18, 2018

screenshot_2018-09-18_23-57-45

defx.nvim supports multi root feature.

@mhartington
Copy link

Defx -split=vertical screenshot

screen shot 2018-09-19 at 9 17 05 pm

@wsdjeg
Copy link

wsdjeg commented Sep 20, 2018

@mhartington looks nice, the spell option is enabled?

@mhartington
Copy link

@wsdjeg yes, I have it globally set, I have not disabled it for a Defx buffer yet.

Here's a new screenshot with it disabled.

screen shot 2018-09-20 at 10 03 15 am

@Shougo
Copy link
Owner Author

Shougo commented Sep 20, 2018

I will add it later.

@fab6
Copy link

fab6 commented Sep 23, 2018

defx_vim_180923

@takkii
Copy link

takkii commented Nov 17, 2018

defx_zinbeijett_foldertree

Defxをいつも使っています。

neovim-qtを使用しています。

カラースキーマは、tenderです。

画像は、zinbeijettのフォルダ内です。

スクリーンショットを公開します。

@Shougo
Copy link
Owner Author

Shougo commented Nov 18, 2018

Updated.

@kutsan
Copy link

kutsan commented Nov 18, 2018

This's mine for now.

image

@Shougo
Copy link
Owner Author

Shougo commented Nov 18, 2018

Updated.

@oblitum
Copy link

oblitum commented Nov 22, 2018

@kutsan did you patch it to replace directory icons? If so, why use it as screenshot of the project since there's no option for it?

@kutsan
Copy link

kutsan commented Nov 22, 2018

@oblitum

did you patch it to replace directory icons?

Yes.

If so, why use it as screenshot of the project since there's no option for it?

I'm sure there will be. So, that means defx is capable of that functionality.

@kristijanhusak
Copy link
Contributor

@oblitum @kutsan I created a defx column plugin for icons, very similar to vim-devicons. Here's the link https://github.com/kristijanhusak/defx-icons

@oblitum
Copy link

oblitum commented Nov 22, 2018

@kristijanhusak cool :)

@mhartington
Copy link

@kristijanhusak made a similar one as well, but like how you're is more minimal and includes highlighting. Good stuff!

https://github.com/mhartington/defx-devicons

@ggsalas
Copy link

ggsalas commented Jan 13, 2019

screen shot 2019-01-12 at 22 00 34

defx.nvim on kitty terminal on macos

@Shougo
Copy link
Owner Author

Shougo commented Jan 14, 2019

I have added it.

@wsdjeg
Copy link

wsdjeg commented Feb 12, 2019

Defx support in spacevim SpaceVim/SpaceVim#2282

defx

@Shougo
Copy link
Owner Author

Shougo commented Feb 12, 2019

Updated.

@wsdjeg
Copy link

wsdjeg commented Mar 10, 2019

defx-icons

@Shougo
Copy link
Owner Author

Shougo commented Mar 10, 2019

I have updated screenshot.

@phcerdan
Copy link

image

@Shougo
Copy link
Owner Author

Shougo commented Mar 30, 2019

Updated.

@zgpio
Copy link
Contributor

zgpio commented Apr 14, 2019

variable column feature, ref #122
image

@Shougo
Copy link
Owner Author

Shougo commented Apr 14, 2019

Updated.

@glepnir
Copy link

glepnir commented Apr 17, 2019

defx doaction call denite file
defx

@Shougo
Copy link
Owner Author

Shougo commented Apr 17, 2019

Updated.

@jerrywang1981
Copy link

I knew this was not related to this topic, I have been trying to configure it, but for now when I pressed 'enter' to open a file, it just took the buffer of defx, each time I had to ctrl+w o to close other windows, is there a way to open/preview the file in the right window? so I can keep the defx in left stayed open always.

@glepnir
Copy link

glepnir commented Apr 24, 2019

@jerrywang1981 you can see my defx config.maybe can help you

@yuk1h1ra
Copy link

Screenshot_20190621_111403

-split=floating, hi NormalFloat guibg=#484848, colorscheme=tender

@Shougo
Copy link
Owner Author

Shougo commented Jun 22, 2019

Updated

@kutsan
Copy link

kutsan commented Jun 23, 2019

You can delete my previous screenshot.

screenshot

@Shougo
Copy link
Owner Author

Shougo commented Jun 24, 2019

OK. I have replaced.

@snide
Copy link

snide commented Aug 19, 2019

Thank you for this WONDERFUL plugin. Here's my custom setup mostly using Horizon color schemes.

image

@Shougo
Copy link
Owner Author

Shougo commented Aug 19, 2019

Updated

@PLDaily
Copy link

PLDaily commented May 20, 2020

image

@Shougo
Copy link
Owner Author

Shougo commented May 20, 2020

Updated.

@glepnir
Copy link

glepnir commented Jun 28, 2020

test

@Shougo
Copy link
Owner Author

Shougo commented Jun 28, 2020

Updated.

@Freed-Wu
Copy link

Freed-Wu commented Sep 4, 2020

Screenshot from 2020-09-04 11-29-51

the symbol '|', '¦', '┆', '┊' dependent on https://github.com/Yggdroot/indentLine.

Screenshot from 2020-09-04 11-27-58

and anyone can use https://github.com/skywind3000/vim-quickui to write a menu for defx to explore their directories which often accesses.(e.g. $HOME, $HOME/Desktop)

@Shougo
Copy link
Owner Author

Shougo commented Sep 4, 2020

Updated.

@zoumi
Copy link

zoumi commented Sep 18, 2020

defx

@Shougo
Copy link
Owner Author

Shougo commented Sep 18, 2020

It prints the error messages...

@vegawong
Copy link

Thank you for this WONDERFUL plugin. Here's my custom setup mostly using Horizon color schemes.

image

This screenshot is amazing and beautiful. I like it very much. Can you share your vimrc file?

@WarlockFish
Copy link

test

how to open a img?

@Shougo
Copy link
Owner Author

Shougo commented Nov 26, 2020

Please read the documentation.

preview							*defx-action-preview*
		Preview the file.  Close the preview window if it is already
		exists.
		Note: "ueberzug" and "bash" commands are needed to preview
		image files.
		https://pypi.org/project/ueberzug/
		Note: The image preview is for X11 only.

@guessable
Copy link

screenshots

@Shougo
Copy link
Owner Author

Shougo commented Dec 5, 2020

Thanks. But already many screenshots are exists in README...

@Shougo
Copy link
Owner Author

Shougo commented Dec 5, 2020

I have added the link instead.

@thienpow
Copy link

This's mine for now.

image

can share your configuration? love the icon and dark theme you have there.

@thienpow
Copy link

You can delete my previous screenshot.

screenshot

@kutsan wow! love this! can pls share the config file?

@kutsan

This comment has been minimized.

@Buckmeister
Copy link

Screenshot of neovim nightly with defx opened in a centered and border decorated floating window running in kitty.

Repo: https://github.com/Buckmeister/nvim-nightly

Screenshot

@CaryWill
Copy link

CaryWill commented Jun 12, 2022

image

defx search node and auto open parent nodes until root dir @Shougo

@zouzonghua
Copy link

Screen Shot 2022-07-06 at 09 31 18

@WisdomCui
Copy link

Hello,I want to achieve the floating window preview effect in macVim, but it doesn't seem to work?
nnoremap <buffer><expr> P defx#do_action('previewpopup')

@Shougo
Copy link
Owner Author

Shougo commented Apr 25, 2023

@snailtree008 Please create new issue for it with your minimal config. I will try it later.

@Shougo
Copy link
Owner Author

Shougo commented Apr 25, 2023

@snailtree008 I get it. Please read the documentation.

						*preview-popup*
Alternatively, a popup window can be used by setting the 'previewpopup'
option.  When set, it overrules the 'previewwindow' and 'previewheight'
settings.  The option is a comma-separated list of values:
	height		maximum height of the popup
	width		maximum width of the popup
	highlight	highlight group of the popup (default is Pmenu)
Example: >
	:set previewpopup=height:10,width:60

And this.

nnoremap <buffer><expr> P       defx#do_action('preview')

@WisdomCui
Copy link

@snailtree008 I get it. Please read the documentation.

						*preview-popup*
Alternatively, a popup window can be used by setting the 'previewpopup'
option.  When set, it overrules the 'previewwindow' and 'previewheight'
settings.  The option is a comma-separated list of values:
	height		maximum height of the popup
	width		maximum width of the popup
	highlight	highlight group of the popup (default is Pmenu)
Example: >
	:set previewpopup=height:10,width:60

And this.

nnoremap <buffer><expr> P       defx#do_action('preview')

Thanks,I found the answer to this question from a Japanese friend.

> " Defx config
> nnoremap <silent>ff :<C-u>Defx -listed -columns=mark:indent:git:icons:filename:type<CR>
> 
> call defx#custom#option('_', {
>       \ 'split': 'floating',
>       \ 'vertical_preview': v:true,
>       \ 'floating_preview': v:true,
>       \ 'preview_width': float2nr(&columns * g:floating_win_width_percent / 2),
>       \ 'preview_height': float2nr(&lines * g:floating_win_height_percent),
>       \ 'wincol': float2nr((&columns - (&columns * g:floating_win_width_percent)) / 2),
>       \ 'winrow': float2nr((&lines - (&lines * g:floating_win_height_percent)) / 2),
>       \ 'winwidth': float2nr(&columns * g:floating_win_width_percent / 2),
>       \ 'winheight': float2nr(&lines * g:floating_win_height_percent),
>       \ })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests