Adds two commands to Notepad++ CopyAllowLine
and CutAllowLine
, which adds Visual Studio style copy/cutting to Notepad++.
CopyAllowLine - Copies the selected text if text is selected, or copies the current line if no text is selected.
CutAllowLine - Cutsthe selected text if text is selected, or cuts the current line if no text is selected.
See below for instructions on installing the plugin.
Inspired by: http://stackoverflow.com/questions/619754/how-to-mimic-visual-studios-ctrl-x-ctrl-v-functionality-in-notepad
- Download the dll for your version of Notepad++:
VisualStudioLineCopy.Unicode.dll
is for Unicode version of Notepad++VisualStudioLineCopy.Ansi.dll
is for Ansi version of Notepad++VisualStudioLineCopy.Unicode.Net.dll
is an older, .NET version of the addon (for Unicode only).
- Place the file into your Notepad++\plugins\ folder, while Notepad++ is not running
- Start Notepad++
- Open up the shortcut mapper (Settings > Shortcut Mapper...)
- Remove the existing shotcuts
- Select the "Scintilla commands" tab
- Remove the Ctrl+X and Ctrl+C shortcuts
- Double click the Ctrl+X shortcut
- Remove the Ctrl+X shortcut using delete command on the bottom left
- Repeat 1 & 2 for the Ctrl+C shortcut
- Add the plugin shortcuts (use the modify button with the command selected):
- Select the "Plugin commands" tab
- Find the CopyAllowLine and CutAllowLine plugin commands (towards the bottom)
- Add the Ctrl+C shortcut to the CopyAllowLine command
- Add the Ctrl+X shortcut to the CutAllowLine command