Signed-off-by: Tiago Garcia <tiago.rgarcia@ua.pt>
This commit is contained in:
Tiago Garcia 2024-07-17 19:43:46 +01:00
parent 627ee628db
commit ff2f75ba8c
Signed by: TiagoRG
GPG Key ID: FF0A53A30B1ADF82
5 changed files with 14 additions and 6 deletions

View File

@ -15,13 +15,18 @@ require("presence").setup({
"toggleterm",
"curriculum-vitae",
"Nextcloud",
"NvimTree",
"NvimTree_1",
},
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)
adoc = { "AsciiDoc", "https://www.tiagorg.pt/assets/logos/adoc.png" },
asm = { "Assembly", "https://www.tiagorg.pt/assets/logos/asm.png" },
s = { "Assembly", "https://www.tiagorg.pt/assets/logos/asm.png" },
["CMakeLists.txt"] = { "CMake", "https://www.tiagorg.pt/assets/icons/png/cmake.png" },
[".env"] = { ".env", "https://www.tiagorg.pt/assets/icons/png/env.png" },
["zsh;#toggleterm#1"] = { "Terminal", "https://www.tiagorg.pt/assets/icons/png/terminal.png" },
adoc = { "AsciiDoc", "https://www.tiagorg.pt/assets/icons/png/adoc.png" },
asm = { "Assembly", "https://www.tiagorg.pt/assets/icons/png/asm.png" },
cmake = { "CMake", "https://www.tiagorg.pt/assets/icons/png/cmake.png" },
env = { ".env", "https://www.tiagorg.pt/assets/icons/png/env.png" },
s = { "Assembly", "https://www.tiagorg.pt/assets/icons/png/asm.png" },
},
show_time = true, -- Show the timer

View File

@ -8,6 +8,7 @@ require('rainbow-delimiters.setup').setup {
query = {
[''] = 'rainbow-delimiters',
lua = 'rainbow-blocks',
bash = 'rainbow-blocks',
},
priority = {
[''] = 110,

View File

@ -5,3 +5,5 @@ require('tiagorg.colors')
require('Comment').setup()
require("nvim-surround").setup()
vim.g.nvim_config_path = vim.fn.stdpath('config')

View File

@ -24,6 +24,7 @@ return require('packer').startup(function(use)
}
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
use("nvim-treesitter/nvim-treesitter-context")
use "HiPhish/rainbow-delimiters.nvim"
use {
'VonHeikemen/lsp-zero.nvim',
branch = 'v2.x',
@ -56,8 +57,6 @@ return require('packer').startup(function(use)
use 'mbbill/undotree'
use "andrewferrier/wrapping.nvim"
use "lukas-reineke/indent-blankline.nvim"
-- use "HiPhish/nvim-ts-rainbow2"
use "HiPhish/rainbow-delimiters.nvim"
use "FotiadisM/tabset.nvim"
use 'nvim-tree/nvim-web-devicons'
use 'nvim-tree/nvim-tree.lua'

View File

@ -25,6 +25,7 @@ vim.keymap.set({ "n", "v" }, "<leader>y", [["+y]])
vim.keymap.set("n", "<leader>Y", [["+Y]])
vim.keymap.set({ "n", "v" }, "<leader>d", [["_d]])
vim.keymap.set("n", "<leader>vf", "<cmd>AerialPrev<CR>V$%")
vim.keymap.set("n", "<leader>df", "<cmd>AerialPrev<CR>V$%d")
vim.keymap.set("i", "<C-c>", "<Esc>")