feat/hints a471fa4

config RawHistoryFolder

1# neferwl config: one `key = value` per line, # starts a comment.
2# Every value below is the default; a missing file means defaults.
3# Changes apply live. An invalid line logs a warning and keeps the default.
4
5# Keyboard (xkb names, e.g. layout = fr, options = caps:escape).
6keyboard.layout =
7keyboard.variant =
8keyboard.options =
9keyboard.repeat-rate = 25
10keyboard.repeat-delay = 600
11# Which modifier `cmd` means in binds: super, alt or ctrl.
12keyboard.cmd = super
13
14# Command for spawn-terminal: terminal, then $TERMINAL, then foot.
15# Automatically open once on the initial numbered workspace (first), on every
16# visible empty workspace (all), or never (off). --no-terminal overrides this.
17# terminal = foot
18terminal.auto-open = first
19
20# Commands run once when the session starts; separate several with `;` or
21# use one line each. Like spawn, a command runs without a shell: see
22# "Running commands" in docs/desktop.md.
23# Programs get WAYLAND_DISPLAY and NEFERWL_STATE.
24# startup = waybar; mako
25# startup = wl-paste --watch cliphist store
26
27background = #111111
28
29# Separator lines between tiled windows (tmux style), in logical pixels.
30# The lines along the focused window use active; width 0 disables them,
31# empty inactive draws only the focused lines. Floats get a full border.
32border.width = 2
33border.active = #808080
34border.inactive = #111111
35
36# Black veil over tiles and lower layers when a float is visible (0 to 1).
37floating.dim = 0.3
38
39# on: toggle-stash-visible on an empty stash opens the terminal in it.
40stash.spawn-terminal = on
41
42layout.gaps = 0
43# Columns sharing the screen equally before the overflow applies: one cell is
44# a max-columns-th of the width, and columns, rules and slots are sized in
45# cells. A lone column fills the screen without separators.
46layout.max-columns = 2
47# Past max-columns: cascade starts a new band of columns below, scrolling
48# vertically; scroll opens columns to the right; fixed keeps everything on
49# screen, each new window splitting the newest one (spiral).
50layout.overflow = cascade
51
52# Touchpad. A three-finger swipe up or down slides between workspaces, left
53# or right scrolls the columns (cascade swaps the two axes). natural-scroll
54# = on moves the content with the fingers, for scroll and swipes. tap = on
55# clicks on a tap: one finger left, two right, three middle.
56touchpad.natural-scroll = off
57touchpad.tap = on
58# Pointer speed from -1 to 1; adaptive speeds up quick moves, flat does not.
59touchpad.accel-speed = 0
60touchpad.accel-profile = adaptive
61# left-handed = on swaps the left and right buttons.
62touchpad.left-handed = off
63# Two-finger scroll distance multiplier.
64touchpad.scroll-factor = 1
65
66# Mouse. natural-scroll = on moves the content with the wheel; speed and
67# profile work as for the touchpad.
68mouse.natural-scroll = off
69mouse.accel-speed = 0
70mouse.accel-profile = adaptive
71mouse.left-handed = off
72
73# Hide the pointer cursor after this long without motion (100ms to 1h, or
74# off); the next motion shows it.
75cursor.hide-after = 5s
76
77# on: moving a column or window to another workspace shows that workspace.
78focus.follow-move = off
79# Experimental, off by default.
80# on: windows and the view move with springs, windows fade in and out as
81# they open, close or leave with the stash, the overview zooms its cards;
82# off: every change is instant and three-finger swipes act when the
83# fingers lift.
84# speed: slow, normal, fast, or a number from 0.1 (10x slower) to 10
85# (10x faster).
86animations = off
87animations.speed = normal
88# Focus flash: a brief inner border on the window, column or output an
89# action just changed. Width in logical pixels (1 to 8), starting opacity
90# (0.1 to 1), fade duration (50ms to 1s, not scaled by animations.speed),
91# color #rrggbb (empty: border.active).
92focus.flash = on
93focus.flash-width = 2
94focus.flash-opacity = 0.6
95focus.flash-duration = 200ms
96focus.flash-color =
97# Hint mode is experimental and off: turn it on here (restart required).
98# hint.enable = off
99# Hint mode labels the links, URLs and buttons on the focused screen:
100# clickable (links, URLs and buttons) or links (links and URLs only).
101# hint.targets = clickable
102
103# Named workspaces are outside the numbered list and require a bind. The bind
104# shows one; pressing it again returns to the previous workspace.
105# max-columns and overflow override the layout.* values.
106# workspace.web.max-columns = 3
107# workspace.web.overflow = fixed
108#
109# Slots: column.N = <cells>, <command> (1-16). neferwl starts each command in the
110# background and puts its first window in column N, without taking focus.
111# A closed slot stays empty until the workspace is shown again. Apps that
112# reuse a running instance need a new-instance flag.
113# workspace.dev.monitor = DP-2
114# workspace.dev.column.1 = 2, code --new-window
115# workspace.dev.column.2 = 1, foot
116# bind.cmd+d = workspace dev
117
118# Window rules place an app's windows when they first open, without moving
119# the focus or the view. app-id is a regular expression matching the whole
120# app ID (see `neferwl state`); matching rules merge, a later one winning.
121# floating = on|off, workspace = N or a declared name, monitor = DP-2 or a
122# monitor key, width = cells (1-16).
123# rule.games.app-id = steam_app_.*
124# rule.games.workspace = 3
125# rule.games.monitor = DP-2
126# rule.calc.app-id = org\.gnome\.Calculator
127# rule.calc.floating = on
128
129# Displays (drm backend): WxH, WxH@Hz, preferred or off.
130# The first listed display that is connected and not off is used.
131# output.DP-2 = 5120x2160@165.058
132# output.HDMI-A-1 = off
133# Scale (HiDPI), 1 to 4, like 1.5 or 4/3. Default 1. scale-up and scale-down
134# step through the scales where the display divides into whole pixels and
135# save the result here.
136# output.DP-2.scale = 4/3
137
138render.direct-scanout = on
139# Games asking for tearing flip without waiting for vblank, and variable
140# refresh runs; both only while a fullscreen window is scanned out directly.
141render.tearing = on
142render.vrr = on
143
144# Run output and input threads with SCHED_RR when permitted.
145performance.realtime = on
146
147# log.level: debug, info, warn or error. log.debug: components or all.
148log.level = info
149log.debug =
150
151# Binds: bind.<keys> = <action>. Modifiers: cmd, shift, ctrl, alt, super.
152# code:N is a physical key (evdev code), the same key on every layout:
153# code:2 to code:10 are the digit row 1 to 9, code:12 and code:13 the two
154# keys right of 0 (- and = on US).
155# Keys are what your layout prints (cmd+é on AZERTY). Write = # and space
156# by name: cmd+equal, cmd+numbersign, cmd+space. `none` removes a default.
157# `spawn <command>` runs a program; arguments split on spaces, `;` starts
158# another command, no shell (pipes and variables go in a script: see
159# "Running commands" in docs/desktop.md).
160bind.cmd+return = spawn-terminal
161bind.cmd+left = focus-column-left
162bind.cmd+right = focus-column-right
163bind.cmd+up = focus-window-up
164bind.cmd+down = focus-window-down
165bind.cmd+shift+left = move-column-left
166bind.cmd+shift+right = move-column-right
167# Vim keys: every arrow bind also works with h j k l.
168bind.cmd+h = focus-column-left
169bind.cmd+l = focus-column-right
170bind.cmd+k = focus-window-up
171bind.cmd+j = focus-window-down
172bind.cmd+shift+h = move-column-left
173bind.cmd+shift+l = move-column-right
174# A window alone in its column joins the neighbor column; a stacked one
175# leaves for a new column. A full fixed workspace stacks it into the
176# neighbor column instead, past the edge on the neighbor monitor.
177bind.cmd+bracketleft = consume-or-expel-window-left
178bind.cmd+bracketright = consume-or-expel-window-right
179# Reorder the focused window inside its column.
180bind.cmd+shift+up = move-window-up
181bind.cmd+shift+down = move-window-down
182bind.cmd+shift+k = move-window-up
183bind.cmd+shift+j = move-window-down
184# Resize a column by N cells (+N or -N, 1-16), a window by a step of the
185# usable height (+N% or -N%, 1-100).
186bind.cmd+alt+left = set-column-width -1
187bind.cmd+alt+right = set-column-width +1
188bind.cmd+alt+up = set-window-height -10%
189bind.cmd+alt+down = set-window-height +10%
190bind.cmd+alt+h = set-column-width -1
191bind.cmd+alt+l = set-column-width +1
192bind.cmd+alt+k = set-window-height -10%
193bind.cmd+alt+j = set-window-height +10%
194# A tile becomes a free floating window, or returns to its column.
195bind.cmd+shift+space = toggle-floating
196# Grow the focused column by one cell, then back to equal shares.
197bind.cmd+r = cycle-column-width
198bind.cmd+f = maximize-column
199bind.cmd+shift+f = toggle-fullscreen
200bind.cmd+s = toggle-stash-visible
201bind.cmd+shift+s = toggle-window-stash
202bind.cmd+o = toggle-overview
203# Label the links and buttons on screen and click one by typing its label.
204# bind.cmd+g = hint
205bind.cmd+q = close-window
206bind.ctrl+alt+backspace = quit
207bind.ctrl+cmd+space = spawn fuzzel
208
209# Workspaces stack vertically (side by side with cascade); numbers follow
210# their order. An empty one always waits after the last. cmd+up/down past the
211# column edge also switch workspace.
212bind.cmd+pageup = focus-workspace-prev
213bind.cmd+pagedown = focus-workspace-next
214# move-column-to-workspace moves the whole column; move-window-to-workspace
215# (N, -prev, -next) moves only the focused window and has no default bind.
216bind.cmd+shift+pageup = move-column-to-workspace-prev
217bind.cmd+shift+pagedown = move-column-to-workspace-next
218# Reorder workspaces: swap the current one with its neighbor.
219bind.cmd+ctrl+shift+up = move-workspace-prev
220bind.cmd+ctrl+shift+down = move-workspace-next
221bind.cmd+ctrl+shift+k = move-workspace-prev
222bind.cmd+ctrl+shift+j = move-workspace-next
223bind.cmd+code:2 = focus-workspace 1
224bind.cmd+code:3 = focus-workspace 2
225bind.cmd+code:4 = focus-workspace 3
226bind.cmd+code:5 = focus-workspace 4
227bind.cmd+code:6 = focus-workspace 5
228bind.cmd+code:7 = focus-workspace 6
229bind.cmd+code:8 = focus-workspace 7
230bind.cmd+code:9 = focus-workspace 8
231bind.cmd+code:10 = focus-workspace 9
232bind.cmd+shift+code:2 = move-column-to-workspace 1
233bind.cmd+shift+code:3 = move-column-to-workspace 2
234bind.cmd+shift+code:4 = move-column-to-workspace 3
235bind.cmd+shift+code:5 = move-column-to-workspace 4
236bind.cmd+shift+code:6 = move-column-to-workspace 5
237bind.cmd+shift+code:7 = move-column-to-workspace 6
238bind.cmd+shift+code:8 = move-column-to-workspace 7
239bind.cmd+shift+code:9 = move-column-to-workspace 8
240bind.cmd+shift+code:10 = move-column-to-workspace 9
241
242# Monitors, left to right: focus the neighbor, or move the workspace there.
243bind.cmd+ctrl+left = focus-monitor-left
244bind.cmd+ctrl+right = focus-monitor-right
245bind.cmd+ctrl+h = focus-monitor-left
246bind.cmd+ctrl+l = focus-monitor-right
247bind.cmd+ctrl+shift+left = move-workspace-to-monitor-left
248bind.cmd+ctrl+shift+right = move-workspace-to-monitor-right
249bind.cmd+ctrl+shift+h = move-workspace-to-monitor-left
250bind.cmd+ctrl+shift+l = move-workspace-to-monitor-right
251
252# Zoom: the whole display, live.
253bind.cmd+code:13 = scale-up
254bind.cmd+code:12 = scale-down
255
256# Media keys have no default. Bind them by their exact xkb keysym name
257# (case-sensitive; `wev` shows it) to your own tools:
258# bind.XF86AudioRaiseVolume = spawn wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
259# bind.XF86AudioLowerVolume = spawn wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
260# bind.XF86AudioMute = spawn wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
261# bind.XF86AudioMicMute = spawn wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
262# bind.XF86MonBrightnessUp = spawn brightnessctl set +5%
263# bind.XF86MonBrightnessDown = spawn brightnessctl set 5%-
264# bind.XF86AudioPlay = spawn playerctl play-pause

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 25

Tags 10

↑↓ moveenter openesc close