G eazy instagram. When I'm using vim in a terminal, it uses the PATH I have set, and I can run programs and scripts located in my /bin folder using! For example:! Somebashscript.sh When I try this in MacVim. Path To Gvim For Mac. 2013-11-22 You will get the current path. You got the current path, now you can use the previous command to set the path to easier one.
| ' Vundle config |
| setnocompatible' be iMproved, required |
| filetypeoff' required |
| ' set the runtime path to include Vundle and initialize |
| setrtp+=~/.vim/bundle/Vundle.vim |
| callvundle#begin() |
| ' alternatively, pass a path where Vundle should install plugins |
| 'call vundle#begin('~/some/path/here') |
| ' let Vundle manage Vundle, required |
| Plugin'gmarik/Vundle.vim' |
| ' The following are examples of different formats supported. |
| ' Keep Plugin commands between vundle#begin/end. |
| ' plugin on GitHub repo |
| Plugin'tpope/vim-fugitive' |
| ' Git plugin not hosted on GitHub |
| Plugin'git://git.wincent.com/command-t.git' |
| 'From here other plugins from the original Vundle config |
| Plugin'scrooloose/nerdtree' |
| Plugin'skammer/vim-css-color' |
| Plugin'hail2u/vim-css3-syntax' |
| Plugin'groenewege/vim-less' |
| Plugin'jelera/vim-javascript-syntax' |
| Plugin'cakebaker/scss-syntax.vim' |
| Plugin'airblade/vim-gitgutter' |
| Plugin'scrooloose/syntastic' |
| ' All of your Plugins must be added before the following line |
| callvundle#end()' required |
| filetypepluginindenton' required |
| ' To ignore plugin indent changes, instead use: |
| 'filetype plugin on |
| ' |
| ' Brief help |
| ' :PluginList - lists configured plugins |
| ' :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate |
| ' :PluginSearch foo - searches for foo; append `!` to refresh local cache |
| ' :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal |
| ' |
| ' see :h vundle for more details or wiki for FAQ |
| ' Put your non-Plugin stuff after this line |
| ' End of Vundle config |
| ' General |
| setnumber' Show line numbers |
| setlinebreak' Break lines at word (requires Wrap lines) |
| setshowbreak=+++' Wrap-broken line prefix |
| settextwidth=100' Line wrap (number of cols) |
| setshowmatch' Highlight matching brace |
| setvisualbell' Use visual bell (no beeping) |
| sethlsearch' Highlight all search results |
| setsmartcase' Enable smart-case search |
| setignorecase' Always case-insensitive |
| setincsearch' Searches for strings incrementally |
| setautoindent' Auto-indent new lines |
| setexpandtab' Use spaces instead of tabs |
| setshiftwidth=2' Number of auto-indent spaces |
| setsmartindent' Enable smart-indent |
| setsmarttab' Enable smart-tabs |
| setsofttabstop=2' Number of spaces per Tab |
| ' Advanced |
| setruler' Show row and column ruler information |
| setundolevels=1000' Number of undo levels |
| setbackspace=indent,eol,start' Backspace behaviour |
| ' Generated by VimConfig.com |
| setmouse=a' activate mouse |
| ' Autoload NERDTree if no file specified |
| autocmdStdinReadPre*lets:std_in=1 |
| autocmdVimEnter*ifargc() 0&&!exists('s:std_in') NERDTree endif |
| ' Auto close NERDTree if no more files |
| autocmdbufenter*if (winnr('$') 1&&exists('b:NERDTreeType') &&b:NERDTreeType'primary') qendif |
| ' Show hidden files in NERDTree |
| let NERDTreeShowHidden=1 |
| syntaxon |
| ' enable copy to clipboard |
| setclipboard=unnamed |
| ' copy to clipboard with Ctrl-C |
| map<C-x> :!pbcopy<CR> |
| vmap<C-c> :w!pbcopy<CR><CR> |
| ' paste from clipboard with Ctrl-V |
| setpastetoggle=<F10> |
| inoremap<C-v><F10><C-r>+<F10> |
| '''''''''''''' |
| ' Git-gutter configuration |
| '''''''''''''' |
| letg:gitgutter_updatetime=750 |
| letg:syntastic_auto_loc_list=1 |
| letg:syntastic_check_on_open=1 |
| '''''''''''''' |
| ' Syntastic configuration |
| '''''''''''''' |
| setstatusline+=%#warningmsg# |
| setstatusline+=%{SyntasticStatuslineFlag()} |
| setstatusline+=%* |
| letg:syntastic_always_populate_loc_list=1 |
| letg:syntastic_auto_loc_list=1 |
| letg:syntastic_check_on_open=0 |
| letg:syntastic_check_on_wq=0 |
| ' so that syntastic uses .jshintrc files if present - http://stackoverflow.com/questions/28573553/how-can-i-make-syntastic-load-a-different-checker-based-on-existance-of-files-in |
| autocmdFileType javascript letb:syntastic_checkers=findfile('.jshintrc', '.;') !='' ? ['jshint'] : ['standard'] |
| '''''''''''''' |
| ' Custom (no plugin related) |
| '''''''''''''' |
| ' show filename |
| setstatusline+=%F |
| 1. Edit Shortcuts | |
|---|---|
| Command+Z | Undo |
| Command+Y | Redo |
| Command+X | Cut |
| Command+C | Copy |
| Shift+Command+C | Copy Visible |
| Command+V | Paste |
| Shift+Command+V | Past as New Image |
| Delete | Clear |
| Command+, | Fill with FG Color |
| Command+. | Fill with BG Color |
| Command+; | Fill with Pattern |
▲ up
| 2. View Shortcuts | |
|---|---|
| Command+E | Shrink Wrap - Reduce image window to size of image |
| F11 | Toggle Fullscreen View |
| Command+T | Show Selection |
| Shift+Command+T | Show Guides |
| Shift+Command+R | Show Rulers |
▲ up
| 3. File operations | |
|---|---|
| Command+N | New Image |
| Shift+Command+V | Create a new Image from Clipboard |
| Command+O | Open Image |
| Command+Option+O | Open as Layers |
| Command+S | Save Image |
| Shift+Command+S | Save As |
| Command+P | |
| Command+W | Close |
| Shift+Command+W | Close All |
| Command+Q | Quit |
▲ up
| 4. Layer Shortcuts | |
|---|---|
| Shift+Command+N | New Layer |
| Shift+Command+D | Duplicate Layer |
| Command+H | Anchor Layer |
| Page Up/Page Down | Select Previous/Next Layer |
| Home/End | Select Top/Bottom Layer |
▲ up
| 5. Select Shortcuts | |
|---|---|
| Command+A | Select All |
| Shift+Command+A | Select None |
| Command+I | Invert Selection |
| Shift+Command+L | Create a Floating Selection |
| Shift+O | Select by Color |
| Shift+V | Select from Path |
| Shift+Q | Toggle Quick Mask |
▲ up
| 6. Image Operations | |
|---|---|
| Command+D | Duplicate Image |
| Command+M | Merge Visible Layers |
| Option+Return | Display Image Properties |
▲ up
| 7. Selection Tools | |
|---|---|
| R | Rectangle Select |
| E | Ellipse Select |
| F | Free Select |
| U | Fuzzy Select |
| Shift+O | Select by Color |
| I | Intelligent Scissors |
▲ up
| 8. Paint Tools | |
|---|---|
| Shift+B | Bucket Fill |
| L | Blend |
| N | Pencil |
| P | Paintbrush |
| Shift+E | Eraser |
| A | Airbrush |
| K | Ink |
| C | Clone |
| H | Heal |
| Shift+U | Blur / Sharpen |
| S | Smudge |
| Shift+D | Dodge / Burn |
▲ up
| 9. Transfrom Tools | |
|---|---|
| Q | Align |
| M | Move |
| Shift+C | Crop |
| Shift+R | Rotate |
| Shift+T | Scale |
| Shift+S | Shear |
| Shift+P | Perspective |
| Shift+F | Flip |
▲ up
| 10. General | |
|---|---|
| B | Paths |
| O | Color Picker |
| Z | Zoom |
| Shift+M | Measure |
| T | Text |
| Command+B | Toolbox |
| D | Default Colors (Sets foreground to black and background to white) |
| X | Swap Colors |
▲ up
| 11. Dockable Dialogs | |
|---|---|
| Command+L | Layers |
| Shift+Command+B | Brushes |
| Shift+Command+P | Patterns |
| Command+G | Gradients |
| Command+B | Toolbox |

▲ up
| 12. Help Menu | |
|---|---|
| F1 | Help |
| Shift+F1 | Context Sensitive Help |
▲ up
| 13. PlugIn Shortcuts | |
|---|---|
| Command+F | Repeat Last PlgIn |
| Shift+Command+F | Plug In |

▲ up
| 14. Selection Shortcuts | |
|---|---|
| Command+A | Select All |
| Command+Shift+A | Select None |
| Command+I | Invert Selection |
| Command+T | Toggle Selection |
| Shift+V | Path to selection |
| Command+Shift+L | Float Selection |
▲ up