diff options
| author | Zofia Szweda <sophies@disroot.org> | 2026-09-03 22:27:27 +0200 |
|---|---|---|
| committer | Zofia Szweda <sophies@disroot.org> | 2026-09-03 22:27:27 +0200 |
| commit | d4c4b8fe6fcdfad2acf5fe48b0f1dfc38c66bdb6 (patch) | |
| tree | 87c9efc8e921a1bfb9dc6023f1276f6bcd68737b | |
| parent | 8f6e8a277bb881f0e5cb5cc8fa66785df7542e48 (diff) | |
uh
| -rw-r--r-- | gram/.config/gram/keymap.jsonc | 58 | ||||
| -rw-r--r-- | gram/.config/gram/settings.jsonc | 15 | ||||
| -rw-r--r-- | vim/.vimrc | 3 |
3 files changed, 35 insertions, 41 deletions
diff --git a/gram/.config/gram/keymap.jsonc b/gram/.config/gram/keymap.jsonc index df616c0..47d5bf6 100644 --- a/gram/.config/gram/keymap.jsonc +++ b/gram/.config/gram/keymap.jsonc @@ -1,16 +1,4 @@ - - - - - - - - - [ - - - { "context": "vim_mode == normal || vim_mode == visual || vim_mode == operator", "bindings": { @@ -19,7 +7,6 @@ "i": "vim::Up", "o": "vim::Right", - "l": "vim::PreviousWordStart", "shift-l": ["vim::PreviousWordStart", { "ignore_punctuation": true }], "u": "vim::NextWordEnd", @@ -27,21 +14,19 @@ "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 }], + "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", + "g shift-k": "editor::Hover", + "g shift-l": "vim::WindowBottom", - - "j": null, "j enter": ["workspace::SendKeystrokes", "z t ^"], "j -": ["workspace::SendKeystrokes", "z b ^"], @@ -61,26 +46,20 @@ "j l": "vim::ColumnRight", "j h": "vim::ColumnLeft", "j shift-l": "vim::HalfPageRight", - "j shift-h": "vim::HalfPageLeft" - - - } + "j shift-h": "vim::HalfPageLeft", + }, }, - - { "context": "VimControl && !menu", "bindings": { - "r": ["vim::PushObject", { "around": false }] - } + "r": ["vim::PushObject", { "around": false }], + }, }, - { "context": "vim_mode == normal", "bindings": { - "s": "vim::InsertBefore", "shift-s": "vim::InsertFirstNonWhitespace", "t": "vim::InsertAfter", @@ -88,18 +67,15 @@ "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, @@ -108,8 +84,8 @@ "a": "vim::ToggleVisual", "shift-a": "vim::ToggleVisualLine", - "g shift-x": "vim::DeleteLeft" - } + "g shift-x": "vim::DeleteLeft", + }, }, { @@ -121,8 +97,8 @@ "shift-x": "vim::VisualDelete", "c": "vim::VisualYank", "v": "vim::Paste", - "shift-v": ["vim::Paste", { "before": true }] - } + "shift-v": ["vim::Paste", { "before": true }], + }, }, { @@ -131,7 +107,7 @@ "ctrl-w n": "workspace::ActivatePaneLeft", "ctrl-w e": "workspace::ActivatePaneDown", "ctrl-w i": "workspace::ActivatePaneUp", - "ctrl-w o": "workspace::ActivatePaneRight" - } - } + "ctrl-w o": "workspace::ActivatePaneRight", + }, + }, ] diff --git a/gram/.config/gram/settings.jsonc b/gram/.config/gram/settings.jsonc index b7a38f8..f5f2aa4 100644 --- a/gram/.config/gram/settings.jsonc +++ b/gram/.config/gram/settings.jsonc @@ -1,4 +1,19 @@ { + "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", @@ -13,6 +13,7 @@ Plug 'prabirshrestha/vim-lsp' Plug 'mattn/vim-lsp-settings' Plug 'prabirshrestha/asyncomplete-lsp.vim' Plug 'tpope/vim-vinegar' +Plug 'ap/vim-buftabline' Plug 'kalbasit/vim-colemak' call plug#end() filetype on @@ -43,6 +44,8 @@ let mapleader = "\<Space>" nnoremap <Space> <Nop> nnoremap <silent> <leader> :WhichKey '<Space>'<CR> inoremap <silent> <Esc> <Esc>l +let g:buftabline_show = 2 +let g:buftabline_numbers = 1 let g:user_emmet_leader_key='<Space>' let g:user_emmet_mode='n' let g:user_emmet_install_global = 0 |
