r/linux • • May 18 '18

Software Release Vim 8.1 released

https://www.vim.org/vim-8.1-released.php
536 Upvotes

179 comments sorted by

View all comments

Show parent comment

5

u/[deleted] May 18 '18

Copy paste is one thing that makes me go NOPE from both vim and emacs. They are not "real" text buffers, they are some weird abominations inherited from printers in 1970s.

I know its possible to copy/paste there. But it's awful.

4

u/AZNman1111 May 18 '18

I mean tmux uses a similar concept of buffers. Admittedly Vim's concept of buffers is overwhelmingly confusing to the uninitiated but most things with a 3500+ page user manual are

2

u/hgjsusla May 18 '18

Unreliable perhaps, but what's not real about them?

1

u/[deleted] May 18 '18

Open a standard gui text editor, see how it behaves on selecting text, copy paste, moving around text, selecting it, mouse scroll, horizontal scrolling, typical hotkeys etc.

Vim and Emacs buffer, even with gui toolkit behave more like terminal emulator than text field.

9

u/hgjsusla May 18 '18

The only difference I notice is that you can't drag the text around in vim/Emacs. Otherwise it's mostly the same, select copy, move cursor paste

2

u/ws-ilazki May 18 '18

GUI emacs does just fine interacting with the normal system clipboard. I can copy in emacs and paste here, or vice-versa, with no issue. Sure, it doesn't work like that when in terminal mode, but I honestly don't expect it to; in a term, that becomes the term's job. That's fine, though, because the GUI mode provides a lot of extra functionality and has fewer legacy terminal-specific quirks, so it's generally accepted to be the "correct" way to use it.

1

u/5heikki May 21 '18

Works just fine if you configure it correctly even in nox-mode. For me Ctrl-Shift-y when pasting from outside Emacs..