Git Product home page Git Product logo

Comments (4)

magiblot avatar magiblot commented on August 18, 2024 1

Okay :). The default key bindings are defined in scintilla/src/Editor.cxx. But the Home key binding is concidentally overriden in src/editwindow.cc. Apply the following change near line 132:

-   editor.WndProc(SCI_ASSIGNCMDKEY, SCK_HOME | (SCI_NORM << 16), SCI_VCHOMEWRAP);
-   editor.WndProc(SCI_ASSIGNCMDKEY, SCK_HOME | (SCI_SHIFT << 16), SCI_VCHOMEWRAPEXTEND);
+   editor.WndProc(SCI_ASSIGNCMDKEY, SCK_HOME | (SCI_NORM << 16), SCI_HOMEWRAP);
+   editor.WndProc(SCI_ASSIGNCMDKEY, SCK_HOME | (SCI_SHIFT << 16), SCI_HOMEWRAPEXTEND);

Cheers.

from turbo.

unxed avatar unxed commented on August 18, 2024 1

Thank you very much! Indeed, the configuration interface is not so important to me as the ability to customize the behavior to suit my (perhaps a little bit strange) habits. Now it has become quite good for me to use turbo instead of the tilde, and I like it!

from turbo.

magiblot avatar magiblot commented on August 18, 2024

Hey unxed,

I'm all for customization, although this is easier said than done. This issue is similar to #9: most of the work lies in integrating a configuration system and designing the interface to choose the settings. This project is a hobby, so all I can promise is: I'll do it some day. But I acknowledge that being useful and making users feel comfortable is a top priority, so getting this done would be a great accomplishment.

I am surprised, though, that your experience with text editors is so different from mine. The Home key behaviour in Turbo is the same as in:

from turbo.

unxed avatar unxed commented on August 18, 2024

Can you please suggest where to look for Home key behavior definition in the code? Hardcode will suit my personal needs for the near future :)

from turbo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.