Shiny cherrypicks from teutat3s branch #231
|
@ -5,8 +5,8 @@
|
||||||
let g:clipboard = {
|
let g:clipboard = {
|
||||||
\ 'name': 'wayland-strip-carriage',
|
\ 'name': 'wayland-strip-carriage',
|
||||||
\ 'copy': {
|
\ 'copy': {
|
||||||
\ '+': 'wl-copy --foreground --type text/plain',
|
\ '+': 'wl-copy --foreground --type text/plain --trim-newline',
|
||||||
\ '*': 'wl-copy --foreground --type text/plain --primary',
|
\ '*': 'wl-copy --foreground --type text/plain --primary --trim-newline',
|
||||||
|
|||||||
\ },
|
\ },
|
||||||
\ 'paste': {
|
\ 'paste': {
|
||||||
\ '+': {-> systemlist('wl-paste --no-newline | tr -d "\r"')},
|
\ '+': {-> systemlist('wl-paste --no-newline | tr -d "\r"')},
|
||||||
|
|
Loading…
Reference in a new issue
Does this mean that a
<leader>yy
will yank the line without newline? Because I'd vote against that.I don't use
<leader>yy
so no clue 🤷My use case is using
shift+v
to select a whole line in neovim, then<leader>y
to copy the line and pasting that line to a terminal. I don't want the final newline that gets added without this change. Maybe there's a compromise possible?