adding functionality to use vi commands for copy and paste