A few changes:
- Updated all vim plugins - Fixed tmux keybind for horizontal splits - Fixed warnings about the config => opt change in lazy.nvim
This commit is contained in:
parent
9eeb459372
commit
5bd0813530
11 changed files with 94 additions and 63 deletions
dotfiles/neovim/lua/my/plugins
|
@ -2,13 +2,44 @@ local env = require("my.helpers.env")
|
|||
|
||||
local M = {
|
||||
"glepnir/dashboard-nvim",
|
||||
lazy = false,
|
||||
event = "VimEnter",
|
||||
opts = {
|
||||
theme = "hyper",
|
||||
config = {
|
||||
week_header = {
|
||||
enable = true,
|
||||
},
|
||||
-- TODO: actually customize these
|
||||
shortcut = {
|
||||
{
|
||||
desc = " Update",
|
||||
group = "@property",
|
||||
action = "Lazy update",
|
||||
key = "u",
|
||||
},
|
||||
{
|
||||
desc = " Files",
|
||||
group = "Label",
|
||||
action = "Telescope find_files",
|
||||
key = "f",
|
||||
},
|
||||
{
|
||||
desc = " Apps",
|
||||
group = "DiagnosticHint",
|
||||
action = "Telescope app",
|
||||
key = "a",
|
||||
},
|
||||
{
|
||||
desc = " dotfiles",
|
||||
group = "Number",
|
||||
action = "Telescope dotfiles",
|
||||
key = "d",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
cond = env.vscode.not_active() and env.firenvim.not_active(),
|
||||
dependencies = { { "nvim-tree/nvim-web-devicons" } },
|
||||
}
|
||||
|
||||
function M.config()
|
||||
local db = require("dashboard")
|
||||
db.custom_header = {}
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
@ -6,7 +6,7 @@ local M = {
|
|||
cond = env.firenvim.active(),
|
||||
}
|
||||
|
||||
function M.setup()
|
||||
function M.config()
|
||||
vim.g.firenvim_config = {
|
||||
localSettings = {
|
||||
[".*"] = {
|
||||
|
|
|
@ -93,7 +93,7 @@ return {
|
|||
},
|
||||
|
||||
-- nice looking icons
|
||||
"kyazdani42/nvim-web-devicons",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
|
||||
{
|
||||
-- easly switch between tmux and vim panes
|
||||
|
@ -138,7 +138,7 @@ return {
|
|||
{
|
||||
-- export to pastebin like services
|
||||
"rktjmp/paperplanes.nvim",
|
||||
config = {
|
||||
opts = {
|
||||
provider = "paste.rs",
|
||||
},
|
||||
keys = { "PP" },
|
||||
|
@ -182,7 +182,7 @@ return {
|
|||
{
|
||||
"ruifm/gitlinker.nvim", -- generate permalinks for code
|
||||
-- dependencies = { "plenary.nvim" },
|
||||
config = {
|
||||
opts = {
|
||||
mappings = "<leader>yg",
|
||||
},
|
||||
init = function()
|
||||
|
|
|
@ -20,7 +20,7 @@ local M = {
|
|||
{
|
||||
"smjonas/inc-rename.nvim",
|
||||
cmd = "IncRename",
|
||||
config = {
|
||||
opts = {
|
||||
input_buffer_type = "dressing",
|
||||
},
|
||||
dependencies = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
"folke/neoconf.nvim",
|
||||
cmd = "Neoconf",
|
||||
config = {
|
||||
opts = {
|
||||
-- import existing settings from other plugins
|
||||
import = {
|
||||
vscode = true, -- local .vscode/settings.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue