On Thu, Aug 14, 2014 at 2:56 PM, Edward K. Ream <[email protected]> wrote:
> On Thu, Aug 14, 2014 at 11:41 AM, Steve Zatz <[email protected]> wrote:
>> As below the following files are being read but the only file with any
>> settings is myLeoSettings.leo and it consists of one @settings with @ bool
>> vim-mode = True
>
> Thanks for your persistence. I'll try a similar setup and see what happens...
I disabled leoSettings.leo and myLeoSettings.leo by changing their names.
When I tried to load ekr.leo, Leo crashed trying to load an enchant
dict. After correcting that (upped using git) ekr.leo loaded. I then
did the following:
1. disabled the normal @settings node by renaming it.
2. I created another @settings node containing just @bool vim-mode = True.
3. I restarted Leo and loaded ekr.leo.
As you say, Leo looks like a dos app :-)
4. I then clicked in the minibuffer area (no key bindings!) and
executed the print-settings command by typing "print-settings<return>"
I selected the text with the mouse, then clicked the minibuffer area
again and did copy-text. I then pasted the text here. Here is what I
got::
[D] allowclonedrags = True
[D] bodypanewraps = True
[D] bodytextfontfamily = Courier
[D] bodytextfontsize = 9
[D] bodytextfontslant = roman
[D] bodytextfontweight = normal
[D] colordirectivesinplaintext = True
[D] enabledragmessages = True
[D] headlinetextfontfamily = None
[D] headlinetextfontsize = 8
[D] headlinetextfontslant = roman
[D] headlinetextfontweight = normal
[D] ignoreblanklines = True
[D] initialhorizontalratio = 0.3
[D] initialhorizontalsecondaryratio = 0.5
[D] initialsplitorientation = vertical
[D] initialverticalratio = 0.5
[D] initialverticalsecondaryratio = 0.7
[D] initialwindowheight = 600
[D] initialwindowleft = 10
[D] initialwindowtop = 10
[D] initialwindowwidth = 800
[D] limitcount = 9
[D] logtextfontfamily = None
[D] logtextfontsize = 8
[D] logtextfontslant = roman
[D] logtextfontweight = normal
[D] outputdocchunks = True
[D] pagewidth = 132
[D] printmismatchinglines = True
[D] printtrailinglines = True
[D] searchbody = True
[D] splitbarcolor = LightSteelBlue2
[D] splitbarrelief = groove
[D] splitbarwidth = 7
[D] tabwidth = -4
[D] tangleoutputsheader = True
[D] targetlanguage = python
[D] underlineundefinedsectionnames = True
[F] vimmode = True
[D] wholeword = True
legend:
leoSettings.leo
[D] default settings
[F] loaded .leo File
[M] myLeoSettings.leo
This shows that only default settings are in effect, except that
ekr.leo sets vim-mode to True.
With these settings, (drum roll please), colon *does* work as expected.
This shows, I think, that *only* the @bool vim-mode setting is
necessary to use vim mode.
===== Conclusion
I recommend that you do the following:
1. Get rev a69585e... from git. This fixes a startup problem when no
settings exist.
2. Follow exactly the steps that I have just taken and report what
colon does in vim mode.
Thanks.
Edward
--
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/d/optout.