bugtexinfo - GNU documentation system - Bugs: bug #24053, start with vi keys by default if...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #24053: start with vi keys by default if EDITOR matches vi?

Submitted by:  dan pritts <danpritts>
Submitted on:  Tue 12 Aug 2008 08:03:50 PM UTC  
 
Category: infoRelease: 4.12
Priority: 5 - NormalSeverity: 3 - Normal
Item Group: enhancementPrivacy: Public
Open/Closed: ClosedAssigned to: None
Status: Wont Fix

Tue 12 Aug 2008 11:18:52 PM UTC, comment #1:

Hi Dan,

Thanks for the suggestion of using --vi-keys by default, and I understand the impulse, but I confess I am really leery of trying to match $EDITOR (or $VISUAL -- and what if they conflict). This seems like a case where it's better for the user to simply do what they want (e.g., alias info="info --vi-keys") instead of trying to guess.

Best,
Karl

Karl Berry <karl>
Project Administrator
Tue 12 Aug 2008 08:03:50 PM UTC, original submission:

The one really useful thing I did find in the manual page was that there is a set of vi keybindings; i think that's great.

I'm not entirely sure this is the right thing to do, but it might be a good idea to use these keybindings by default if the string "vi" is in the EDITOR environment variable. I'd want to match /bin/vi, /usr/local/bin/vim, etc; so just look for a substring.

If you do this, it might be a good idea to have a splash screen at the beginning of the info program saying you've done so, and add a command-line option to get rid of it, overriding whatever's in EDITOR.

dan pritts <danpritts>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by danpritts (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Aug 2008 11:18:52 PM UTCkarlOpen/ClosedOpen=>Closed
      StatusNone=>Wont Fix

    Back to the top


    Powered by Savane 3.1-cleanup1