subhra74 / snowflake

Graphical SFTP client and terminal emulator with helpful utilities
GNU General Public License v3.0
2.16k stars 231 forks source link

Keyboard shortcuts for copy/paste and more #105

Open schindld opened 4 years ago

schindld commented 4 years ago

Is your feature request related to a problem? Please describe. The keyboard shortcuts are frustrating to use. De facto standards like ctrl-c and ctrl-v don't work as expected. I know that ctrl-c is tricky to map to copy in a terminal, but Cmder does it successfully depending on whether you have text selected or not.

Describe the solution you'd like Mappings I'd like to see: ctrl-c: If text is selected = copy, or if none selected = pass it along to the terminal. ctrl-v: paste ctrl-left: move cursor left a word ctrl-right: move cursor right a word ctrl-backspace: delete previous word alt-click: move cursor to click location shift-left: select character to the left shift-right: select character to the right ctrl-shift-left: select word to the left ctrl-shift-right: select word to the right shift-home: select text from cursor to the beginning of the line shift-end: select text from the cursor to the end of the line

Describe alternatives you've considered Cmder can do most of these.

Additional context n/a

subhra74 commented 4 years ago

Defacto ctrl c and ctrl v does not work for most terminal emulators. ctrl+c is usually used for sending interrupt, so most terminals provide ctrl+shift+c and ctrl+shift+v for copy paste. However it does make sense to make these key boards shortcuts configurable. So adding this to backlog

YosuCadilla commented 4 years ago

Is it possible to copy on select and paste with the right mouse button? This is used in several SSH programs and works wonderfully, so much so that I added this behavior to my desktop...