On Mon, 30 Sep 2013 12:51:08 -0500
Terry Brown <[email protected]> wrote:

> On Mon, 30 Sep 2013 10:38:36 -0700 (PDT)
> Chris George <[email protected]> wrote:
> 
> > Hi Terry,
> > 
> > I guess it does.
> > 
> > It may seem silly, as I could just type the *, but Shift-8 isn't baked into 
> > muscle memory, Ctrl-b is.
> 
> Sure, I was just confirming that was what you meant.  I haven't used
> Emacs for years and years, but I still shift-ctrl-% for find/replace
> (was that emacs? or something else?) and sometimes ctrl-x c for save?
> I don't remember, only my fingers do.
> 
> Will try and find time to suss out those bindings.

Quick stab at
https://github.com/leo-editor/snippets/blob/master/ctrl_b_i_u.py
not very tested.

Let me know if that works at all.

But... it only works with today's Leo :-} i.e. it uses the just added
c.user_dict, so either you need to pull from bzr or wait until tomorrow
and grab from http://www.greygreen.org/leo/

Cheers -Terry

> Cheers -Terry
> 
> > It boils down to being able to replicate those standard word processing 
> > shortcuts in the edit pane and having them not conflict with other key 
> > combos in Leo. Abstracting it to other markup languages would be cool as 
> > well, some people like RST, some people like Markdown. Everyone can use 
> > Ctrl-b.
> > 
> > Ckeditor looks interesting, but it isn't the buttons that matter. I rarely 
> > use the mouse for marking up text.
> > 
> > Chris
> > 
> > On Monday, September 30, 2013 10:12:01 AM UTC-7, Terry wrote:
> > >
> > > On Mon, 30 Sep 2013 09:55:04 -0700 
> > > Chris George <[email protected] <javascript:>> wrote: 
> > >
> > > > Hi Terry, 
> > > > 
> > > > Almost. That plus the ability to be writing along and hit Ctrl-b s u d 
> > > > d 
> > > e 
> > > > n l y Ctrl-b and continue on. 
> > >
> > > Which boils down to Ctrl-b inserting '*' if there's no selection? 
> > >
> > > Cheers -Terry 
> > >
> > > > I had Leo working to the extent that I could type suddenly Ctrl-Alt-b 
> > > and 
> > > > have it retroactively add the markup but it was simply too much of a 
> > > leap 
> > > > to change my work habits. Body memory takes years to develop and is not 
> > > > trivial to attempt to change. 
> > > > 
> > > > A set of keybindings that mimic the standard word processing key 
> > > bindings 
> > > > that then markup the text using RST or Markdown would be a huge step 
> > > > forward for me in using Leo. Right now I try to find time to fiddle and 
> > > > play with it, but that has been going on for almost two years now and I 
> > > > have yet to commit to any serious work in Leo. 
> > > > 
> > > > Chris 
> > > > 
> > > > 
> > > > On Mon, Sep 30, 2013 at 9:40 AM, Terry Brown 
> > > > <[email protected]<javascript:>>wrote: 
> > >
> > > > 
> > > > > On Mon, 30 Sep 2013 09:31:25 -0700 
> > > > > Chris George <[email protected] <javascript:>> wrote: 
> > > > > 
> > > > > > I need basic text formatting at the standard hot key level. ie. 
> > > Ctrl-B 
> > > > > for 
> > > > > > bold, Ctrl-I for italic etc. while in the edit window. 
> > > > > 
> > > > > [...] 
> > > > > 
> > > > > > I don't 
> > > > > > need WSIWYG, RST markup works fine as it gives me lots of output 
> > > options. 
> > > > > 
> > > > > So Leo has support for CKEditor http://ckeditor.com/demo build in 
> > > now, 
> > > > > although there are probably key binding conflicts for some of the 
> > > > > keys 
> > > > > you mention. 
> > > > > 
> > > > > But I'm wondering if wondering if what you're saying, if you're ok 
> > > > > using RST, is that you want to editing text and have 
> > > > > 
> > > > >    ...then, suddenly, the... 
> > > > > 
> > > > > highlight 'suddenly', hit Ctrl-B, and have it become 
> > > > > 
> > > > >    ...then, *suddenly*, the... 
> > > > > 
> > > > > i.e. RST markup for "bold".  Is that the goal? 
> > > > > 
> > > > > Cheers -Terry 
> > > > > 
> > > > > -- 
> > > > > You received this message because you are subscribed to the Google 
> > > Groups 
> > > > > "leo-editor" group. 
> > > > > To unsubscribe from this group and stop receiving emails from it, 
> > > > > send 
> > > an 
> > > > > email to [email protected] <javascript:>. 
> > > > > To post to this group, send email to 
> > > > > [email protected]<javascript:>. 
> > >
> > > > > Visit this group at http://groups.google.com/group/leo-editor. 
> > > > > For more options, visit https://groups.google.com/groups/opt_out. 
> > > > > 
> > > > 
> > >
> > 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to