Sublime Forum

Dired plugin now available

#1

Version 1.0 of an emacs-like dired plugin is now available in Package Control and at github.com/mkleehammer/dired

Running dired allows you to choose a directory which is then displayed in a view. Files and directories can be renamed, moved, deleted, and subdirectories created. These operations can be performed on one file at a time or files can be marked first.

0 Likes

#2

Awesome! Thanks!!! I didn’t know this exists until now. :smiley:

Just five minutes of use and I am already hooked. Changed n/p to j/k.

(And I just found another older ‘Dired’ package that doesn’t seem to be in the package control. sublimetext.com/forum/viewt … f=5&t=4303)

0 Likes

#3

Hey! That is awesome! A very useful plugin indeed.

0 Likes

#4

I have been using this plugin more and more, and did a bit of customisation to suit my needs. Some of the features are borrowed from previous dired plugins for sublimetext/emacs.

It’s easier to show additional commands than to explain what I added, here is the new addition in my HELP text in normal mode:

 O/shift+o = Open file using system association

 sn = sort by name, repeat to reverse
 sm = sort by modified time, repeat to reverse
 ss = sort by size, repeat to reverse

 x/q = close/quit

And this is with slightly changed views with modified dates and file size, for example:

D:\_Geothermal\Wairakei\wai41458\run_mp_16\
                          G   M   k
25 Mar 2014 20:39:29        51,250,906 Bytes  OUTPUT_DATA2
26 Mar 2014 11:05:49        12,065,826 Bytes  INFILE
26 Mar 2014 11:02:28         3,814,147 Bytes  INCON
03 Oct 2013 12:23:02           248,537 Bytes  gwai41458_12.dat
31 Mar 2014 08:44:22           189,332 Bytes  timestepping.eps
25 Mar 2014 20:55:08            26,663 Bytes  stdout.txt
23 Jan 2014 17:07:52            12,288 Bytes  Production_runs\
28 Mar 2014 15:46:46             3,393 Bytes  check_conv_remote.py
25 Jun 2013 17:40:19             1,106 Bytes  llsubmit_t2mp.sh
02 Oct 2013 14:28:58               839 Bytes  lines_fault_and_geology
29 Mar 2014 03:24:01               703 Bytes  run_mp_123.job
31 Mar 2014 08:44:19               616 Bytes  timestepping.gpl
10 Dec 2013 13:10:15               410 Bytes  modify_wai41458ns_556_601.py
25 Mar 2014 15:09:54                93 Bytes  stderr.txt
                          G   M   k

I kind of just hacked the code, so not everything is done as nice as it can be. @mkleehammer and others, is anyone interested? Or even better if anyone has done some further improvements that I can borrow? :smile:

0 Likes

#5

Does anyone still have the code for this? I would like to use it but it has disappeared. Cheers

0 Likes

#6

 
Not sure if it’s the same, but there’s a BitBucket link in the thread mentioned in the second post.

0 Likes

#7

It is not the same compared to the one I have.

Mine looks like this

1 Like