Defx

暗动力文件资源管理器的实现。「The dark powered file explorer implementation」

Github星跟踪图

About

Join the chat at https://gitter.im/Shougo/defx.nvim

Defx is a dark powered plugin for Neovim/Vim to browse files.
It replaces the deprecated vimfiler plugin.

Concept

  • Doesn't depend on denite.nvim

  • Vim8/neovim compatible(nvim-yarp is needed for Vim8)

  • Implemented by Python3

  • No double filer feature

  • Column feature

  • Source feature like denite.nvim

  • Options

  • Highlight is defined by column

  • Few commands (:Defx command only?)

  • Extended rename

  • Mark

  • Windows supporters are needed

  • Maximum features dislike other file managers

Installation

Note: defx requires Neovim 0.3.0+ or Vim8.1+ with Python3.6.1+. See
requirements if you aren't sure whether you have this.

For vim-plug

if has('nvim')
  Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' }
else
  Plug 'Shougo/defx.nvim'
  Plug 'roxma/nvim-yarp'
  Plug 'roxma/vim-hug-neovim-rpc'
endif

For dein.vim

call dein#add('Shougo/defx.nvim')
if !has('nvim')
  call dein#add('roxma/nvim-yarp')
  call dein#add('roxma/vim-hug-neovim-rpc')
endif

For manual installation(not recommended)

  1. Extract the files and put them in your Neovim or .vim directory
    (usually $XDG_CONFIG_HOME/nvim/).

Requirements

defx requires Python3.6.1+ and Neovim(0.3.0+) or Vim8.1+ with if_python3. If
:echo has("python3") returns 1, then you have python 3 support; otherwise,
see below.

You can enable Python3 interface with pip:

pip3 install --user pynvim

Please install nvim-yarp plugin for Vim8.
https://github.com/roxma/nvim-yarp

Please install vim-hug-neovim-rpc plugin for Vim8.
https://github.com/roxma/vim-hug-neovim-rpc

Note: Python3 must be enabled before updating remote plugins

If Defx was installed prior to Python support being added to Neovim,
:UpdateRemotePlugins should be executed manually.

Configuration Examples

" Todo

Screenshots

multi root feature
Defx -split=vertical
Defx -new
Defx + neovim-qt
custom icon
custom icon2
custom icon3
custom icon4
Defx on kitty
Defx in SpaceVim
Variable column
Denite action call
Defx floating window
Horizon colorscheme

主要指标

概览
名称与所有者Shougo/defx.nvim
主编程语言Python
编程语言Makefile (语言数: 4)
平台Linux, Mac, Windows
许可证MIT License
所有者活动
创建于2017-01-03 05:07:46
推送于2024-03-12 03:51:07
最后一次提交2024-03-12 12:50:59
发布数3
最新版本名称1.5 (发布于 )
第一版名称0.5 (发布于 )
用户参与
星数1.2k
关注者数27
派生数85
提交数832
已启用问题?
问题数255
打开的问题数1
拉请求数62
打开的拉请求数0
关闭的拉请求数20
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?