Community
    • Login

    Incognito note

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 2 Posters 1.3k 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.
    • W1T3CW
      W1T3C
      last edited by

      I would like to suggest creating a new feature for n ++ which seems to be very useful … Let’s call it “incognito” for this post.
      Incognito is new file / tab which after close n ++ will not be saved (keyboard shortcut ctrl + shift + n).
      You ask “for what?”
      Excellent question I would say! :)
      There are hundreds of workflows examples, when You want to work with text, and don’t want to back to it.
      For example:
      You work with linux one-liner command like
      rsync -avPH -e ‘ssh -p23’ --rsync-path=“sudo rsync” --numeric-ids daily.*/var/mail/login/ root@boxX.blabla.eu:/var/mail/login/ --exclude ‘dovecot’ --exclude ‘lucene’ --dry-run
      All You want to do with this is find and replace “login” with some value and copy-paste it to putty.
      So You copy this from Your notes-file, press ctrl+n,ctrl+v,ctrl+h,<find login and replace it by something>,ctrl+a,ctrl+c
      Nowadays after done this, this note will be pre-saved after close n++.
      If somebody do this few times per day - it cause tens of useless notes waiting to be closed (without save ofc:) - which take additional time).
      So in pill:
      If You want create new note and be able to back to it- use ctrl+n
      If You want create new note but its only for one minute and You will not want to back to it - use ctrl+shift+n

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

        @w1t3c

        Create a new tab (and never close it, just add to it at the bottom, or periodically do Ctrl+a followed by Delete). “Problem” solved.


        Optionally, do it this way, start with:

        a58cf28b-4e11-4b14-940e-eb27a21c01ee-image.png

        Right-click that tab and choose Rename:

        27d4ac87-262f-45e2-a43b-6519df541b1e-image.png

        Give it a name and press OK:

        3bed0d7c-cc94-4706-ba5f-4a00f508ca65-image.png

        “Problem” solved. (Never close this tab)

        762be6bd-92b4-4a1c-9fd4-688115bff098-image.png

        W1T3CW 1 Reply Last reply Reply Quote 3
        • W1T3CW
          W1T3C @Alan Kilborn
          last edited by W1T3C

          @alan-kilborn
          Thank You for your reply.
          My issue with this is lack of fast way to nawigate to this tab.
          In my scenario is just “ctrl+shift+n”.
          In Your case I have to make a lot of ctrl+tab or ctrl+tab+mouse navigate followed by click.

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

            @w1t3c said in Incognito note:

            My issue with this is lack of fast way to nawigate to this tab.

            Move the tab named “Incognito” (from my earlier method) to the first tab in your list (via drag-n-drop with the mouse):

            2318b2e3-c8a0-4984-b4d6-6e7a8357273a-image.png

            Then, use this keycombo to quickly switch to it:

            6b5022f7-6db9-46a2-a888-2c160e798100-image.png

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

              And, of course, if you like Ctrl+Shift+n, feel free to change the default keycombo that I showed earlier, to that:

              a610c06a-5754-4cac-8f71-34df864237fd-image.png

              W1T3CW 1 Reply Last reply Reply Quote 4
              • W1T3CW
                W1T3C @Alan Kilborn
                last edited by

                @alan-kilborn One more usefull tip. But there is still one issue. If we would like to stay with this approach, than we need to guarantee , that this file will be always in same place. So tab should be locked in some way to stay as a (for example) second tab. At this moment this could be avoided by: one to much ctrl+w/close all to the left\right and so on… We would like to stick this file as 2nd tab…

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

                  @w1t3c

                  than we need to guarantee , that this file will be always in same place

                  Tabs don’t move on their own.
                  First position is best.
                  Just leave it there.

                  You seem to be trying to find problems with the “solution” I provided, which is actually quite workable.

                  I suggest you embrace the solution, because (IMO) you won’t ever see such a thing as your original idea in Notepad++.

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