Giter Club home page Giter Club logo

sublimefilebrowser's Introduction

FileBrowser for SublimeText

Ditch sidebar and browse your files in a normal tab with keyboard, like a pro!

SublimeFileBrowser Screenshot

You can also use it as a sidebar that you can put on right or left side SublimeFileBrowser Screenshot2

Installation

You can install via Sublime Package Control
Or you can clone this repo into your Sublime Text Packages folder and rename the folder to FileBrowser

Commands and Keybindings

This plugin does not add any keybindings for opening a new tab in "Browse mode". Although, the commands to do that are available in command pallete but I recommend binding F1 to open the current file folder in "Browse mode" with this peice of code (that you can add it to your Key Bindings - User file):

{ 
  "keys": ["f1"], 
  "command": "dired", 
  "args": { "immediate": true } 
}
Commands Description
Browse Mode... Asks for a directory to open in browse mode
Browse Mode: Current file or project Open the directory of current file in browse mode

Shortcuts

Command Shortcut
Help page ?
Toggle mark m
Toggle mark and move down shift+↓
Toggle mark and move up shift+↑
Toggle all marks t
Unmark all u
Mark by extension *
Rename R
Move M
Delete D
Send to trash S
Create directory cd
Create file cf
Open file/view directory o
Open file in another group enter
Preview file in another group shift+enter
Open in Finder/File Explorer \
Open in new window w
Go to parent directory backspace
Go to directory g
Quick jump to directory p
Create/Edit/Remove jump point P
Go to first ⌘+↑ or ctrl+home
Go to last ⌘+↓ or ctrl+end
Move to previous k or
Move to next j or
Jump to /
Refresh view r
Toggle hidden files h
Toggle add folder to project f
Set current folder as F
only one for the project
Quicklook for Mac space

In Rename Mode:

Command Shortcut
Apply changes enter
Discard changes escape

Selecting Files and Directories

You can select files and/or directories by marking them with m, or Shift+up/down or just use the sublime multiple cursor feature and extend your cursor to the line that has those files/directories

Rename Mode

The rename command puts the view into rename mode. The view is made editable so files can be renamed directly in the view using all of your Sublime Text tools: multiple cursors, search and replace, etc.

After you are done with editing press super+enter to commit your changes or escape to cancel them.

Open in new window

Selecting a couple of files and/or directories (either by marking them or using the noraml multiple cursor feature of sublime) and pressing w will open them in a new SublimeText window.

Customizing UI

If you don't like symbol and want to hide it (then you should use keyboard binding backspace to go to parent directory) you can do it in your user syntax specific settings file. create a file called dired.sublime-settings in you User folder and paste the code below:

{
  "dired_show_parent": false,
}

Changing color scheme

If you don't like colors used in FileBrowser just copy this file to your User folder, change colors and create a file called dired.sublime-settings in you User folder and paste the code below:

{
  "color_scheme": "Path to your custom color scheme file. e.g. Packages/User/custom_dired.hidden-tmTheme",
}

Credit

This is a fork of the awesome dired plugin by Michael Kleehammer

License

See the LICENSE file

sublimefilebrowser's People

Contributors

vovkkk avatar aziz avatar sergei-kucher avatar xavi- 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.