Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Very cool!

I also want to use Command (Super or Hyper?), which really improves keyboard shortcuts. Command + left/right = jump to beginning or end of line, Option + left/right = jump to beginning/end of word. I know you can do the same with Control + Shift, but some apps don't support it. Plus Cmd+c/x/v for copy/cut/paste works fine in terminals, I don't have to remember to "code switch" my shortcut "language". Cmd+Backspace deletes the whole line, etc etc.



I bound WindowsKey-C to run the command "xsel|xsel -b" which copies the active selection to the clipboard. It's a small step in the right direction; it's possible to get paste working as well, but that takes awareness of apps (or reconfiguring all GUI applications to use the same shortcut as the terminal).


I just swap Ctrl and Caps Lock, much better.

setkbmap us -option ctrlL:swapcaps -option compose:rwin

You can place that command at XFCE's startup settings for applications.


You missed the point; Ctrl-C is never going to be "copy" in a terminal, since that shortcut is already in use. Cmd-C can work everywhere, but GUI applications on linux do not default to that.


> You missed the point; Ctrl-C is never going to be "copy" in a terminal, since that shortcut is already in use

My `stty intr ^X` disagrees

I've made Ctrl-C do copy paste in the terminal, even in vim, with a special function for wayland:

vnoremap <C-C> <CMD>call WLCopy()<CR>




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: