#!/bin/bash # op: Open Project # Opens the Makefile in the current directory # and the Vim Explorer in the right window # Check if the Makefile exists if [ ! -f Makefile ]; then echo "Makefile missing" exit fi # Open Makefile in Vim and Vim Explorer # We split Vim vertically vim -O Makefile . # If you wish to split horizontally use '-o'