Community
    • Login

    Will Np++ support cursorcolumn like Vim?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 225 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 SlegersJ
      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
        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors