Shiny cherrypicks from teutat3s branch #231

Merged
b12f merged 13 commits from main-cherrypick-from-teutat3s into main 2023-07-13 14:15:06 +00:00
Showing only changes of commit 3d2aed46ab - Show all commits

View file

@ -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',
Outdated
Review

Does this mean that a <leader>yy will yank the line without newline? Because I'd vote against that.

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?

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?
\ }, \ },
\ 'paste': { \ 'paste': {
\ '+': {-> systemlist('wl-paste --no-newline | tr -d "\r"')}, \ '+': {-> systemlist('wl-paste --no-newline | tr -d "\r"')},