Skip to content
المشاريع

حول

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 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

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.

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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…