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
|
@ -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