Last active
August 29, 2015 14:03
-
-
Save michaellee/d155b9b9f26dedd0d9cc to your computer and use it in GitHub Desktop.
Revisions
-
Michael Lee revised this gist
Jul 7, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,7 @@ After installing MacVim by dragging MacVim.app to the _Applications_ folder, ope Then we're going to move the _mvim_ file to `/usr/local/bin` by typing in this command from the terminal: `mv mvim /usr/local/bin/` Now whenever you're in _Terminal_ and want to open a file with _mvim_ simply type: -
Michael Lee created this gist
Jul 7, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ # Launch MacVim from the Mac OS X Terminal MacVim is a great complement to Vim for the Mac. One of the reasons why I started using MacVim was its built in support for the yank command to copy to the system's clipboard. To get a copy of MacVim, you can grab the <a href="https://github.com/b4winckler/macvim/releases" target="_blank">latest snapshot here</a>. When you download a snapshot of MacVim, you'll find a compressed file that includes MacVim.app, mvim (a command-line tool) and a README file. One of the great things about using _vim_ is that you can simply type `vim filename.md` to open a file in vim from within the terminal. The _mvim_ cli enables us to do the samething. ## Installation After installing MacVim by dragging MacVim.app to the _Applications_ folder, open up terminal and navigate to the uncompressed folder that has _mvim_. Then we're going to move the _mvim_ file to `/usr/local/bin` by typing in this command from the terminal: `mv mvim /usr/local/bin` Now whenever you're in _Terminal_ and want to open a file with _mvim_ simply type: `mvim filename.md`