Keyboard shortcut to close tab in Notepad++

Keyboard Shortcut Notepad++ to close tab

Most developers using a Windows system use Notepad++ to do day-to-day text and code quick editing, and as we all know, developers are keyboard short-cut savvy! If you are one of them and wondering how to close a tab using a keyboard shortcut, here is how,

  1. Open Notepad++,
  2. Be on the tab you want to close,
  3. Press Ctrl + W, this will close the tab you are in.

Note: If the tab is not saved and you try to close it you will get a pop-up saying, Save File?, select yes or no based on what you want to do with it.

Recent Posts:

Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.