mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
fix clipboard issues with urxvt, also sync primary and clipboard
This commit is contained in:
@@ -52,7 +52,7 @@ URxvt*scrollBar: true
|
|||||||
URxvt*scrollBar_right: true
|
URxvt*scrollBar_right: true
|
||||||
|
|
||||||
! Perl extensions
|
! Perl extensions
|
||||||
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select,matcher,font-size
|
URxvt.perl-ext-common: default,selection-to-clipboard,url-select,keyboard-select,matcher,font-size
|
||||||
URxvt.url-select.launcher: xdg-open
|
URxvt.url-select.launcher: xdg-open
|
||||||
URxvt.url-select.underline: true
|
URxvt.url-select.underline: true
|
||||||
URxvt.matcher.button: 1
|
URxvt.matcher.button: 1
|
||||||
|
|||||||
7
vimrc
7
vimrc
@@ -88,12 +88,7 @@ let g:netrw_liststyle=3 " Use tree style directory listing.
|
|||||||
set background=dark
|
set background=dark
|
||||||
set path+=**
|
set path+=**
|
||||||
|
|
||||||
" Writes to the unnamed register also writes to the * and + registers. This
|
set clipboard^=unnamedplus
|
||||||
" makes it easy to interact with the system clipboard
|
|
||||||
set clipboard^=unnamed
|
|
||||||
if has ('unnamedplus')
|
|
||||||
set clipboard^=unnamedplus
|
|
||||||
endif
|
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|||||||
5
xinitrc
5
xinitrc
@@ -20,6 +20,11 @@ xrdb $HOME/.Xresources
|
|||||||
xset +fp /usr/share/fonts/local
|
xset +fp /usr/share/fonts/local
|
||||||
xset fp rehash
|
xset fp rehash
|
||||||
|
|
||||||
|
# sync primary and secondary clipboard
|
||||||
|
autocutsel -fork &
|
||||||
|
autocutsel -selection PRIMARY -fork &
|
||||||
|
|
||||||
|
|
||||||
echo $1 > ~/.xinitrc-arg
|
echo $1 > ~/.xinitrc-arg
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
|
|||||||
Reference in New Issue
Block a user