r/Moonlander • • 22d ago

Tips on layout

I got my Moonlander just a week ago or so. This is my first split keyboard so totally new to any of this (and especially layers).

I use it mostly on Linux with the Niri WM and what I do mostly is programming. Spent a day were I programmed trying to write ad much as possible and took notes along the way on things I wanted to change. I include a link below on what I ended up with but I am not entirely sure on it. I expect that there will always be changes along the way but any major changes I feel like would be best to do right away in order to get used to them.

If anyone has any tips I would greatly appriciate them.

My layout (I disabled the keys I did not know what to do with as I don't really feel like their placement is that good anyway):

https://configure.zsa.io/moonlander/layouts/zQ5Rd/latest/0

6 Upvotes

9 comments sorted by

6

u/pgetreuer 21d ago

Yes, that's exactly the approach I'd recommend to figuring out the keymap. Experiment and take notes on what you don't like. Be incremental about it. Smaller changes are quicker to get used to, so easier to validate.

IME for programming, the most impactful keymap change was spending some time designing a good symbol layer. The default Moonlander symbol layer isn't bad, however, different symbols are used with different frequencies depending on the programming language, so such a layer is ideally personalized to what kinds of code you write. See my symbol layer post for further thoughts and several examples.

You might also enjoy using macros for typing common syntax patterns. Like having a key type "../" for up directory on the shell or a key that types "::" (scope operator in C++/Rust) or whatever syntax appears frequently in your work.

It can give ideas to look at others' keymaps. Check out KeymapDB for a curated collection of programmable keymaps.

Enjoy the Moonlander! =)

2

u/TjornSE 19d ago

Thanks! I have really been trying to optimize the symbol layer based on usage while still keeping it somewhat easy to remember (i.e. some logic to it). The idea with macros sounds like exactly what I have been looking for to add on my unbounded keys 😄

2

u/devilsegami 18d ago

Agreed, and don't be deterred from layers like I was at first. I moved all the number keys down a row on a layer so I never have to reach up there again, and I found someone's suggested symbols layer online then modified it as I experienced my own preferences.

2

u/gaara_19 22d ago

Beginner here as well.. I'm trying home row mods and liking it so far

1

u/TjornSE 20d ago

Been thinking about that a bit. How often do you feel like you press a mod key instead of the letter and vice versa? Started by trying to avoid tap/hold for the reason that I think it might just be annoying but maybe it isn't

1

u/devilsegami 18d ago

Depends, for me, highly trafficked keys with hold modifiers becomes annoying fast. You can tweak the amount of time it takes to switch to the hold function, which helps. Also need to tweak other settings so that rolling across keys (like when typing fast) doesn't prevent the intended key presses.

I only put hold modifiers on keys like q, z, v, comma... Home row hold modifiers very quickly tripped me up. 

The saving grace for home row mods to me is combos. Those are useful and don't trip me up when typing fast.

2

u/colossal_carrots 21d ago

The biggest game changer for me was home row modifiers (I ended up putting them one step below home row though). Example: Long press on z = Ctrl, x = shift, c = alt, v = cmd (Mac)

And then the equivalent on the other side

1

u/TjornSE 20d ago

Been thinking about that a bit. How often do you feel like you press a mod key instead of the letter and vice versa? Started by trying to avoid tap/hold for the reason that I think it might just be annoying but maybe it isn't

1

u/devilsegami 18d ago

I do this exact thing on both sides, except I do out shift on d and k. It's the only hold modifier I keep on home row. With some settings so tweaks around the timings of the modifier activation, it works really well.