Giter VIP home page Giter VIP logo

mikekazakov / nimble-commander Goto Github PK

View Code? Open in Web Editor NEW
301.0 11.0 30.0 283.55 MB

Nimble Commander - dual-pane file manager for Mac

Home Page: https://magnumbytes.com/

License: GNU General Public License v3.0

C 0.17% Objective-C 2.98% Objective-C++ 45.83% C++ 50.26% Shell 0.29% Rich Text Format 0.37% Python 0.02% Dockerfile 0.08%
file-manager cpp cocoa macos dual-pane terminal-emulator vfs

nimble-commander's People

Contributors

mikekazakov avatar vladstudio 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nimble-commander's Issues

Find in files - workflow and keyboard navigation improvements

I'm in a folder with some source code. Let's assume I want to look up BX_PLATFORM_OSX and how it's used in files.

  • ALT+F7 - opens search window
  • note that the search doesn't need asterisk, if I type "on" and press ENTER it will find everything which includes the text; which is what I want almost every time, adding asterisks is annoying

image

  • ok, back to the beginning... ALT+F7 to open the window, ALT+T to focus on the find text field, type BX_PLATFORM_OSX and press ENTER
  • note that Go to file button is highlighted by default... which means I'm in a different mode. Clever, since now that I've searched I usually want to check the results.
  • I hit DOWN ARROW and I'm in the search result box. I can keep hitting ARROWS button to select the file I want

image

  • Now I can press F3 and it will open the preview of the file in a separate window.
  • But here's the coolest thing, when I hit F3 in that preview window again (F3 in that case is seach again, that would be CMD+G on Mac) the preview window remembers what I've searched for in files and searches for the same thing in previewed text. Amazing and so convenient!

image

  • I can keep opening as many preview windows as I want, quickly checking how the phrase is used across them
  • When I'm moving through the search result list with arrow keys I can press ENTER anytime and the search window will close and I'll be taken to that specific file in the file panel. Without touching the mouse! :)

So that's the basic workflow. It's very smooth and convenient. I've marked things I'd love to see in Nimble Commander with checkboxes.

"Compress Here" menu item

Currently the "Compress Here" functionality is available only in the file context menu, which is not obvious and clearly is a limitation.
It should be available in general menu too, alongside with option to set a shortcut .

Invalid terminal scrolling in 'vi'

How to reproduce:

  • Open any text file in 'vi'
  • Toggle insert mode with 'i'
  • Move cursor in the vertical middle
  • Hit 'Enter'
  • Observe artifacts

File operations graphs

Some extended information on file operations would be nice, like:

  • graphs build on speed over time

System network connections

It would be useful to have a functionality to open system-wide AFP/NFS/SMB/FTP connections without bothering to switch into Finder.

Option for sidebar with tree (list) view?

I've been looking into Rixstep's Xfile software, and a good thing to have would be an (optional!) sidebar with a tree (list) view of the volume, drop down menus for quick navigation, toggle hidden files in sidebar (default on). There could possibly be a better way to access external volumes in the sidebar, instead of going through /Volumes/:

Screenshot of Xfile sidebar:
RixstepXfileSidebar

Note: migrated here from the magnumbytes forum

TouchBar support

Implement a decent support of a touch-screen based keys bar in modern MacBookPros

F3 to launch preview in external windows

By external I mean free floating, not constrained to the main NC window. This is so I can:

  • keep browsing folders while previewing a file
  • have multiple F3 windows open at the same time (useful together with #36 so I can search for things in many files easily)

External tools integration

I think if you've added an easy way to support third party apps it would give Files a huge extra power without much work on your part. I'm thinking about something simple: you pick an app (or just a binary) and then it can get arguments based on what's going on in Files' windows. Examples of arguments you could pass (one of more):

folder path in the left/right window
file name in the left/right window
full file path in l/r window
user entered value
list of selected files
etc
This way, I could easily add tools for quick folder sync or file diff (using i.e. Beyond Compare) that I'm missing from Total Commander. I.e. something to batch rename files, thing like "Open new terminal here" (I love your terminal integration, but sometimes I just want to open a standalone window), "Create and edit new file here", etc.

Adding keyboard shortcuts for such extra tools would be a critical feature, to make them powerful.

Show & access cloaked files/directories, not only the ones with "hidden" flag?

There are some other hidden files normally not showing up, i.e. actual "invisible" files, and I think they're called "cloaked". I currently have 5 cloaked files/directories in my root directory (plus dev), next to the files/dirs with the "standard" hidden flag:

.dbfseventsd
dev
.HFS+ Private Directory Data\15
.journal
.journal_info_block
\342\220\200\342\220\200\342\220\200\342\220\200HFS+ Private Data

Does Nimble Commander have a way of showing and even accessing these files? (Cannot currently test it due to software crashing constantly on launch.)

File operations buttons row

Add a row of buttons in the bottom of a window, like in most of dual-pane file managers.
Problems:

  • what to do with hotkeys redefinition?
  • what to do with modifiers keys?
  • what to do with overlapped terminal?

make Preview more intelligent

  • ability to move focus there
  • add option to show it in a floating window
  • support selection in PDFs
  • show directory size, file owners, permissions and stuff

Copy file paths: additional format options

XtraFinder has some neat options for file path copying; examples:

Terminal: /Users/UserName/go/src/github.com/hanwen/go-fuse/all.bash
Short Terminal: ~/go/src/github.com/hanwen/go-fuse/all.bash
URL: file:///Users/UserName/go/src/github.com/hanwen/go-fuse/all.bash
Short URL: file:///~/go/src/github.com/hanwen/go-fuse/all.bash
Windows: \Users\UserName\go\src\github.com\hanwen\go-fuse\all.bash
HFS/AppleScript: VolumeName:Users:UserName:go:src:github.com:hanwen:go-fuse:all.bash

Would be great to have in NC. E.g. there could be a submenu for Copy File Paths. Default option (with shortcut ALT-CMD-C) should be the full command line path, as it is currently; the others could be options without shortcuts.

Note: migrated here from the magnumbytes forum

Add support for pointing terminal with browser to remote server (via ssh?)

ftp/sftp is fine but pointing terminal to remote server and executing shell commands on it along with files browser as it is for local workstation is actually extremely valuable.
If you also add ssh keys auto-setup and/or passwords vault, remote zip browsing with in-place zip files editing, and large files viewing - this will be amazing!

High CPU usage while selecting a text in terminal

How to repeat:

  1. Fill a several terminal scrollback screens with some texts, like multiple "defaults domains"
  2. Select some text with mouse dragging, a lot of CPU power will be consumed while mouse is moving.

FTP client + MacOSX FTP server + IPv6

There's a problem connecting to OS X FTP server by name, like macmini.local, when IPv6 is enabled on that server. This behavior is invalid.

Commands to turn off IPv6:
networksetup -setv6off Ethernet
networksetup -setv6off Wi-Fi

More options for file information in main window?

Rixstep's Xfile has a lot of options regarding file information. Possible for NC?

RixstepXfileFileInfos

Note: the following is moot, because now that the app launches again without crashing, I see that the creation date is already in the attributes window.

Before Nimble Commander got into a constant crashing fit on my system, I saw that dates for last access, change, modification are already implemented. This is standard Unix, right? But what about the creation date? With macOS you also have a fourth date, which you can read e.g. with the GetFileInfo -d /path/to/file command. But this is part of the Command Line Tools (and Xcode). And I don't know if there's a quick & easy way to read the creation date without them. There's mdls -raw -name kMDItemFSCreationDate /path/to/file, but both would be extra commands, and it would slow down browsing & directory listing. (So maybe it's just something for the file information window instead of the main window?

Note: migrated here from magnumbytes forum.

Returning terminal to active state

Currently, if logout/ctrl+d what hit in window terminal - there's no way to reanimate it, other than closing a window and opening it again.
Perhaps it will be reasonable to react on keypress by re-starting child shell task.

Keyboard control on error messages during delete operation

When attempting to, e.g., delete a file, if one fails, one gets a sheet with a message like this:

Failed to move an item to Trash
Error: The file couldn’t be saved because you don’t have permission.
Path: /Incompatible Software/GPGMail.mailbundle/
[buttons]Hide Abort Delete Permanently Retry

There is no keyboard short cut for aborting or any of the other buttons except Retry. I'd expect that at least Abort would support a keyboard shortcut like command-. or Esc.

Archiving/unarchiving: additional formats

I can't check which is/are already implemented in NC, because the software keeps crashing on me, but I assume that zip is part of the deal. Would also be great to have built-in support for tar, gz, bz2, xz (and combinations of the former like txz), 7z, and possibly rar (unarchiving only). Moreover, there could be an additional functionality when holding the ALT key, while selecting the create archive menu item, e.g. encrypt with password.

Multiple progress bars in dock icon

Currently only one ProgressBar is drawn in dock icon, for the topmost operation.
It's possible to show multiple bars there, perhaps it will be useful.

File operations logging

When moving a large chunks of data, some issues might come along, and it will be great to have an option to see any of them afterwards.

Killing running processes from PSFS

It can be useful sometimes to kill an arbitrary process by hitting F8 in the processes list (PSFS).
Maybe PSFS also can utilize root-level privileged helper to kill any process in the system (only when Admin Mode is On).

Crash when trying to open directory in opposite tab & on subsequent relaunches

(1) NC crashed when trying to open a directory in the opposite tab.

(2) When relaunching NC after such a crash, it crashes again (after asking me to reopen saved state yes/no). When I delete the saved application state folder contents, NC just crashes without giving me the reopen prompt. The prompt returns when I move a fresh .app from the distribution DMG back into /Applications, but still crashes after I make my selection. (Reopen or don't reopen doesn't matter; crashes in both cases.)

Observed with NC stable (trial version), but same "crash on relaunch" behavior with latest prerelease build.
Crash reports appended below.

Note: migrated here from the magnumbytes forum.

Archive.zip

Add 'Date Added' field and option to sort by it

In Finder there’s an option to sort files by “Date Added”. This property is different from Creation Time or Modify Time. This is especially useful for Downloads folder, because it’ll allow to sort files in correct order. If I downloaded ZIP-file and it was auto-extracted, then that file will have Creation time from the past but “Date Added” will be correct (what user expects to see).

Problems:

  1. Empty values:
  • not all files in HFS+ have this property
  • almost never any file on non HFS+ filesystem will have this property
  • no VFS will provide this property
    What to do with this discrepancy? How to sort a list of items by 'Date Added', when only half of them holds such information?
  1. Performance
  • calling MDItemCreateWithURL/MDItemCopyAttribute for every item can have a major loading times impact.
  • caching of this values can lead to outdated information.

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.