Update popup styling
Refactor shortcuts to 'v' for view Add shortcut to expand error messages in a popup
This commit is contained in:
parent
4da2691f16
commit
97be591856
3 changed files with 9 additions and 2 deletions
|
@ -18,6 +18,12 @@ vim.cmd("set splitright")
|
|||
vim.cmd("set spl=en_us spell")
|
||||
vim.opt.guifont = "JetBrainsMonoNerdFontMono:14"
|
||||
|
||||
-- Customize window border
|
||||
vim.diagnostic.config({
|
||||
float = {
|
||||
border = "single",
|
||||
},})
|
||||
|
||||
-- Custom Key Binds
|
||||
vim.g.mapleader = " "
|
||||
|
||||
|
@ -27,6 +33,7 @@ require("config.lazy")
|
|||
-- Configure nvim Keymaps
|
||||
vim.keymap.set("n", "<leader>r", ":source %<CR>", { desc = "Reload Config" })
|
||||
vim.keymap.set("n", "<leader>bs", ":vsplit<CR>", { desc = "Vertical Split" })
|
||||
vim.keymap.set("n", "<leader>vm", ":lua vim.diagnostic.open_float()<CR>", { desc = "Show Diagnostic Message" })
|
||||
|
||||
-- remap yank to system clipboard
|
||||
vim.keymap.set("n", "<leader>y", '"+y', { desc = "Yank to Clipboard" })
|
||||
|
|
|
@ -67,7 +67,7 @@ return {
|
|||
capabilities = capabilities,
|
||||
})
|
||||
lspconfig.yamlls.setup({ capabilities = capabilities })
|
||||
vim.keymap.set("n", "<leader>cs", vim.lsp.buf.hover, { desc = "Show Docstring" })
|
||||
vim.keymap.set("n", "<leader>vd", vim.lsp.buf.hover, { desc = "View Docstring" })
|
||||
vim.keymap.set("n", "<leader>gt", vim.lsp.buf.definition, { desc = "Go To Definition" })
|
||||
vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, { desc = "Show Code Actions" })
|
||||
end,
|
||||
|
|
|
@ -10,6 +10,6 @@ return {
|
|||
},
|
||||
})
|
||||
vim.cmd("colorscheme github_dark_default")
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "#0d1117" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "#222222" })
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue