added code action bingd )

This commit is contained in:
LinlyBoi
2023-02-19 14:20:53 +02:00
parent 70df5dd16d
commit c0902b570e
2 changed files with 8 additions and 15 deletions

View File

@@ -203,4 +203,5 @@ fi
export PYENV_ROOT="$HOME/.pyenv" export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)" eval "$(pyenv init -)"
#anaconda slows shit down D:<<<<
alias anaconda='source ~/.zsh_anaconda'

View File

@@ -210,6 +210,9 @@ local config = {
-- ["<C-s>"] = { "<cmd>:w!<cr>", desc = "Save File" }, -- change description but the same command -- ["<C-s>"] = { "<cmd>:w!<cr>", desc = "Save File" }, -- change description but the same command
["<leader>cp"] = { "<cmd>Copilot panel<cr>", desc = "Copilot panel"}, ["<leader>cp"] = { "<cmd>Copilot panel<cr>", desc = "Copilot panel"},
["<leader>Lll"] = { "<cmd>VimtexCompile<cr>", desc = "Live compiling"}, ["<leader>Lll"] = { "<cmd>VimtexCompile<cr>", desc = "Live compiling"},
["<leader>cd"] = {function() require("duck").hatch("🦀") end, desc = "duck hatch"},
["<leader>ck"] = {function() require("duck").cook() end, desc = "duck cook"},
["<leader>ca"] = {function() vim.lsp.buf.code_action() end, desc = "Code action"},
}, },
t = { t = {
-- setting a mapping to false will disable it -- setting a mapping to false will disable it
@@ -232,20 +235,9 @@ local config = {
["tpope/vim-fugitive"] = {}, ["tpope/vim-fugitive"] = {},
["lervag/vimtex"] = {}, ["lervag/vimtex"] = {},
["akinsho/flutter-tools.nvim"] = { ["akinsho/flutter-tools.nvim"] = {
require = "nvim-lua/plenary.nvim", requires = "nvim-lua/plenary.nvim",
}, },
["chipsenkbeil/distant.nvim"] = { ["tamton-aquib/duck.nvim"] = {},
config = function()
require('distant').setup {
-- Applies Chip's personal settings to every machine you connect to
--
-- 1. Ensures that distant servers terminate with no connections
-- 2. Provides navigation bindings for remote directories
-- 3. Provides keybinding to jump into a remote file's parent directory
['*'] = require('distant.settings').chip_default()
}
end
}
-- You can also add new plugins here as well: -- You can also add new plugins here as well:
-- Add plugins, the packer syntax without the "use" -- Add plugins, the packer syntax without the "use"
@@ -362,7 +354,7 @@ local config = {
-- third key is the key to bring up next level and its displayed -- third key is the key to bring up next level and its displayed
-- group name in which-key top level menu -- group name in which-key top level menu
["b"] = { name = "Buffer" }, ["b"] = { name = "Buffer" },
["c"] = { name = "Crime"}, ["c"] = { name = "Code Stuff"},
["L"] = { name = "LaTEX"} ["L"] = { name = "LaTEX"}
}, },
}, },