This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; By default, Which-key doesn't give much help for prefix-keys. It | |
| ;; either shows the generic description, "+prefix", or the name of a | |
| ;; prefix-command, which usually isn't as descriptive as we'd like. | |
| ;; | |
| ;; Here are some descriptions for the default bindings in `global-map' | |
| ;; and `org-mode-map'. | |
| (which-key-add-key-based-replacements | |
| "<f1> 4" "help-other-win" | |
| "<f1>" "help" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---@class InactiveRegionsModule | |
| ---@field config InactiveRegionsConfig | |
| ---@field ns integer Namespace ID for highlights | |
| ---@field _state InactiveRegionsState Internal state | |
| local InactiveRegions = {} | |
| ---@class InactiveRegionsConfig | |
| ---@field opacity number Opacity level for inactive regions (0.0-1.0) | |
| ---@field namespace string? Custom namespace name | |
| ---@field debounce_ms integer Debounce delay for updates in milliseconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vim.pack.add { | |
| { src = 'https://github.com/neovim/nvim-lspconfig' }, | |
| { src = 'https://github.com/mason-org/mason.nvim' }, | |
| { src = 'https://github.com/mason-org/mason-lspconfig.nvim' }, | |
| { src = 'https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim' }, | |
| } | |
| require('mason').setup() | |
| require('mason-lspconfig').setup() | |
| require('mason-tool-installer').setup({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vim.opt.number = true | |
| vim.opt.relativenumber = true | |
| vim.opt.tabstop = 2 | |
| vim.opt.softtabstop = 2 | |
| vim.pack.add({ | |
| { src = "https://github.com/neovim/nvim-lspconfig" }, | |
| { src = "https://github.com/mason-org/mason.nvim" }, | |
| { src = "https://github.com/mason-org/mason-lspconfig.nvim" }, | |
| { src = "https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Place your key bindings in this file to override the defaults | |
| [ | |
| // terminal toggle | |
| { | |
| "key": "f12", | |
| "command": "workbench.action.terminal.toggleTerminal", | |
| }, | |
| // terminal navigation | |
| { | |
| "key": "ctrl+1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/sh | |
| bspc config top_padding 24 | |
| bspc config bottom_padding 0 | |
| bspc config left_padding 0 | |
| bspc config right_padding 0 | |
| bspc config border_width 3 | |
| bspc config window_gap 16 | |
| # Borders and gaps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/sh | |
| bspc config top_padding 24 | |
| bspc config bottom_padding 0 | |
| bspc config left_padding 0 | |
| bspc config right_padding 0 | |
| bspc config border_width 3 | |
| bspc config window_gap 16 | |
| # Borders and gaps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/sh | |
| gap=4 | |
| PANEL_HEIGHT=22 | |
| BORDER_WIDTH=2 | |
| export gap | |
| export PANEL_HEIGHT | |
| export BORDER_WIDTH | |
| #This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges. | |
| bspc config window_gap $gap; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| blogpost: | |
| https://vonheikemen.github.io/devlog/tools/setup-nvim-lspconfig-plus-nvim-cmp/ | |
| Dependencies: | |
| LSP: | |
| https://github.com/neovim/nvim-lspconfig | |
| https://github.com/williamboman/mason.nvim (optional) | |
| https://github.com/williamboman/mason-lspconfig.nvim (optional) |
NewerOlder