From d59f34a6f30b654197c29e8a3ace26dc3b99f5b8 Mon Sep 17 00:00:00 2001 From: venus Date: Mon, 8 Dec 2025 22:04:30 -0600 Subject: [PATCH] added color support and started basic config --- init.lua | 13 +++++++++++++ lua/custom/plugins/hologram.lua | 4 ++++ lua/custom/plugins/obsidian.lua | 5 +++++ lua/custom/plugins/presence.lua | 23 +++++++++++++++++++++++ lua/custom/plugins/tmux-status.lua | 3 +++ 5 files changed, 48 insertions(+) create mode 100644 lua/custom/plugins/hologram.lua create mode 100644 lua/custom/plugins/obsidian.lua create mode 100644 lua/custom/plugins/presence.lua create mode 100644 lua/custom/plugins/tmux-status.lua diff --git a/init.lua b/init.lua index 9fa8357..5a99a44 100644 --- a/init.lua +++ b/init.lua @@ -33,6 +33,19 @@ vim.g.have_nerd_font = false -- NOTE: You can change these options as you wish! -- For more options, you can see `:help option-list` +-- # STARTUP SCRIPT +vim.cmd ':cd %:h' -- set local directory when opening nvim +-- vim.cmd ("Explore") +--vim.cmd 'Lexplore' + +-- netRW settings +-- set netrw style to tree by default +vim.g.netrw_liststyle = 3 +vim.g.netrw_banner = 1 +vim.g.netrw_altv = 1 -- Create the split of the Netrw window to the left + +--vim.cmd(':Lexplore %:p:h') -- Use this to open the local directory + -- Make line numbers default vim.o.number = true -- You can also add relative line numbers, to help with jumping. diff --git a/lua/custom/plugins/hologram.lua b/lua/custom/plugins/hologram.lua new file mode 100644 index 0000000..5cb679f --- /dev/null +++ b/lua/custom/plugins/hologram.lua @@ -0,0 +1,4 @@ +return { + 'edluffy/hologram.nvim', + auto_display = true, -- WIP automatic markdown image display, may be prone to breaking +} diff --git a/lua/custom/plugins/obsidian.lua b/lua/custom/plugins/obsidian.lua new file mode 100644 index 0000000..e97095c --- /dev/null +++ b/lua/custom/plugins/obsidian.lua @@ -0,0 +1,5 @@ +return { + { + 'obsidian-nvim/obsidian.nvim', + }, +} diff --git a/lua/custom/plugins/presence.lua b/lua/custom/plugins/presence.lua new file mode 100644 index 0000000..f81b5fc --- /dev/null +++ b/lua/custom/plugins/presence.lua @@ -0,0 +1,23 @@ +return { + 'andweeb/presence.nvim', + auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`) + neovim_image_text = 'The One True Text Editor', -- Text displayed when hovered over the Neovim image + main_image = 'neovim', -- Main image display (either "neovim" or "file") + -- client_id = "793271441293967371", -- Use your own Discord application client id (not recommended) + log_level = nil, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error") + debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(, true)`) + enable_line_number = false, -- Displays the current line number instead of the current project + blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches + buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "