Giter Site home page Giter Site logo

carlosflorencio / vsnetrw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danprince/vsnetrw

0.0 0.0 0.0 129 KB

๐Ÿ—‚๏ธ A split file explorer for vscode

Home Page: https://marketplace.visualstudio.com/items?itemName=danprince.vsnetrw

License: The Unlicense

JavaScript 100.00%

vsnetrw's Introduction

vsnetrw

A split file explorer for vscode, inspired by netrw, vim-vinegar, dired, and vim-dirvish.

vsnetrw in action

Shortcuts

Use vsnetrw.open to open a file explorer at the parent directory of the currently active text editor. Once open the following shortcuts are available.

Default Shortcut Command Description
enter vsnetrw.openAtCursor Open the file or directory under the cursor
- vsnetrw.openParent Jump to the parent directory
~ vsnetrw.openHome Jump to the root of the current workspace folder, or user's homedir.
R vsnetrw.rename Rename the file or directory under the cursor
% vsnetrw.create Create a new file or directory (and any intermediate directories).
d vsnetrw.createDir Create a new directory (and any intermediate ones).
D vsnetrw.delete Delete the file or directory under the cursor.
ctrl+l vsnetrw.refresh Refresh the directory listing.
esc vsnetrw.close Close the active explorer.

VSCodeVim Keybindings

To make - open an explorer from any file (like vim-vinegar) add the following binding to your vim.normalModeKeyBindings.

{
  "before": ["-"],
  "commands": ["vsnetrw.open"],
  "when": "editorLangId != vsnetrw"
}

This binding can't be provided as part of the extension because native VSCode's keybindings will accidentally trigger in undesirable instances (e.g. pressing r- in normal mode).

Installation

vsnetrw can be installed from the VSCode Marketplace.

You can also download a VSIX from releases and install it by running >Extensions: Install from VSIX.

vsnetrw's People

Contributors

danprince avatar carlosflorencio avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.