mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
updating w3m splits to be faster in iterm2
This commit is contained in:
parent
d98cdbabf6
commit
25ced3f34d
3 changed files with 7 additions and 4 deletions
|
@ -29,6 +29,7 @@ bind pager k previous-line
|
|||
|
||||
# current use of Esc is nonsense. Change it to abort
|
||||
set abort_key = "<Esc>"
|
||||
# ESCDELAY = 0 ???
|
||||
|
||||
|
||||
# Viewing html emails quickly, but with an external viewer
|
||||
|
@ -38,4 +39,4 @@ set abort_key = "<Esc>"
|
|||
bind index,pager V noop
|
||||
|
||||
# Make quick html view macro
|
||||
macro index,pager V "<view-attachments><search>html<enter><view-mailcap><exit>"
|
||||
macro index,pager V "<view-attachments><search>html<enter><view-mailcap><exit><toggle-read>"
|
||||
|
|
|
@ -130,6 +130,8 @@ set use_from = yes
|
|||
|
||||
set smtp_url = smtp://$my_user:$smtp_pass@127.0.0.1:1025
|
||||
|
||||
# security :shrug:
|
||||
# ----------------------- security :shrug: ----------------------------
|
||||
set ssl_force_tls = yes
|
||||
set ssl_starttls = yes
|
||||
# When set , postponed messages that are marked for encryption will be self-encrypted. NeoMutt will first try to encrypt using the value specified in $pgp_default_key or $smime_default_key. If those are not set, it will try the deprecated $postpone_encrypt_as. (Crypto only) Default: no
|
||||
# set postpone_encrypt = yes
|
||||
|
|
|
@ -15,7 +15,6 @@ parser = argparse.ArgumentParser()
|
|||
parser.add_argument("html_file",
|
||||
help="html or website to view in w3m in an iterm2 split")
|
||||
args = parser.parse_args()
|
||||
print()
|
||||
|
||||
|
||||
async def main(connection):
|
||||
|
@ -28,7 +27,8 @@ async def main(connection):
|
|||
|
||||
# Create split pane to the right and make the right one active
|
||||
left_pane = app.current_terminal_window.current_tab.current_session
|
||||
right_pane = await left_pane.async_split_pane(vertical=True)
|
||||
right_pane = await left_pane.async_split_pane(vertical=True,
|
||||
profile="Minimal Profile")
|
||||
|
||||
# send the command to the newly created split
|
||||
w3m = ("w3m -sixel -o auto_image=TRUE -o display_image=1 -T text/html"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue