9 ms·
When I am doing copy and paste, I choose emacs; when I want sane tab behaviour, I choose vim. Will spacemacs be good for me?
by chj 10y ago
When I am doing copy and paste, I choose emacs; when I want sane tab behaviour, I choose vim. Will spacemacs be good for me?
- tambourine_man 10y agoAre you aware of paste mode and clipboard/register sharing in Vim?
- chj 10y agoDo you mean `:set paste` every time you want to copy something from clipboard?
- SevereOverfl0w 10y ago`:set clipboard=unnamedplus` let's you use the Xwindow clipboard for `p` to paste. I also believe Neovim (and possibly normal vim, I'm not sure), automatically does `:set paste` and `:set nopaste` when you use the terminal paste.
- groovy2shoes 10y agoJust to add, I highly recommend people to look at `:help 'clipboard`. There are several options available, and one or another might be better depending on what you're expecting, and on which platform you're on (e.g., there are notes about using the clipboard on X vs. Windows).
- xemoka 10y agoThere is a hybrid mode that enables emacs commands (C-E, C-A, C-Y etc.) while in insert mode. Quite enjoyable, particularly when you're used to using emacs movement commands while editing text fields (thanks macOS).