Update lvim, zsh, vscode

This commit is contained in:
Smirnov-O 2021-08-20 19:23:02 +03:00
parent 4c57b36f1b
commit c36863d722
28 changed files with 613 additions and 115 deletions

View file

@ -0,0 +1,11 @@
local M = {}
local g = vim.g
M.setup = function()
vim.g.localleader = ","
g["conjure#filetype#fennel"] = "conjure.client.fennel.stdio"
end
return M

View file

@ -0,0 +1,14 @@
local M = {}
function M.map(mode, key, cmd)
vim.api.nvim_set_keymap(mode, key, cmd, { silent = true })
end
M.setup = function()
require("hop").setup()
M.map("n", "f", "<cmd>HopWord<cr>")
M.map("n", "F", "<cmd>HopLine<cr>")
end
return M

View file

@ -0,0 +1,22 @@
local M = {}
M.setup = function()
require("package-info").setup {
{
autostart = true,
colors = {
up_to_date = "#3C4048",
outdated = "#6ec0fa",
},
icons = {
enable = true,
style = {
up_to_date = "|  ",
outdated = "|  ",
},
},
},
}
end
return M

View file

@ -0,0 +1,20 @@
local M = {}
M.setup = function()
require("spectre").setup {
color_devicons = true,
highlights = { ui = "String", search = "DiffChange", replace = "DiffDelete" },
find_engine = {
["rg"] = {
cmd = "rg",
args = { "--color=never", "--no-heading", "--with-filename", "--line-number", "--column" },
options = {
["ignore-case"] = { value = "--ignore-case", icon = "[I]", desc = "ignore case" },
["hidden"] = { value = "--hidden", desc = "hidden file", icon = "[H]" },
},
},
},
}
end
return M