summaryrefslogtreecommitdiff
path: root/gram/.config
diff options
context:
space:
mode:
Diffstat (limited to 'gram/.config')
-rw-r--r--gram/.config/gram/keymap.jsonc110
-rw-r--r--gram/.config/gram/settings.jsonc24
2 files changed, 0 insertions, 134 deletions
diff --git a/gram/.config/gram/keymap.jsonc b/gram/.config/gram/keymap.jsonc
deleted file mode 100644
index 409c993..0000000
--- a/gram/.config/gram/keymap.jsonc
+++ /dev/null
@@ -1,110 +0,0 @@
-[
- {
- "context": "vim_mode == normal || vim_mode == visual || vim_mode == operator",
- "bindings": {
- "n": "vim::Left",
- "e": "vim::Down",
- "i": "vim::Up",
- "o": "vim::Right",
-
- "l": "vim::PreviousWordStart",
- "shift-l": ["vim::PreviousWordStart", { "ignore_punctuation": true }],
- "u": "vim::NextWordEnd",
- "shift-u": ["vim::NextWordEnd", { "ignore_punctuation": true }],
- "y": "vim::NextWordStart",
- "shift-y": ["vim::NextWordStart", { "ignore_punctuation": true }],
-
- "p": ["vim::PushFindForward", { "before": true, "multiline": false }],
- "shift-p": ["vim::PushFindBackward", { "after": true, "multiline": false }],
- "b": "vim::RepeatFind",
- "shift-b": "vim::RepeatFindReversed",
- "k": "vim::MoveToNextMatch",
- "shift-k": "vim::MoveToPreviousMatch",
-
- "g shift-k": "editor::Hover",
- "g shift-l": "vim::WindowBottom",
-
- "j": null,
- "j enter": ["workspace::SendKeystrokes", "z t ^"],
- "j -": ["workspace::SendKeystrokes", "z b ^"],
- "j t": "editor::ScrollCursorTop",
- "j z": "editor::ScrollCursorCenter",
- "j .": ["workspace::SendKeystrokes", "z z ^"],
- "j b": "editor::ScrollCursorBottom",
- "j a": "editor::ToggleFold",
- "j shift-a": "editor::ToggleFoldRecursive",
- "j c": "editor::Fold",
- "j shift-c": "editor::FoldRecursive",
- "j o": "editor::UnfoldLines",
- "j shift-o": "editor::UnfoldRecursive",
- "j f": "editor::FoldSelectedRanges",
- "j shift-m": "editor::FoldAll",
- "j shift-r": "editor::UnfoldAll",
- "j l": "vim::ColumnRight",
- "j h": "vim::ColumnLeft",
- "j shift-l": "vim::HalfPageRight",
- "j shift-h": "vim::HalfPageLeft",
- },
- },
-
- {
- "context": "VimControl && !menu",
- "bindings": {
- "r": ["vim::PushObject", { "around": false }],
- },
- },
-
- {
- "context": "vim_mode == normal",
- "bindings": {
- "s": "vim::InsertBefore",
- "shift-s": "vim::InsertFirstNonWhitespace",
- "t": "vim::InsertAfter",
- "shift-t": "vim::InsertEndOfLine",
- "h": "vim::InsertLineBelow",
- "shift-h": "vim::InsertLineAbove",
-
- "w": "vim::PushChange",
- "shift-w": "vim::ChangeToEndOfLine",
-
- "c": "vim::PushYank",
- "shift-c": "vim::YankLine",
- "v": "vim::Paste",
- "shift-v": ["vim::Paste", { "before": true }],
- "shift-x": ["workspace::SendKeystrokes", "d d"],
-
- "z": "vim::Undo",
- "g z": "vim::UndoLastLine",
- "shift-z shift-r": null,
- "shift-z": "vim::Redo",
-
- "a": "vim::ToggleVisual",
- "shift-a": "vim::ToggleVisualLine",
-
- "g shift-x": "vim::DeleteLeft",
- },
- },
-
- {
- "context": "vim_mode == visual",
- "bindings": {
- "w": "vim::Substitute",
- "shift-w": "vim::Substitute",
- "x": "vim::VisualDelete",
- "shift-x": "vim::VisualDelete",
- "c": "vim::VisualYank",
- "v": "vim::Paste",
- "shift-v": ["vim::Paste", { "before": true }],
- },
- },
-
- {
- "context": "VimControl && !menu || !Editor && !Terminal",
- "bindings": {
- "ctrl-w n": "workspace::ActivatePaneLeft",
- "ctrl-w e": "workspace::ActivatePaneDown",
- "ctrl-w i": "workspace::ActivatePaneUp",
- "ctrl-w o": "workspace::ActivatePaneRight",
- },
- },
-]
diff --git a/gram/.config/gram/settings.jsonc b/gram/.config/gram/settings.jsonc
deleted file mode 100644
index f5f2aa4..0000000
--- a/gram/.config/gram/settings.jsonc
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "lsp": {
- "json-language-server": {
- "binary": {
- "enable_auto_updates": true,
- "ignore_system_version": true,
- "allow_binary_download": true,
- },
- "enable_lsp_tasks": true,
- },
- },
- "node": {
- "allow_npm_install": true,
- "allow_prettier_download": true,
- "allow_binary_download": true,
- },
- "ui_font_family": "Berkeley Mono",
- "buffer_font_family": "Berkeley Mono",
- "base_keymap": "Minimal",
- "vim_mode": true,
- "ui_font_size": 14,
- "buffer_font_size": 14,
- "theme": "Alabaster Dark",
-}