Repository navigation
Expand file tree
/
Copy pathkeybinds
More file actions
35 lines (28 loc) · 1.41 KB
/
Copy pathkeybinds
File metadata and controls
35 lines (28 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# fedit keybinds — copy to ~/.config/fedit/keybinds and edit.
#
# Format: [context] stroke[ stroke…] = action[:arg]
# Contexts: global, editor, sidebar, prompt. Omitting the context defaults to
# "editor". A "global" binding fires in every focus.
# Layered on top of the compiled-in defaults — list only what you change.
# Reload with ":keybind reload" (or save this file through fedit).
# Inspect with ":keybind" (list all) or ":keybind ctrl+s" (resolve a stroke).
# Remap a single chord (context defaults to editor).
ctrl+s = save
# A global binding fires regardless of focus.
global ctrl+r = reload-workspace
# Multi-key sequence: press the chords in order. The status bar shows the
# pending prefix; Escape cancels it.
editor ctrl+k ctrl+s = save
# Unbind a chord entirely — an empty right-hand side frees it. The key is
# consumed (it does NOT fall through to text insertion).
# global ctrl+r =
# Actions that take an argument use a trailing ":arg".
editor f6 = set-theme:gruvbox
# LSP navigation actions (defaults: f12, shift+f12, f1, alt+-).
# editor f9 = goto-definition
# editor shift+f9 = find-references
# editor ctrl+k ctrl+i = hover
# editor alt+o = jump-back
# Bind a plugin command: run-plugin:<source>/<name> [plugin-arg].
# The user keymap takes precedence over a plugin's own RegisterKeybinding.
editor ctrl+k ctrl+w = run-plugin:wordcount/wc selection