changes
Signed-off-by: Tiago Garcia <tiago.rgarcia@ua.pt>
This commit is contained in:
parent
627ee628db
commit
ff2f75ba8c
|
@ -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
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ require('rainbow-delimiters.setup').setup {
|
|||
query = {
|
||||
[''] = 'rainbow-delimiters',
|
||||
lua = 'rainbow-blocks',
|
||||
bash = 'rainbow-blocks',
|
||||
},
|
||||
priority = {
|
||||
[''] = 110,
|
||||
|
|
|
@ -5,3 +5,5 @@ require('tiagorg.colors')
|
|||
|
||||
require('Comment').setup()
|
||||
require("nvim-surround").setup()
|
||||
|
||||
vim.g.nvim_config_path = vim.fn.stdpath('config')
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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>")
|
||||
|
|
Loading…
Reference in New Issue