aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-10-22 14:44:46 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2018-10-22 14:44:46 -0400
commit37c05200f2a9d35477758a12ccbf69e29ad0d17e (patch)
treeb846a82c7e751bb8e613da470fffdb770094dd59 /modules/textadept/keys.lua
parentd4df6904a70b4b90f896ec8812a19368d2e04bdd (diff)
downloadtextadept-37c05200f2a9d35477758a12ccbf69e29ad0d17e.tar.gz
textadept-37c05200f2a9d35477758a12ccbf69e29ad0d17e.zip
Removed `textadept.editing.paste()` (pasted text is reindented).
It can be implemented as a separate user module instead.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 974a9017..917a3af7 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -292,7 +292,7 @@ if not OSX then keys.cy = buffer.redo end
keys[not OSX and GUI and 'cZ' or 'mZ'] = buffer.redo
keys[not OSX and 'cx' or 'mx'] = buffer.cut
keys[not OSX and 'cc' or 'mc'] = buffer.copy
-keys[not OSX and 'cv' or 'mv'] = textadept.editing.paste
+keys[not OSX and 'cv' or 'mv'] = buffer.paste
if GUI then keys[not OSX and 'cd' or 'md'] = buffer.line_duplicate end
keys.del = buffer.clear
keys[not OSX and (GUI and 'adel' or 'mdel')