Giter Club home page Giter Club logo

sublime-text-quick-file-move's Introduction

#Sublime Text 2 Quick File Move

A simple ST2 plugin to help you move or rename your files

If you want more functions, try SideBarEnhancements:

This functionality is available via the shortcut command "side_bar_move" in the SideBarEnhancements plugin.

You can put it in your User Key Bindings file like so: { "keys": ["ctrl+alt+r"], "command": "side_bar_move" }

SideBarEnhancements also supplies you with a lot of other useful things.

###Usage

Press ctrl+shift+r then enter your new file path or filename!

###Configuring

Add { "keys": ["ctrl+shift+r"], "command": "quick_file_move" } to your user keybindings file and change the keymap to whatever you prefer.

###Code

The code is available on GitHub!

Credit goes to [email protected] for making the first version for ST1.

sublime-text-quick-file-move's People

Contributors

aronj avatar bencao avatar dev-namespace avatar igm avatar wulftone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sublime-text-quick-file-move's Issues

default hotkey overrides goto_symbol_in_project command

even if alternative hotkey for quick_file_move is present in user keymap.

workaround:

  // new hotkeys for quick_file_move
  { "keys": ["ctrl+shift+r"], "command": "quick_file_move" },

  // return default command for super+shift+r
  { "keys": ["super+shift+r"], "command": "goto_symbol_in_project" }

Requires at least two (2) open tabs.

Would it be possible to please implement a fix for a situation where only one (1) tab is open (i.e., the one being moved / renamed)? The plugin works fine when there are at least two (2) open tabs. When there is only one (1) open tab, the renamed file disappears and there are no longer any open tabs.

I'm using Sublime Text 2, latest stable release, on OSX operating system (Mountain Lion).

I like this version of the plugin because it displays the entire path, which is very useful in moving / renaming.

Thanks.

Unable to Open

If I run the command, omit filename from or mistype the input and then submit it, Unable to open (input with typo here) shows up in the python console and Sublime Text creates a new buffer named after the last recognizable word in the input.

I thought I had lost my file but Sublime Text 3 just was unable to open it after moving because of the incomplete input.

Possible solution:

  • Save the filename as a variable and attach it to the input in case only the directory path is given, then make Sublime open that.

Moving from the C Drive to another doesn't work.

I'm trying to move a file from the C drive on the desktop another path.

It's not working.

Moving to the same drive works okay.

The current file is:
C:\Users\username\Desktop\powershell.ps1

To this path:
W:\Apps (Portable)\FreeCommanderXE\FavouriteToolbarTools\powershell.ps1

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.