added color support and started basic config
This commit is contained in:
13
init.lua
13
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.
|
||||
|
||||
4
lua/custom/plugins/hologram.lua
Normal file
4
lua/custom/plugins/hologram.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
return {
|
||||
'edluffy/hologram.nvim',
|
||||
auto_display = true, -- WIP automatic markdown image display, may be prone to breaking
|
||||
}
|
||||
5
lua/custom/plugins/obsidian.lua
Normal file
5
lua/custom/plugins/obsidian.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
{
|
||||
'obsidian-nvim/obsidian.nvim',
|
||||
},
|
||||
}
|
||||
23
lua/custom/plugins/presence.lua
Normal file
23
lua/custom/plugins/presence.lua
Normal file
@@ -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(<filename>, 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 = "<label>", url = "<url>" }, ...}`, or a function(buffer: string, repo_url: string|nil): table)
|
||||
file_assets = {}, -- Custom file asset definitions keyed by file names and extensions (see default config at `lua/presence/file_assets.lua` for reference)
|
||||
show_time = true, -- Show the timer
|
||||
|
||||
-- Rich Presence text options
|
||||
editing_text = 'Editing %s', -- Format string rendered when an editable file is loaded in the buffer (either string or function(filename: string): string)
|
||||
file_explorer_text = 'Browsing %s', -- Format string rendered when browsing a file explorer (either string or function(file_explorer_name: string): string)
|
||||
git_commit_text = 'Committing changes', -- Format string rendered when committing changes in git (either string or function(filename: string): string)
|
||||
plugin_manager_text = 'Managing plugins', -- Format string rendered when managing plugins (either string or function(plugin_manager_name: string): string)
|
||||
reading_text = 'Reading %s', -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer (either string or function(filename: string): string)
|
||||
workspace_text = 'Working on %s', -- Format string rendered when in a git repository (either string or function(project_name: string|nil, filename: string): string)
|
||||
line_number_text = 'Line %s out of %s', -- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string)
|
||||
}
|
||||
3
lua/custom/plugins/tmux-status.lua
Normal file
3
lua/custom/plugins/tmux-status.lua
Normal file
@@ -0,0 +1,3 @@
|
||||
return {
|
||||
'vimpostor/vim-tpipeline',
|
||||
}
|
||||
Reference in New Issue
Block a user