3 ms·
Looking at the TOC, its missing cut/copy and paste, which is pretty important for any text editor
by jdhawk 9y ago
Looking at the TOC, its missing cut/copy and paste, which is pretty important for any text editor
- rstefanic 9y agoIt's true, but since vim is a bit old, copy/pasting can be a bit awkward due to having an internal clipboard with the buffer and not using the system's clipboard. I wouldn't put that in a beginner tutorial (at least the system clipboard copying/pasting).
- Xophmeister 9y agoVim has system clipboard support with the `+` and `*` registers.
- edanm 9y agoOr even better, setting "set clipboard=unnamed" in your vimrc, which just makes it to so vim's clipboad is the system clipboard.
- Analog24 9y agoI never knew about this trick, which is pretty significant if you use tmux regularly. This just made my day!
- rstefanic 9y agoRight. But what I was saying is that, I wouldn't throw that into a beginner's tutorial right away.
- deleted 9y ago[deleted]
- asicsp 9y agothey are sprinkled around cut: x,d,c,s copy: y paste: p different variations for different use cases, can be combined with movement commands, can be repeated, etc