home | urlview is dead, long live urlscan
This commit is contained in:
parent
f7bad4e4b1
commit
45ed668eef
4 changed files with 5 additions and 13 deletions
|
|
@ -18,7 +18,6 @@
|
|||
pkgs.tmuxPlugins.continuum
|
||||
pkgs.tmuxPlugins.battery
|
||||
pkgs.tmuxPlugins.cpu
|
||||
pkgs.tmuxPlugins.urlview
|
||||
pkgs.tmuxPlugins.vim-tmux-navigator
|
||||
{
|
||||
plugin = pkgs.tmuxPlugins.online-status;
|
||||
|
|
@ -109,7 +108,7 @@
|
|||
bind -n S-right next
|
||||
bind -n C-left swap-window -t -1
|
||||
bind -n C-right swap-window -t +1
|
||||
bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; new-window -n "urlview" '$SHELL -c "urlview < /tmp/tmux-buffer"'
|
||||
bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; new-window -n "urlscan" '$SHELL -c "urlscan -c -d < /tmp/tmux-buffer"'
|
||||
bind C-i neww -n khal "exec ikhal"
|
||||
bind K split-window -h "exec ikhal"
|
||||
bind C-t neww -n vit "exec vit"
|
||||
|
|
@ -144,13 +143,5 @@
|
|||
test:-cs all -cs vm
|
||||
'';
|
||||
};
|
||||
urlview = {
|
||||
enable = true;
|
||||
target = ".urlview";
|
||||
text = ''
|
||||
REGEXP (((http|https|ftp|obsidian)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
|
||||
COMMAND ${pkgs.bash}/bin/bash myweb %s
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue