anaselli / defx-icons

Filetype icons for https://github.com/Shougo/defx.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Defx icons

Custom implementation of vim-devicons for defx.nvim.

screenshot from 2018-11-22 23-39-41

Usage

:Defx -columns=icons:filename:type

This column is a replacement for mark column. It will properly highlight selected files.

Configuration

This is the default configuration:

let g:defx_icons_enable_syntax_highlight = 1
let g:defx_icons_column_length = 2
let g:defx_icons_directory_icon = ''
let g:defx_icons_mark_icon = '*'
let g:defx_icons_parent_icon = ''
let g:defx_icons_default_icon = ''
let g:defx_icons_directory_symlink_icon = ''

Note: Syntax highlighting can cause some performance issues in defx window. Just disable it with the let g:defx_icons_enable_syntax_highlight = 0

Thanks to

About

Filetype icons for https://github.com/Shougo/defx.nvim

License:MIT License


Languages

Language:Vim Script 71.4%Language:Python 28.6%