Community
    • Login

    Will Np++ support cursorcolumn like Vim?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 407 Views 2 Watching
    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 SlegersJ Offline
      John Slegers
      last edited by

      Hi,

      Will NP++ support cursorcolumn function just like Vim does. Would be nice for editing yaml files to see if the tabs are correct everywhere. If you could have a vertical column to show that.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @John Slegers
        last edited by PeterJones

        @John-Slegers ,

        I recommend two things to help with this:

        • View > Show Symbols > Show Space and Tab – this will use special glyphs for the space and tab symbols, to make indentation obvious
          01612359-6a01-4f48-b9bb-55ec1970c056-image.png

        • Install the ColumnTools plugin and enable Plugins > ColumnTools > Column Highlight
          cc3569eb-fca8-4f6a-980b-508c7be2581a-image.png
          This puts the “edge column marker” at the current column (the cyan vertical line in the screenshot below)

        The results of these two together:
        c7114b0d-1920-43eb-ace2-bb728212c968-image.png

        You can assign keyboard shortcut to either, to be able to easily toggle them on and off.

        -----
        update: three things, actually. View > Show Symbol > Show Indent Guide
        3bbb3b8d-09c9-4820-8d0e-4d7a4068d697-image.png

        This puts a separate vertical line at every tabstop level; Settings > Preferences > Language > yaml > Tab Size: ____ determines how far apart the Indent Guide lines are.
        2f7ec0ff-4f47-4a16-9ae3-694f9e1ef697-image.png

        And Settings > Style Configurator > Language: Global Styles > Style: Indent guideline style and … > Style: Edge colour will allow you to change the colors for the Indent Guide and the Edge Column Marker, if you don’t like the default gray and cyan for those two.

        1 Reply Last reply Reply Quote 4

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors