Reputation: 13
I wanted to remap <C-s>
to save a file. It works fine in normal mode. But when I'm in Insert Mode and I press Ctrl+S
, it just send the character ^S
(as a single character).
I'm using Windows 10 and Powershell to open NeoVim. Is there a way that I can map Ctrl+S to save the file in my current situation? Also should I stick to Powershell or should I switch to another terminal?
Upvotes: 0
Views: 539
Reputation: 6082
I would try remapping it to something like
inoremap <C-s> <Esc>:w<cr>a
Upvotes: 1