You can also do this from the command line or a shell script: open -a Terminal /path/to/folder (Dragging into the terminal view within the tab merely inserts the pathname on its own, as in older versions of Terminal.) In addition, Lion Terminal will open a new terminal window if you drag a folder (or pathname) onto the Terminal application icon, and you can also drag to the tab bar of an existing window to create a new tab.įinally, if you drag a folder or pathname onto a tab (in the tab bar) and the foreground process is the shell, it will automatically execute a "cd" command. Go back to the parent folder, select the relevant folder, then activate the service via the Services menu or context menu. You cannot simply have the folder open and run the service "in place". The New Terminal at Folder service will become active when you select a folder in Finder. Services appear in the Services submenu of each application menu, and within the contextual menu (Control-Click or Right-Click on a folder or pathname). You can even assign command keys to them. These Services work in all applications, not just Finder, and they operate on folders as well as absolute pathnames selected in text. There's also New Terminal Tab at Folder, which will create a tab in the frontmost Terminal window (if any, else it will create a new window). System Preferences > Keyboard > Shortcuts > ServicesĮnable New Terminal at Folder. As with most Services, these are disabled by default, so you'll need to enable this to make it appear in the Services menu. The left-hand side of the configuration file is the default config for reference.As of Mac OS X Lion 10.7, Terminal includes exactly this functionality as a Service. To apply all my configurations, copy the following codes into the Right panel of the configuration file. To open the configuration file, you can simply press cmd+. Now, if you're moving files around under some parent folder, then you can use core.clone action to quickly set another panel to the similar path and core.move files around fast. Same as, but reversed in an obvious way. Same as, but reversed in an obvious way.Ĭ (only works when you're at the right panel)Īlmost the same as, but it'll always set the left panel as the folder you're currently in.Ĭ (only works when you're at the left panel) If your current focus is on file, it'll simply set the left panel as the folder you're currently in.Ĭ (only works when you're at the left panel) It'll set the left panel to the folder you selected. So, there must be a way to create a tab to the other side of your panel quickly, maybe? Indeed! It's exactly the clone-related actions, which include four variations:Ĭ (only works when you're at the right panel) Do not panic if you suddenly want to compress some files! You can select files 3 you want to zip and then press shift+ cmd+ p, search for Compress and use enter to trigger the action:Īs you can see, Marta want you to handle your file-reorganization by utilizing its double panels feature. For example, there is a built-in Compress action in Marta, but since I didn't compress files that often, hence I do not assign a keybinding to this. When you press shift+ cmd+ p, a search bar named Search Action will pop up, and you can search any action you want to use. But don't worry, there is a very nice feature provided natively in Marta which helps you find any action in no time: that is the Search Action. You might sometimes get lost when you are working with Marta since there are so many actions can be used, and you have many keybindings to each of them. There are enormous amounts of actions provided, and all of them can be arbitrarily combined to your favorite keybindings and triggered effortlessly. The core functionality in Marta is given as action, which can be realized as commands and can be triggered with shortcuts. First, this is the basic look of your Marta window: For the full documentation, please check the official docs for reference. I'm going to briefly introduce some basic but powerful features in Marta. If you ask, " Ok, so what? You can use arrow keys moving around in Finder too!" Well, then in this case, Finder may be sufficient for your usage. Nevertheless, it's free, natively support, and most importantly, it's cute! The author of Marta Yan Zhulanow: "this cute fox stands for quick and smart, just like Marta". It's better in some ways compared to TotalFinder, but not that convenient in others. Though TotalFinder is no longer available for arm mac, Marta appeared. If you're using Finder, you'll need multiple windows and probably with mouse to achieve this, but now you can do the same thing with only one active window. The fundamental difference between TotalFinder and Finder is the multiple tabs support with double panels display, which allows you to manage files purely by keyboard.
0 Comments
Leave a Reply. |