[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] scvim: allow scrolling back on the post window



Hi Peter,

go to the scvimrc-file again and remove one of the "^M"s in the lines with imap and F5 and F6 so that they look like this:

au Filetype supercollider,supercollider_help imap <buffer> <F5> ^[:call SClang_block()^Ma

au Filetype supercollider,supercollider_help imap <buffer> <F6> ^[:call SClang_send()^Ma

It works for me. You can try to influence the behaviour of the curser by changing the last letter: A for example should make him go to the end of the line. Any comand of normalmode should be allowed.

Hope that helps!

Sincerely,

Bjoern 


--- Peter O'Doherty <mail@xxxxxxxxxxxxxxxxx> schrieb am So, 8.3.2009:

> Von: Peter O'Doherty <mail@xxxxxxxxxxxxxxxxx>
> Betreff: Re: [sc-users] scvim: allow scrolling back on the post window
> An: sc-users@xxxxxxxxxxxxxxxx
> Datum: Sonntag, 8. März 2009, 9:40
> Nice solutions. I was curious about
> this too. 
> The advantage of
> let g:sclangTerm = "gnome-terminal -e" 
> is that it lets you copy text, for example error messages
> from the window, whereas with an xterm it doesn't.  
> 
> ... I have another question regarding scvim: Is there a way
> to keep it in insert mode after running code with F5/ F6.
> Here it flips back to normal mode each time and that's not
> really useful if you're doing livecoding for example. I'm
> using scvim from the main svn supercollider package.
> 
> Thanks,
> Peter
> 
> 
> > Nice tips folks, thanks! All works great.
> >
> > Dan
> >
> > 2009/3/7, Björn Kessler <kebjoern@xxxxxxxx>:
> >   
> >>  You can also change this line in your
> scvimrc:
> >>
> >>  let g:sclangTerm = "xterm -e"
> >>
> >>  either to this
> >>  let g:sclangTerm = "xterm -sb -e"
> >>
> >>  which will keep xterm as the emulator and
> give you a scrollbar that can be used with the scroll-wheel
> of your mouse.
> >>
> >>  or to this
> >>
> >>  let g:sclangTerm = "gnome-terminal -e"
> >>
> >>  which will give you the output of the
> sclang-pipe in the beautifull window of the gnome-terminal
> ;)
> >>
> >>  scvimrc is located in PREFIX/share/scvim if
> you don't have your own in your home-directory.
> >>
> >>  Sincerely,
> >>
> >>  Bjoern
> >>
> >>  --- Renick Bell <renick@xxxxxxxxx>
> schrieb am Sa, 7.3.2009:
> >>
> >>  > Von: Renick Bell <renick@xxxxxxxxx>
> >>  > Betreff: Re: [sc-users] scvim: allow
> scrolling back on the post window
> >>  > An: sc-users@xxxxxxxxxxxxxxxx
> >>  > Datum: Samstag, 7. März 2009, 14:09
> >>
> >>     
> >>> Hi, Dan.
> >>>       
> >>  >
> >>  > I'm not sure about your terminal (isn't
> it xterm?), but I
> >>  > can use
> >>  > shift+pgup to get back to the limits of
> the scrollback
> >>  > buffer. Have
> >>  > you tried that?
> >>  >
> >>  > Renick
> >>  >
> >>  > On Sat, Mar 7, 2009 at 7:47 PM, Dan
> Stowell <danstowell@xxxxxxxxx>
> >>  > wrote:
> >>  > > Hi -
> >>  > >
> >>  > > I'm using scvim and I have a small
> problem: when I get
> >>  > an error, the
> >>  > > message is usually bigger than the
> post window, but I
> >>  > don't seem to
> >>  > > have any way to scroll back up to
> see the earlier
> >>  > text.
> >>  > >
> >>  > > Is there a way to tweak scvim so
> that the post-window
> >>  > is launched in a
> >>  > > form that allows scrollback? (I'm
> using an
> >>  > ubuntu-derivative but with
> >>  > > openbox as the window manager. Not
> sure if the setup
> >>  > is all due to
> >>  > > sclangpipe_app or to my own
> general linux defaults.)
> >>  > >
> >>  > > TIA
> >>  > > Dan
> >>  > > --
> >>  > > http://www.mcld.co.uk
> >>  > >
> >>  > >
> _______________________________________________
> >>  > > sc-users mailing list
> >>  > >
> >>  > > info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> >>  > > archive: https://listarc.bham.ac.uk/marchives/sc-users/
> >>  > > search: https://listarc.bham.ac.uk/lists/sc-users/search/
> >>  > >
> >>  >
> >>  >
> >>  >
> >>  > --
> >>  > Renick Bell
> >>  > http://the3rd2nd.com
> >>  >
> >>  >
> _______________________________________________
> >>  > sc-users mailing list
> >>  >
> >>  > info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> >>  > archive: https://listarc.bham.ac.uk/marchives/sc-users/
> >>  > search: https://listarc.bham.ac.uk/lists/sc-users/search/
> >>  >
> >>
> >>
> >>
> >>
> >> 
> _______________________________________________
> >>  sc-users mailing list
> >>
> >>  info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> >>  archive: https://listarc.bham.ac.uk/marchives/sc-users/
> >>  search: https://listarc.bham.ac.uk/lists/sc-users/search/
> >>
> >>     
> >
> >
> >   
> 
> 
> _______________________________________________
> sc-users mailing list
> 
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-users/
> search: https://listarc.bham.ac.uk/lists/sc-users/search/
> 




_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/