Welcome, Guest. Please login or register.

Author Topic: Intergating program into Shell - VI editor  (Read 1996 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Mark

  • Jr. Member
  • **
  • Join Date: Apr 2002
  • Posts: 94
    • Show all replies
Re: Intergating program into Shell - VI editor
« on: June 27, 2010, 09:21:29 AM »
You can always add a shell alias to the s:Shell-Startup script that will call your editor from its real path using whatever alias you choose.

So, using the VIM: assign mentioned by squidbass for example:
Code: [Select]
Alias vi vim:vim



Or by using its full path, say it's "Work:Productivity/Vim/vim"
Code: [Select]
Alias vi "Work:Productivity/vim/vim"



Now, to edit that text file, you would simply type "vi workbench:misc/text.txt" in your shell.