# Improvements for Andy mode (aka Sliding Windows)

**URL:** <https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257>\
**Category:** Help\
**Created:** [July 15, 2020, 12:04am UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257 "2020-07-15T00:04:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [July 15, 2020, 12:04am UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/1 "2020-07-15T00:04:15Z")

</div>

aims:

- Navigate panes (scroll horizontally, go to first/last) effectively by keyboard
- Reorder by dragging also among panes nested on the left side (which show only the filename vertically)
  - 2020-12-29 precise reordering among nested pages is not possible yet.

- ~~Do not break it with each release of Obsidian~~
  - Since introduction of plugin, it seems to work well.

- ~~Toggle Andy mode by keyboard.~~
  - implemented as ‟Sliding Panes (Andy’s Mode): Toggle Sliding Panes”

- ~~Keep it independent option of light/dark theme.~~ (satisfied by plugin)
- ~~Unfold any folded/nested pane (scroll to it) by clicking on it’s vertical bar~~
- ~~Allow to nest panes also on the right side as in original [https://notes.andymatuschak.org/~~](https://notes.andymatuschak.org/~~)

Motivated by posts in [Andy Matuschak mode - V2.7 (updated for 0.7+ new panes)](https://forum.obsidian.md/t/andy-matuschak-mode-v2-7-updated-for-0-7-new-panes/170)

Edit 2020-12-29:

- Strike-through items have been implemented in [Sliding Panes (Andy Matuschak Mode) Plugin - #54 by death.au](https://forum.obsidian.md/t/sliding-panes-andy-matushcak-mode-plugin/7652/54)
- Title changed to better represent the content of request.

### Related feature requests:

- [Display vertical context in long scrollable document (RemNote-like auto-folding mode)](https://forum.obsidian.md/t/display-vertical-context-in-long-scrollable-document-remnote-like-auto-folding-mode/10918)

---

<div class="post-metadata">

**Author:** ![Klaas](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Klaas](https://forum.obsidian.md/u/Klaas)\
**Post date:** [July 15, 2020, 3:02am UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/2 "2020-07-15T03:02:12Z")

</div>

You are asking is to make AM part of the Obs core, and refine it a bit.

I agree with this request. I use AM all the time. Yesterday I thought there was a problem with it so took it out of the theme I was using, and that was an unpleasant UX, with static panes, that if you open additional ones the become narrower - having more than 3 open is ridiculous.

I find AM to be a significant enhancement of Obsidian.

---

<div class="post-metadata">

**Author:** ![death.au](https://forum.obsidian.md/user_avatar/forum.obsidian.md/death.au/32/796_2.png) [@death.au](https://forum.obsidian.md/u/death.au)\
**Post date:** [July 29, 2020, 11:08pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/3 "2020-07-29T23:08:38Z")

</div>

Making it core might be a little too far IMO. However, when the plugin API is available I do already plan to turn Andy’s Mode into a plugin.

Access to JavaScript should give me some more freedoms to introduce most - if not all - of the suggested features, also. As well as theoretically make it more efficient.

---

<div class="post-metadata">

**Author:** ![Klaas](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Klaas](https://forum.obsidian.md/u/Klaas)\
**Post date:** [July 30, 2020, 2:38am UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/4 "2020-07-30T02:38:25Z")

</div>

Great initiative. Whenever I try a new theme, the 1st thing I do before even launching Obs with it is to add AM to the css sheet. Without it I could not use Obs to an acceptable level of satisfaction.

---

<div class="post-metadata">

**Author:** ![timj](https://forum.obsidian.md/user_avatar/forum.obsidian.md/timj/32/2293_2.png) [@timj](https://forum.obsidian.md/u/timj)\
**Post date:** [October 22, 2020, 11:00am UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/5 "2020-10-22T11:00:11Z")

</div>

According to the 0.9.4 release notes, “sliding windows” functionality is available for publishing:

> There’s a new mode you can turn on called “sliding windows”. This overhauls your site’s navigation to open links beside the current page. Inspired from Andy Matuschak’s website [https://notes.andymatuschak.org/](https://notes.andymatuschak.org/)

It would be really helpful if this mode could be made available directly in Obsidian, for all the same reasons it is helpful for vaults that are published to the web. Namely: being able to easily retrace the chain of links traversed in research and/or editing notes.

---

<div class="post-metadata">

**Author:** ![macedotavares](https://forum.obsidian.md/user_avatar/forum.obsidian.md/macedotavares/32/139_2.png) [@macedotavares](https://forum.obsidian.md/u/macedotavares)\
**Post date:** [October 22, 2020, 12:26pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/6 "2020-10-22T12:26:37Z")

</div>

The [Cybertron](https://github.com/nickmilo/Cybertron) theme by @nickmilo has that. You can find it in the Community Themes plugin. There’s also [this bit of CSS](https://forum.obsidian.md/t/andy-matuschak-mode/70) that does something functionally similar.

---

<div class="post-metadata">

**Author:** ![timj](https://forum.obsidian.md/user_avatar/forum.obsidian.md/timj/32/2293_2.png) [@timj](https://forum.obsidian.md/u/timj)\
**Post date:** [October 22, 2020, 1:40pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/7 "2020-10-22T13:40:30Z")

</div>

Thanks. The Cybertron theme has exactly the functionality I am looking for, but I would like to use a light mode, minimalist theme. I am hopeful that either @_ph will add the “sliding windows” functionality to the excellent [Obsdn-Dark-Rmx theme](https://forum.obsidian.md/t/theme-obsdn-dark-rmx-now-with-light-dark-updated-2020-09-11/2225/41) or that this functionality will be introduced via plugin sometime soon.

---

<div class="post-metadata">

**Author:** ![3mbry0](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/3/ecb155/32.png) [@3mbry0](https://forum.obsidian.md/u/3mbry0)\
**Post date:** [October 22, 2020, 1:51pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/8 "2020-10-22T13:51:28Z")

</div>

I’m not sure if the “sliding windows” feature is the same as Andy mode, so I may be talking about something else here but…

There’s this custom-css hack(?) that I’m sure is what Cybertron uses if you haven’t seen it already: [Andy Matuschak mode - V2.7 (updated for 0.7+ new panes)](https://forum.obsidian.md/t/andy-matuschak-mode-v2-7-updated-for-0-7-new-panes/170)

So if you want to have this functionality in a light mode theme or with Obsdn-Dark-Rmx, you can.

As for making it a plugin, the guy that made the CSS said this:

> [@Improvements for Andy mode (aka Sliding Windows)](https://forum.obsidian.md/t/include-andy-mode-into-obsidian-core/3257/3):
>
> Making it core might be a little too far IMO. However, when the plugin API is available I do already plan to turn Andy’s Mode into a plugin. Access to JavaScript should give me some more freedoms to introduce most - if not all - of the suggested features, also. As well as theoretically make it more efficient.

---

<div class="post-metadata">

**Author:** ![macedotavares](https://forum.obsidian.md/user_avatar/forum.obsidian.md/macedotavares/32/139_2.png) [@macedotavares](https://forum.obsidian.md/u/macedotavares)\
**Post date:** [October 22, 2020, 1:57pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/9 "2020-10-22T13:57:39Z")

</div>

I just kind of grafted that CSS into the Obsdn-Dark-Rmx theme and the result was less than satisfactory. I’m sure there was something else I should have done to make it work, but my CSS knowledge doesn’t go far beyond Cmd+C/Cmd+V.

`¯\_(ツ)_/¯`

---

<div class="post-metadata">

**Author:** ![timj](https://forum.obsidian.md/user_avatar/forum.obsidian.md/timj/32/2293_2.png) [@timj](https://forum.obsidian.md/u/timj)\
**Post date:** [October 22, 2020, 3:43pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/10 "2020-10-22T15:43:00Z")

</div>

It’s probably helpful to distinguish between “sliding windows” as the simple CSS that enables horizontal scrolling from the “stacking” effect in Andy Mode and the Cybertron theme. It is the latter that I am especially interested in, particularly because it preserves the visibility (context) of the chain of links instead of scrolling them out of view.

@macedotavares I tried the same thing (Cmd+C/Cmd+V of the CSS into Obsdn-Dark-Rmx) and concur with your assessment. It was close in some ways but needs the attention of a developer to make it really work as expected.

---

<div class="post-metadata">

**Author:** ![argentum](https://forum.obsidian.md/user_avatar/forum.obsidian.md/argentum/32/7733_2.png) [@argentum](https://forum.obsidian.md/u/argentum)\
**Post date:** [October 27, 2020, 10:11am UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/11 "2020-10-27T10:11:13Z")

</div>

Please see

> [@Sliding Panes (Andy Matuschak Mode) Plugin](https://forum.obsidian.md/t/sliding-panes-andy-matushcak-mode-plugin/7652):
>
> With the official Plugin API [now being a thing](https://forum.obsidian.md/t/obsidian-release-v0-9-7-insider-build/7628), it’s time to start migrating the existing [Andy Matischak mode CSS](https://forum.obsidian.md/t/andy-matuschak-mode-v2-7-updated-for-0-7-new-panes/170/66) into a togglable plugin with more power and options. I now have a release of an initial implementation, ready for people to play around with. It works like the 2.7 version with headers on the side. The header width and pane width is configurable via the settings, and there is also a command to toggle it on and off (which you can configure a hotkey for). Changing the active pane …

---

<div class="post-metadata">

**Author:** ![death.au](https://forum.obsidian.md/user_avatar/forum.obsidian.md/death.au/32/796_2.png) [@death.au](https://forum.obsidian.md/u/death.au)\
**Post date:** [October 27, 2020, 10:44pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/12 "2020-10-27T22:44:01Z")

</div>

Thanks for linking @argentum. Furthermore, I’d like to point out that this plugin solves many (not all) of the problems indicated in the OP of the thread:

> Do not break it with each release of Obsidian

Well, that remains to be seen, but I’ll try my best 😉

> Toggle Andy mode by keyboard.

I added a command to the plugin so you can toggle it with the command pallete, or assign your own hotkey to it.

> Keep it independent option of light/dark theme.

As a plugin it’s now independent of all themes! Yay! (Though it may not work the best with some themes currently)

> Navigate panes (scroll horizontally, go to first/last) effectively by keyboard

Some hotkey assignments do currently exist (next/previous pane for example) and the plugin scrolls to the focussed pane. So pending more navigation shortcuts in Obsidian itself (or other plugins) this is taken care of.

> Reorder by dragging also among panes nested on the left side (which show only the filename vertically)

This is the big one I want to tackle now that I have javascript capabilities in a plugin. It will come in time, but currently works the same as the CSS version (i.e. not very well)

> Unfold any folded/nested pane (scroll to it) by clicking on it’s vertical bar

As stated above, active panes get scrolled to, so now clicking on a pane’s vertical bar will scroll to it 🥳

> Allow to nest panes also on the right side as in original [https://notes.andymatuschak.org/](https://notes.andymatuschak.org/)

I’ve done this in the plugin, too. Though my implementation differs slightly in that the right side titles stack, whereas Andy’s do not. There are both pros and cons to this approach, and I may include options to tweak it later down the line.

---

<div class="post-metadata">

**Author:** ![Royi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/royi/32/8507_2.png) [@Royi](https://forum.obsidian.md/u/Royi)\
**Post date:** [January 4, 2021, 10:57pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/13 "2021-01-04T22:57:08Z")

</div>

Could you also create a repository for the CSS format of your design?  
You have made a great service to many of us.

---

<div class="post-metadata">

**Author:** ![Klaas](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Klaas](https://forum.obsidian.md/u/Klaas)\
**Post date:** [January 5, 2021, 8:29am UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/14 "2021-01-05T08:29:37Z")

</div>

@Royi: Andy’s sliding panes [repository](https://github.com/deathau/sliding-panes-obsidian).

---

<div class="post-metadata">

**Author:** ![Royi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/royi/32/8507_2.png) [@Royi](https://forum.obsidian.md/u/Royi)\
**Post date:** [January 6, 2021, 10:10pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/15 "2021-01-06T22:10:58Z")

</div>

This is the plug in. I was asking for the CSS version.

---

<div class="post-metadata">

**Author:** ![Klaas](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Klaas](https://forum.obsidian.md/u/Klaas)\
**Post date:** [January 7, 2021, 4:19am UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/16 "2021-01-07T04:19:00Z")

</div>

@Royi: sorry, I misunderstood. I think death\_au is not paying much attention to that CSS version anymore because his focus is on the plug-in, which makes more sense. Why would you use a deprecated version when there is an easier to use plug-in that has even more features and to which he will add additional features?

---

<div class="post-metadata">

**Author:** ![Royi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/royi/32/8507_2.png) [@Royi](https://forum.obsidian.md/u/Royi)\
**Post date:** [January 8, 2021, 1:09pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/17 "2021-01-08T13:09:08Z")

</div>

One reason would be security.  
The `CSS` solution can’t do anything to the content of the files by mistake.

But the real motivation was to keep it available.  
Maybe others will give it some tweaks over the time.

---

<div class="post-metadata">

**Author:** ![Klaas](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Klaas](https://forum.obsidian.md/u/Klaas)\
**Post date:** [January 8, 2021, 1:15pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/18 "2021-01-08T13:15:23Z")

</div>

@Royi: so, why not download the plug-in from the repository and extract the CSS file from it?

---

<div class="post-metadata">

**Author:** ![Royi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/royi/32/8507_2.png) [@Royi](https://forum.obsidian.md/u/Royi)\
**Post date:** [January 8, 2021, 8:36pm UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/19 "2021-01-08T20:36:12Z")

</div>

I didn’t know it is an option.

All I’m saying, for archiving purposes, it will be nice to keep the option of CSS.

---

<div class="post-metadata">

**Author:** ![Amirreza](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/f19dbf/32.png) [@Amirreza](https://forum.obsidian.md/u/Amirreza)\
**Post date:** [April 27, 2021, 9:33am UTC](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257/20 "2021-04-27T09:33:23Z")

</div>

When Toggling Sliding Panes On/OFF, the resizing of panes are messed up in Windows platform. Is there any hotkey to completely turn off/On Andy mode plugin ?

[Next page](https://forum.obsidian.md/t/improvements-for-andy-mode-aka-sliding-windows/3257.md?page=2)
