Merge branch 'master' of gitea:FunctionalHacker/dotfiles

This commit is contained in:
Marko Korhonen 2020-12-04 10:41:21 +02:00
commit 598c5ad472
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
3 changed files with 1 additions and 19 deletions

@ -1 +1 @@
Subproject commit fe2681e32ca6d387cd9693bb704b2273b440e664
Subproject commit 831b3ddc1a49ae5b96fba6d394a07f76963196a2

View file

@ -1,18 +0,0 @@
{%@@ if profile == "Mirkwood" @@%}
" Wayland clipboard provider that strips carriage returns (GTK3 issue).
" This is needed because currently there's an issue where GTK3 applications on
" Wayland contain carriage returns at the end of the lines (this is a root
" issue that needs to be fixed).
let g:clipboard = {
\ 'name': 'wayland-strip-carriage',
\ 'copy': {
\ '+': 'wl-copy --foreground --type text/plain',
\ '*': 'wl-copy --foreground --type text/plain --primary',
\ },
\ 'paste': {
\ '+': {-> systemlist('wl-paste --no-newline | tr -d "\r"')},
\ '*': {-> systemlist('wl-paste --no-newline --primary | tr -d "\r"')},
\ },
\ 'cache_enabled': 1,
\ }
{%@@ endif @@%}