Change presence plugin
This commit is contained in:
@@ -73,14 +73,33 @@ require('lualine').setup {
|
|||||||
extensions = {}
|
extensions = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
require('presence').setup({
|
|
||||||
neovim_image_text = 'Because emacs was too intimidating',
|
|
||||||
editing_text = 'Typing away...',
|
|
||||||
reading_text = 'Reading the man pages'
|
|
||||||
})
|
|
||||||
|
|
||||||
require('screenkey').setup{}
|
require('screenkey').setup{}
|
||||||
|
|
||||||
|
-- The setup config table shows all available config options with their default values:
|
||||||
|
require("neocord").setup({
|
||||||
|
-- General options
|
||||||
|
logo = "auto", -- "auto" or url
|
||||||
|
logo_tooltip = nil, -- nil or string
|
||||||
|
main_image = "language", -- "language" or "logo"
|
||||||
|
client_id = "1157438221865717891", -- 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)`)
|
||||||
|
blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches
|
||||||
|
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
|
||||||
|
global_timer = false, -- if set true, timer won't update when any event are triggered
|
||||||
|
|
||||||
|
-- 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)
|
||||||
|
terminal_text = "Using Terminal", -- Format string rendered when in terminal mode.
|
||||||
|
})
|
||||||
|
|
||||||
vim.keymap.set({'n', 'x', 'o'}, 'z', vim.diagnostic.open_float)
|
vim.keymap.set({'n', 'x', 'o'}, 'z', vim.diagnostic.open_float)
|
||||||
vim.keymap.set({'n', 'x', 'o', 'i'}, '<c-s>', "<cmd>up<cr>")
|
vim.keymap.set({'n', 'x', 'o', 'i'}, '<c-s>', "<cmd>up<cr>")
|
||||||
|
|
||||||
@@ -102,11 +121,14 @@ vim.cmd([[
|
|||||||
no k o
|
no k o
|
||||||
no <c-f> /
|
no <c-f> /
|
||||||
ino <c-v> <esc><c-v>
|
ino <c-v> <esc><c-v>
|
||||||
|
ino <c-bs> <c-w>
|
||||||
|
|
||||||
no h <left>
|
no h <left>
|
||||||
no t <up>
|
no t <up>
|
||||||
no n <down>
|
no n <down>
|
||||||
no s <right>
|
no s <right>
|
||||||
|
no T <pageup>
|
||||||
|
no N <pagedown>
|
||||||
no / ^
|
no / ^
|
||||||
no = <end>
|
no = <end>
|
||||||
|
|
||||||
@@ -118,7 +140,6 @@ vim.cmd([[
|
|||||||
nn <c-b> :bn<enter>
|
nn <c-b> :bn<enter>
|
||||||
nn <c-u> :UndotreeToggle<enter>
|
nn <c-u> :UndotreeToggle<enter>
|
||||||
|
|
||||||
ino <c-bs> <c-w>
|
|
||||||
no j J
|
no j J
|
||||||
nn <enter> :noh<enter>
|
nn <enter> :noh<enter>
|
||||||
nn <c-enter> n
|
nn <c-enter> n
|
||||||
|
|||||||
22
nvim/lazy-lock.json
Normal file
22
nvim/lazy-lock.json
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"autoclose.nvim": { "branch": "main", "commit": "b2077aa2c83df7ebc19b2a20a3a0654b24ae9c8f" },
|
||||||
|
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||||
|
"cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" },
|
||||||
|
"cmp-vsnip": { "branch": "main", "commit": "989a8a73c44e926199bfd05fa7a516d51f2d2752" },
|
||||||
|
"codesnap.nvim": { "branch": "main", "commit": "be6d6b9a3b5e6999edbda76b16dace03d9bfcd3d" },
|
||||||
|
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
||||||
|
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||||
|
"lspkind-nvim": { "branch": "master", "commit": "d53c53d76af05641e2ea7d3f8629019fc9c58aff" },
|
||||||
|
"lualine.nvim": { "branch": "master", "commit": "15884cee63a8c205334ab13ab1c891cd4d27101a" },
|
||||||
|
"neocord": { "branch": "main", "commit": "41bacd44e9d36f5e36e0271672ac2c02f6fa355a" },
|
||||||
|
"nvim": { "branch": "main", "commit": "1bf070129c0b6f77cc23f6a2212dcdc868308c52" },
|
||||||
|
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
|
||||||
|
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
||||||
|
"nvim-lspconfig": { "branch": "master", "commit": "4bc481b6f0c0cf3671fc894debd0e00347089a4e" },
|
||||||
|
"nvim-web-devicons": { "branch": "master", "commit": "2c2b4eafce6cdd0cb165036faa17396eff18f847" },
|
||||||
|
"screenkey.nvim": { "branch": "main", "commit": "16390931d847b1d5d77098daccac4e55654ac9e2" },
|
||||||
|
"transparent.nvim": { "branch": "main", "commit": "8a2749a2fa74f97fe6557f61b89ac7fd873f3c21" },
|
||||||
|
"typst-preview.nvim": { "branch": "master", "commit": "2503b188cd2a17ce44fdd21a944a93335e935215" },
|
||||||
|
"vim-snippets": { "branch": "master", "commit": "f0a3184d9f90b96b044d5914625a25c554d7f301" },
|
||||||
|
"vim-vsnip": { "branch": "master", "commit": "0a4b8419e44f47c57eec4c90df17567ad4b1b36e" }
|
||||||
|
}
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
return {
|
return {
|
||||||
'andweeb/presence.nvim',
|
'IogaMaster/neocord',
|
||||||
lazy = false
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user