Here is the command:
vnoremap <C-S-S> :s/\v([.!?])\s+/\1\r\r/g<CR>`<i<ESC>
The command takes a text selection and divides it into sentences separated by new lines. Why would this work in gvim and not vim?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community