Skip to content

gvol/urxvt-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog'ed http://www.jukie.net/~bart/blog/tag/urxvt

Contributing
  
  If you find any of this interesting, you may want to create a fork
  on github.  http://github.com/bartman/urxvt-scripts

Main author
  Bart Trojanowski <[email protected]>

Contributors
  Miciah Dashiel Butler Masters
  Nigel McNie
  Jonas Kramer
  Olof Johansson
  Dave O'Neill
  Hans Dieter Pearcey
  Daniel Danner
  << your name here >>

mark-yank-urls
  
  This script will cycle through URLs in the terminal and let you 
  copy them (y) or launch a browser (<enter>).

  This script is known to be working, but is likely not bug-free.

  NOTES:
    apt-get install rxvt-unicode xclip git-core
    git clone git://git.jukie.net/urxvt.git/ urxvt.git
    mkdir -p ~/.urxvt
    cp urxvt.git/mark-yank-urls ~/.urxvt

    cat >> ~/.Xdefaults <<END
URxvt.keysym.M-u: perl:mark-yank-urls:activate_mark_mode
URxvt.reverseVideo: true
URxvt.perl-lib: /home/jukie/bart/.urxvt/
URxvt.perl-ext: selection
URxvt.perl-ext: mark-yank-urls
END

mark-and-yank

  This is a general purpose block copy script.  Alt-u emulates the
  mark-yank-urls script.  Alt-y is intended to work like the GNU screen
  copy mode.

  WARNING, there are still many bugs in this script.

  NOTES:
    apt-get install rxvt-unicode xclip git-core
    git clone git://git.jukie.net/urxvt.git/ urxvt.git
    mkdir -p ~/.urxvt
    cp urxvt.git/mark-and-yank ~/.urxvt

    cat >> ~/.Xdefaults <<END
URxvt.keysym.M-y: perl:mark-and-yank:activate_mark_mode
URxvt.keysym.M-u: perl:mark-and-yank:activate_mark_url_mode
URxvt.perl-lib: /home/jukie/bart/.urxvt/
URxvt.perl-ext: mark-and-yank
URxvt.urlLauncher: firefox
END

  TODO:
    - get rid of globals, use $term->{variable}s
    - whole screen capture
    - b,e,w,W,gg,G for movement
    - merge code with improvements made to mark-yank-urls


About

planning to add rectangular selection and emacs key-bindings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published