Git Product home page Git Product logo

nerdtree-iterm's Introduction

nerdtree-iterm

Introduction

iterm_menu_item is a NERDTree plugin that adds a menu item to open the selected folder in iTerm2. (i.e. open a shell window and cd to that folder)

Installation

Pathogen

Use the following commands:

cd ~/.vim/bundle
git clone https://github.com/mortonfox/nerdtree-iterm.git

Vundle

Add the following to your vimrc:

Plugin 'mortonfox/nerdtree-iterm'

Install with :PluginInstall.

Manual Installation

Copy iterm_menu_item.vim to ~/.vim/nerdtree_plugin/ (*nix) or ~/vimfiles/nerdtree_plugin (Windows).

iTerm2 3.x

nerdtree-iterm uses a piece of AppleScript code to open an iTerm session. This AppleScript code is different for iTerm2 2.x and for iTerm2 3.x.

By default, nerdtree-iterm supports iTerm2 2.x. If you are using iTerm2 3.x (or an iTerm2 2.9 nightly build), add the following to your vimrc:

let g:nerdtree_iterm_iterm_version = 3

Usage

In the NERDTree window, select the desired folder and then type m and i to open an iTerm2 session with that folder as the current directory. If the selection is on a file, this plugin will open iTerm on the enclosing folder.

nerdtree-iterm's People

Contributors

mortonfox avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gildardoperez

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.