diff --git a/examples/nav-layer.conf b/examples/nav-layer.conf new file mode 100644 index 0000000..9fe5345 --- /dev/null +++ b/examples/nav-layer.conf @@ -0,0 +1,33 @@ +[ids] + +* + +[main] + +capslock = overload(capslock, esc) + +[shift] + +# Causes shift+capslock (in that order) to activate [capslock_shift] +capslock = layer(capslock_shift) + +# capslock will behave as (real/stackable) control in all instances except hjkl +# in which case it will behave as the arrow keys. + +[capslock:C] + +# Causes capslock+shift (in that order) to activate [capslock_shift] +shift = layer(capslock_shift) +h = left +j = down +k = up +l = right + +# nested layer accessible with capslock+shift + +[capslock_shift] + +h = C-left +j = C-down +k = C-up +l = C-right