Skip to content
프로젝트

소개

It's not because we use netrw that we cannot have nice things!

개발 도구

이 수치를 측정하는 방법

What you can do

  • Print file icons in the sign column
  • Configure custom actions with keybinds

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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.

image

Features

  • Print file icons in the sign column
  • Configure custom actions with keybinds

Requirements

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.

관련 프로젝트 살펴보기

불러오는 중…