3 ms·
Clipboard seems to work well for me with this config: set clipboard+=unnamedplus More details on that here: https://neovim.io/doc/user/provider.html#provi
by dhotson 8y ago
Clipboard seems to work well for me with this config:
set clipboard+=unnamedplus
More details on that here: https://neovim.io/doc/user/provider.html#provider-clipboard https://neovim.io/doc/user/provider.html#provider-clipboard
A couple of small things I really like:
:set inccommand=nosplit
... this gives you a live view of substitutions as you type out a replacement e.g :%s/foo/bar/
:term
:vs term://bash
... these gives you a proper embedded terminal window inside vim.
Also, I think vim8 has it as well, but something people might not realise is you can use truecolor gui color schemes (not limited to 256 color) in the terminal with
:set termguicolors
It also has a guicursor option for making the cursor display as a block or bar in the terminal depending on which mode you're in: https://neovim.io/doc/user/options.html#'guicursor' https://neovim.io/doc/user/options.html#'guicursor'
Other than that, there's a more thorough list of differences here: https://neovim.io/doc/user/vim_diff.html https://neovim.io/doc/user/vim_diff.html
- syrrim 8y agoVim has termguicolors since a couple years now. Not sure about the other stuff, but Bram's been copying a lot of nvim's exclusive features it seems.
- juancampa 8y agoWhoa, I had no idea about inccommand. I just tried and it's amazing. Thanks!
- dhotson 8y agoWhen you test it out, make sure you try: :set inccommand=split It's pretty cool, but I just prefer the nosplit way since it's less obtrusive. :) It ends up being similar in use to how many modern editors have multiple cursors.