repo.or.cz
/
vis.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make f, F, t, T motion work when replaying a macro
[vis.git]
/
vis-paste
blob
a934e63bd90dca5d3c48f4be133eacfc33a30849
1
#!/bin/sh
2
3
if
[ !
-z
"
$DISPLAY
"
];
then
4
exec
xsel
-ob
5
elif
type
pbpaste
>/
dev
/
null
2
>&
1
;
then
6
exec
pbpaste
7
else
8
echo
"System clipboard not supported"
1
>&
2
9
exit
1
10
fi