diff --git a/config/fish/config.fish b/config/fish/config.fish index 1ab8bec..69d784d 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -49,4 +49,8 @@ if type -q fzf end end +# set theme fish_config theme choose gruvbox-dark + +# set keybindings +bind \cB beginning-of-line diff --git a/config/nvim/lua/plugins/lasagna.lua b/config/nvim/lua/plugins/lasagna.lua index 6092cf9..15e7d93 100644 --- a/config/nvim/lua/plugins/lasagna.lua +++ b/config/nvim/lua/plugins/lasagna.lua @@ -12,9 +12,9 @@ return { symbol_in_winbar = { enable = false, }, - diagnostic = { - show_code_action = false, - }, + diagnostic = { + show_code_action = false, + }, }) local keymap = vim.keymap.set @@ -23,30 +23,30 @@ return { -- If there is no definition, it will instead be hidden -- When you use an action in finder like "open vsplit", -- you can use to jump back - keymap("n", "gh", "Lspsaga lsp_finder") + keymap("n", "gf", "Lspsaga lsp_finder") -- Code action keymap({ "n", "v" }, "ca", "Lspsaga code_action") -- Rename all occurrences of the hovered word for the entire file - keymap("n", "gr", "Lspsaga rename") + keymap("n", "gr", "Lspsaga rename") -- Peek definition -- You can edit the file containing the definition in the floating window -- It also supports open/vsplit/etc operations, do refer to "definition_action_keys" -- It also supports tagstack -- Use to jump back - keymap("n", "gp", "Lspsaga peek_definition") + keymap("n", "gp", "Lspsaga peek_definition") -- Go to definition - keymap("n", "gd", "Lspsaga goto_definition") + keymap("n", "gd", "Lspsaga goto_definition") -- Peek type definition -- You can edit the file containing the type definition in the floating window -- It also supports open/vsplit/etc operations, do refer to "definition_action_keys" -- It also supports tagstack -- Use to jump back - keymap("n", "gt", "Lspsaga peek_type_definition") + keymap("n", "gt", "Lspsaga peek_type_definition") -- Show line diagnostics -- You can pass argument ++unfocus to @@ -84,11 +84,11 @@ return { -- there is no information available. -- To disable it just use ":Lspsaga hover_doc ++quiet" -- Pressing the key twice will enter the hover window - keymap("n", "K", "Lspsaga hover_doc") + keymap("n", "gk", "Lspsaga hover_doc") -- Call hierarchy - keymap("n", "ci", "Lspsaga incoming_calls") - keymap("n", "co", "Lspsaga outgoing_calls") + keymap("n", "ci", "Lspsaga incoming_calls") + keymap("n", "co", "Lspsaga outgoing_calls") -- Floating terminal keymap({ "n", "t" }, "", "Lspsaga term_toggle")