Shortcut to copy word under cursor

Locked
Alexander-1379
Posts: 6
Joined: 18.12.2016 12:23

Shortcut to copy word under cursor

Post by Alexander-1379 »

Is it possible to copy word under cursor in a single hotkey, without needing to select it first?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Use plugin Macros: i made simple macro-

1- command "select words at carets"
2- command "copy to clipbd"
3- command "cancel carets", ie unselect

then set to marco, some hotkey, in Macros dialog. use Macros menu.
Attachments
macr.png
User avatar
kvichans
Posts: 203
Joined: 07.10.2012 05:45

Post by kvichans »

Plugin CudaExt has commands:
- plugin: CudaExt: Copy word or [expression] or 'expression' without selection
- plugin: CudaExt: Replace word or [expression] or 'expression' with clip
I use these commands with hotkeys Alt+Left and Alt+Right.
CudaText 1.163, TC9.51x32, Win10x64(1920x1080)
Alexander-1379
Posts: 6
Joined: 18.12.2016 12:23

Post by Alexander-1379 »

Thank you for the answers.
I have Windows XP, what version of CudaText and Python should I have to have plugins working?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Cud- latest, but need to replace Py 3.5 files with Py 3.4 files
from version https://sourceforge.net/projects/cudate ... s/release/

*.dll
*.zip
DLLs dir
Alexander-1379
Posts: 6
Joined: 18.12.2016 12:23

Post by Alexander-1379 »

Thank you. It worked.
Locked