Wednesday, November 30, 2022

Vim keybindings for CTLR+S save and CTRL+C copy all.

Turn CTLR + S into "save"

:noremap <C-s> :w


Turn CTRL+C into "select all + copy"

:nnoremap <C-c> :%y+


Now to save just press CTLR+S then enter.  Or CTRL+C then enter to select all and copy.

//]]>