Community
    • Login

    want home-key to move cursor to very-start of line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 5 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • John AveryJ
      John Avery
      last edited by

      I want to be able to press the {Home} key and have the cursor move to the very-beginning of the line, INSTEAD OF to the first visible-character on the line. Is there a way to make Notepad++ change to my preferred behavior?
      Thanks. --John R Avery

      EkopalypseE Alan KilbornA 2 Replies Last reply Reply Quote 3
      • EkopalypseE
        Ekopalypse @John Avery
        last edited by

        @John-Avery

        Settings->Shortcut mapper->Scintilla commands
        SCI_HOME_DISPLAY and SCIVCHOMEWRAP might be of interest to you.

        1 Reply Last reply Reply Quote 3
        • Michael VincentM
          Michael Vincent
          last edited by

          I actually prefer the way it is when coding. Pressing HOME once brings me to the start of the text in the line, pressing it twice brings me to the very start of the line itself (column 0). I haven’t set anything special with regards to shortcuts for HOME.

          Using 7.7.1 64-bit Windows 10.

          1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @John Avery
            last edited by Alan Kilborn

            @John-Avery

            The default keycombo of Alt+Home does what you want. If you don’t like that, go into the Shortcut Mapper and remap the command tied to Alt+Home to whatever alternate you like.

            1 Reply Last reply Reply Quote 2
            • John AveryJ
              John Avery
              last edited by

              Thanks for your replies. I was looking for a configuration-setting and did not find it. It seems that I am too dense for it to have occurred to me to try Home-Home or Alt+Home. <sigh> Either of those is perfectly-fine w/ me.

              Thanks again, very much. --JRA

              Alan KilbornA 1 Reply Last reply Reply Quote 3
              • Alan KilbornA
                Alan Kilborn @John Avery
                last edited by

                @John-Avery said:

                I was looking for a configuration-setting

                Well…that’s the Shortcut Mapper on the Settings menu.

                Why adapt to something you don’t like…just go in and CHANGE IT. Nothing to be afraid of.

                Bob SteinB 1 Reply Last reply Reply Quote 4
                • Bob SteinB
                  Bob Stein @Alan Kilborn
                  last edited by Bob Stein

                  The Settings | Shortcut mapper | Scintilla commands | SCI_HOMEDISPLAY setting worked for me. A bit tedious to resolve the conflict. Soviet era UX.

                  Screenshot 2022-12-02 18.58.54.png

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors