Re: Vim tip (was Re: Suspend/Resume issues - Custom scripts notrunning? Mouse frozen?)

2009-03-03 Thread Bob Cox
On Tue, Mar 03, 2009 at 13:44:52 +0530, sathiya moorthy (mail2sathiyamoor...@gmail.com) wrote: > But why should we do all these handy.. > > when we have plugins already. check it out. > http://www.vim.org/scripts/script.php?script_id=365 It certainly looks interesting, but there is quite a di

Re: Vim tip (was Re: Suspend/Resume issues - Custom scripts notrunning? Mouse frozen?)

2009-03-03 Thread sathiya moorthy
But why should we do all these handy.. when we have plugins already. check it out. http://www.vim.org/scripts/script.php?script_id=365 On Mon, Mar 2, 2009 at 5:52 PM, Andrew McGlashan < andrew.mcglas...@affinityvision.com.au> wrote: > Chris Bannister wrote: > >> If you use vim for your editing,

Re: Vim tip (was Re: Suspend/Resume issues - Custom scripts notrunning? Mouse frozen?)

2009-03-02 Thread Andrew McGlashan
Chris Bannister wrote: If you use vim for your editing, put this in your .vimrc file: " automatically give executable permissions if file begins with #! and " contains '/bin/' in the path function ModeChange() if getline(1) =~ "^#!" if getline(1) =~ "/bin/" silent !chmod a+x endif