4 ms·
I'll be that guy ;) In vim/unix you can run this command (keybinding not included but simple enough): :'<,'>%!awk 'BEGIN {ORS=" "} {print "\" $1 "\"," } As
by flukus 7y ago
I'll be that guy ;)
In vim/unix you can run this command (keybinding not included but simple enough):
:'<,'>%!awk 'BEGIN {ORS=" "} {print "\" $1 "\"," }
As for a unified computing environment, it is unified with the OS and not a world unto itself, there is no need to have one way of doing things within the editor and another if you want to script something. Both work just as well with version control, plus it gives you the flexibility to change text editor, like from vim to kak.
Speaking of kak, multiple cursors > any of these scripted options.
- zipperhead 7y agoYes, vim has a multiple cursor plugin that is useful for things like this: https://github.com/terryma/vim-multiple-cursors https://github.com/terryma/vim-multiple-cursors. It's not as good as sublime in my experience, and I haven't used kakoune, but it's very serviceable.
- mattrp 7y agoJust put the following in your bashrc and it will simplify everything: Alias emacs=‘vim’ :)