8
0
Fork
You've already forked dotfiles
0

New feature urlview in mutt & weechat to open urls #22

Merged
gmcclins merged 2 commits from feature-urlview into master 2016年02月19日 05:32:27 +01:00
gmcclins commented 2016年02月17日 00:37:09 +01:00 (Migrated from github.com)
Copy link

This PR will introduce the use of urlview in Weechat and Mutt.

urlview will extract URLs from text within the current Weechat buffer or email in Mutt and display a menu from which you may select the desired link and launch from within the shell using Lynx. In the case of multiple URLs in buffer/email, it will allow you to select the desired URL from a list.

In #! and #!social multiple links will often be the case due to URL shortener, but should not pose any issue.

Weechat Use
/urlview

Mutt Use (listed in .muttrc)
ctrl + b

I can also add something to man.

This PR will introduce the use of urlview in Weechat and Mutt. urlview will extract URLs from text within the current Weechat buffer or email in Mutt and display a menu from which you may select the desired link and launch from within the shell using Lynx. In the case of multiple URLs in buffer/email, it will allow you to select the desired URL from a list. In #! and #!social multiple links will often be the case due to URL shortener, but should not pose any issue. _Weechat Use_ /urlview _Mutt Use_ (listed in .muttrc) ctrl + b I can also add something to man.
daurnimator commented 2016年02月17日 00:38:07 +01:00 (Migrated from github.com)
Copy link

Ctrl+b is already taken by tmux. It will be confusing (and unused) to use it for mutt too.

Ctrl+b is already taken by tmux. It will be confusing (and unused) to use it for mutt too.
gmcclins commented 2016年02月17日 00:46:34 +01:00 (Migrated from github.com)
Copy link

I can't believe I didn't even consider that. Will change to something else, once i figure out what that should/could be.

It will be confusing (and unused) to use it for mutt too.

@daurnimator are you saying useless?

I can't believe I didn't even consider that. Will change to something else, once i figure out what that should/could be. > It will be confusing **(and unused)** to use it for mutt too. @daurnimator are you saying useless?
daurnimator commented 2016年02月17日 01:33:11 +01:00 (Migrated from github.com)
Copy link

@daurnimator are you saying useless?

No, just that if it was behind Ctrl+b (and tmux was too) no one would bother using it :p

> @daurnimator are you saying useless? No, just that if it was behind Ctrl+b (and tmux was too) no one would bother using it :p
gmcclins commented 2016年02月17日 09:27:27 +01:00 (Migrated from github.com)
Copy link

@daurnimator turns out you don't need any .muttrc settings to make this work. It's built into mutt as hold Ctrl+B (Ctrl&B?).

Seems pointless to bind elsewhere because as far as I can tell you can't change the default binding.

@daurnimator turns out you don't need any .muttrc settings to make this work. It's built into mutt as hold Ctrl+B (Ctrl&B?). Seems pointless to bind elsewhere because as far as I can tell you can't change the default binding.
daurnimator commented 2016年02月17日 10:24:25 +01:00 (Migrated from github.com)
Copy link

@daurnimator turns out you don't need any .muttrc settings to make this work. It's built into mutt as hold Ctrl+B (Ctrl&B?).

Do you mean Ctrl+b or Ctrl+Shift+b?

> @daurnimator turns out you don't need any .muttrc settings to make this work. It's built into mutt as hold Ctrl+B (Ctrl&B?). Do you mean Ctrl+b or Ctrl+Shift+b?
gmcclins commented 2016年02月17日 14:30:49 +01:00 (Migrated from github.com)
Copy link

@daurnimator Hold down Ctrl+b. Urlview is installed, so you can test it on your mutt if you like

I see what caused the confusion. Sorry about that

@daurnimator Hold down Ctrl+b. Urlview is installed, so you can test it on your mutt if you like I see what caused the confusion. Sorry about that
gmcclins commented 2016年02月19日 04:58:02 +01:00 (Migrated from github.com)
Copy link

Took a long time for me to make such a simple change, but can i get a 👍 now?

Took a long time for me to make such a simple change, but can i get a :thumbsup: now?
daurnimator commented 2016年02月19日 05:03:49 +01:00 (Migrated from github.com)
Copy link

okay. 👍

okay. :+1:
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hashbang-sh/dotfiles!22
Reference in a new issue
hashbang-sh/dotfiles
No description provided.
Delete branch "feature-urlview"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?