项目
在 GitHub 查看
prichrd/netrw.nvim
关于
It's not because we use netrw that we cannot have nice things!
开发工具可以做什么
- Print file icons in the sign column
- Configure custom actions with keybinds
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文netrw.nvim
It's not because we use netrw that we cannot have nice things! This plugin adds a layer of ✨bling✨ and configuration to your favorite file explorer.
Features
- Print file icons in the sign column
- Configure custom actions with keybinds
Requirements
- Neovim >= 0.5.0
- One of the following icon provider plugin (optional):
- A patched font (optional)
Installing
Install the plugin with your preferred package manager:
lazy.nvim
{ 'prichrd/netrw.nvim', opts = {} }
vim-plug
Plug 'prichrd/netrw.nvim'
packer
use 'prichrd/netrw.nvim'
Configuration
Enable the plugin with the default configuration:
require("netrw").setup({})
Or customize the options to fit your needs:
require("netrw").setup({
-- File icons to use when `use_devicons` is false or if
-- no icon is found for the given file type.
icons = {
symlink = '',
directory = '',
file = '',
},
-- Uses mini.icon or nvim-web-devicons if true, otherwise use the file icon specified above
use_devicons = true,
mappings = {
-- Function mappings receive an object describing the node under the cursor
['p'] = function(payload) print(vim.inspect(payload)) end,
-- String mappings are executed as vim commands
['<Leader>p'] = ":echo 'hello world'<CR>",
},
})
Contributing
This project accepts contributions. Feel free to open issues for questions, feature ideas, bugs, etc.
Before submitting a PR, make sure you run make lint with stylua and luacheck installed.
探索相关项目
加载中…