Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the last letter in the word "SlickEdit":
How many LETTERS are in the following? "a1b2c3":
Which number is missing?  "12345689":

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: sjeeva
« on: August 24, 2006, 04:09:18 PM »

If you are person who is caught between the richness of slickedit and the flexibility of VIM don’t despair.

The following SlickEdit script opens the current file at the current line in gvim editor. I use VIM client/server model ("--servername SRC --remote-silent “) to avoid multiple editor.

_command goto_vim() name_info(','VSARG2_EDITORCTL|VSARG2_READ_ONLY|VSARG2_ICON|VSARG2_REQUIRES_MDI_EDITORCTL|VSARG2_MACRO|VSARG2_MARK|VSARG2_REQUIRES_EDITORCTL)
{
   external_cmd ( "gvim", "--servername SRC --remote-silent +:" :+ p_line :+ " \"" :+ p_buf_name :+ \" , 0, 0 )
   message("Launching " :+ p_buf_name :+ " in VIM...")
}

I love SlickEdit with VIM emulation as an IDE and minor editings and however VIM very nice complex editing features.

Thanks,
Jeeva