[MINOR] VeryLazy on lazy nvim and some other stuff
This commit is contained in:
parent
ed3279313d
commit
9bb5785c8e
10 changed files with 42 additions and 47 deletions
|
@ -1,5 +1,5 @@
|
||||||
function ls
|
function ls
|
||||||
eza --icons -l $argv
|
eza --icons -l --sort type $argv
|
||||||
end
|
end
|
||||||
abbr -a find fd
|
abbr -a find fd
|
||||||
abbr -a df duf
|
abbr -a df duf
|
||||||
|
|
|
@ -25,15 +25,18 @@ lazy.setup({
|
||||||
--better navigation with 's-letter'
|
--better navigation with 's-letter'
|
||||||
{
|
{
|
||||||
'ggandor/leap.nvim',
|
'ggandor/leap.nvim',
|
||||||
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require('leap').add_default_mappings()
|
require('leap').add_default_mappings()
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
|
||||||
--Nvim to browser
|
--Nvim to browser
|
||||||
'subnut/nvim-ghost.nvim',
|
'subnut/nvim-ghost.nvim',
|
||||||
|
|
||||||
{
|
{
|
||||||
'2kabhishek/nerdy.nvim',
|
'2kabhishek/nerdy.nvim',
|
||||||
|
event = "VeryLazy",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'stevearc/dressing.nvim',
|
'stevearc/dressing.nvim',
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim',
|
||||||
|
@ -57,6 +60,7 @@ lazy.setup({
|
||||||
|
|
||||||
{
|
{
|
||||||
"folke/todo-comments.nvim",
|
"folke/todo-comments.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
config = function()
|
config = function()
|
||||||
require("todo-comments").setup {}
|
require("todo-comments").setup {}
|
||||||
|
@ -65,6 +69,7 @@ lazy.setup({
|
||||||
|
|
||||||
{
|
{
|
||||||
'folke/zen-mode.nvim',
|
'folke/zen-mode.nvim',
|
||||||
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("zen-mode").setup {
|
require("zen-mode").setup {
|
||||||
vim.keymap.set('n', '<leader>z', '<Cmd> ZenMode <CR>', { noremap = true, silent = true })
|
vim.keymap.set('n', '<leader>z', '<Cmd> ZenMode <CR>', { noremap = true, silent = true })
|
||||||
|
@ -75,8 +80,6 @@ lazy.setup({
|
||||||
--Change add and remove surroundings from words
|
--Change add and remove surroundings from words
|
||||||
'tpope/vim-surround',
|
'tpope/vim-surround',
|
||||||
'tpope/vim-obsession',
|
'tpope/vim-obsession',
|
||||||
'tpope/vim-fugitive',
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
'NvChad/nvim-colorizer.lua',
|
'NvChad/nvim-colorizer.lua',
|
||||||
|
@ -87,6 +90,7 @@ lazy.setup({
|
||||||
|
|
||||||
{
|
{
|
||||||
"roobert/tailwindcss-colorizer-cmp.nvim",
|
"roobert/tailwindcss-colorizer-cmp.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("tailwindcss-colorizer-cmp").setup({
|
require("tailwindcss-colorizer-cmp").setup({
|
||||||
color_square_width = 2,
|
color_square_width = 2,
|
||||||
|
@ -95,6 +99,7 @@ lazy.setup({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'laytan/tailwind-sorter.nvim',
|
'laytan/tailwind-sorter.nvim',
|
||||||
|
event = "VeryLazy",
|
||||||
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-lua/plenary.nvim' },
|
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-lua/plenary.nvim' },
|
||||||
build = 'cd formatter && bun i && bun run build',
|
build = 'cd formatter && bun i && bun run build',
|
||||||
config = true,
|
config = true,
|
||||||
|
@ -131,6 +136,7 @@ lazy.setup({
|
||||||
'stevearc/dressing.nvim',
|
'stevearc/dressing.nvim',
|
||||||
{
|
{
|
||||||
'krady21/compiler-explorer.nvim',
|
'krady21/compiler-explorer.nvim',
|
||||||
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("compiler-explorer").setup({
|
require("compiler-explorer").setup({
|
||||||
url = "https://godbolt.org",
|
url = "https://godbolt.org",
|
||||||
|
@ -153,7 +159,8 @@ lazy.setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
'luk400/vim-jukit'
|
'luk400/vim-jukit',
|
||||||
|
event = "VeryLazy",
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -178,6 +185,7 @@ lazy.setup({
|
||||||
|
|
||||||
{
|
{
|
||||||
'stevearc/oil.nvim',
|
'stevearc/oil.nvim',
|
||||||
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("oil").setup()
|
require("oil").setup()
|
||||||
end
|
end
|
||||||
|
@ -231,10 +239,9 @@ lazy.setup({
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
|
||||||
'simrat39/rust-tools.nvim',
|
|
||||||
|
|
||||||
{
|
{
|
||||||
'nvimtools/none-ls.nvim',
|
'nvimtools/none-ls.nvim',
|
||||||
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require 'plugins.none-ls'
|
require 'plugins.none-ls'
|
||||||
end
|
end
|
||||||
|
@ -242,6 +249,7 @@ lazy.setup({
|
||||||
|
|
||||||
{
|
{
|
||||||
'lervag/vimtex',
|
'lervag/vimtex',
|
||||||
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require 'plugins.vimtex'
|
require 'plugins.vimtex'
|
||||||
end
|
end
|
||||||
|
@ -277,7 +285,7 @@ lazy.setup({
|
||||||
--does so much
|
--does so much
|
||||||
{
|
{
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim',
|
||||||
tag = '0.1.0',
|
tag = '0.1.4',
|
||||||
-- or , branch = '0.1.x',
|
-- or , branch = '0.1.x',
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||||
config = function() require('plugins.telescope') end
|
config = function() require('plugins.telescope') end
|
||||||
|
@ -295,19 +303,19 @@ lazy.setup({
|
||||||
|
|
||||||
-------------------------------------------OTHERS----------------------------------------------
|
-------------------------------------------OTHERS----------------------------------------------
|
||||||
|
|
||||||
{
|
-- {
|
||||||
"nvim-neorg/neorg",
|
-- "nvim-neorg/neorg",
|
||||||
build = ":Neorg sync-parsers",
|
-- build = ":Neorg sync-parsers",
|
||||||
config = function()
|
-- config = function()
|
||||||
require("neorg").setup {
|
-- require("neorg").setup {
|
||||||
load = {
|
-- load = {
|
||||||
["core.defaults"] = {}, -- Loads default behaviour
|
-- ["core.defaults"] = {}, -- Loads default behaviour
|
||||||
["core.concealer"] = {} -- Adds pretty icons to your documents
|
-- ["core.concealer"] = {} -- Adds pretty icons to your documents
|
||||||
},
|
-- },
|
||||||
}
|
-- }
|
||||||
end,
|
-- end,
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
-- dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
},
|
-- },
|
||||||
|
|
||||||
-- 'kmonad/kmonad-vim',
|
-- 'kmonad/kmonad-vim',
|
||||||
-- 'elkowar/yuck.vim',
|
-- 'elkowar/yuck.vim',
|
||||||
|
|
|
@ -59,29 +59,3 @@ mason_lspconfig.setup_handlers {
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
require('lspconfig')['hls'].setup {
|
|
||||||
filetypes = { 'haskell', 'lhaskell', 'cabal' },
|
|
||||||
on_attach = on_attach,
|
|
||||||
flags = lsp_flags,
|
|
||||||
capabilities = capabilities,
|
|
||||||
}
|
|
||||||
|
|
||||||
require("rust-tools").setup({
|
|
||||||
server = {
|
|
||||||
on_attach = on_attach,
|
|
||||||
capabilities = capabilities,
|
|
||||||
settings = {
|
|
||||||
["rust-analyzer"] = {
|
|
||||||
checkOnSave = {
|
|
||||||
command = "clippy",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
tools = {
|
|
||||||
hover_actions = {
|
|
||||||
auto_focus = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
rule ={
|
rule ={
|
||||||
matches = {
|
matches = {
|
||||||
{
|
{
|
||||||
{"node.name","equals","GA104 High Definition Audio Controller Digital Stereo (HDMI 2)"},
|
{"node.description","equals","GA104 High Definition Audio Controller Digital Stereo (HDMI)"},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
apply_properties = {
|
apply_properties = {
|
||||||
|
|
|
@ -17,3 +17,5 @@
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
[pull]
|
[pull]
|
||||||
rebase = false
|
rebase = false
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
|
BIN
.local/bin/shellcheck
Executable file
BIN
.local/bin/shellcheck
Executable file
Binary file not shown.
2
.local/bin/watchsync
Executable file
2
.local/bin/watchsync
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
watch -d grep -e Dirty: /proc/meminfo
|
BIN
.local/bin/xmobar
Executable file
BIN
.local/bin/xmobar
Executable file
Binary file not shown.
BIN
.local/bin/xmonad
Executable file
BIN
.local/bin/xmonad
Executable file
Binary file not shown.
|
@ -8,3 +8,12 @@ Host gon
|
||||||
Port 522
|
Port 522
|
||||||
ControlPath ~/.ssh/session.%r@%h:%p
|
ControlPath ~/.ssh/session.%r@%h:%p
|
||||||
ControlPersist 5m
|
ControlPersist 5m
|
||||||
|
|
||||||
|
Host search
|
||||||
|
ControlMaster auto
|
||||||
|
HostName s7edu2.di.uminho.pt
|
||||||
|
User pg53595
|
||||||
|
Port 22
|
||||||
|
IdentityFile ~/.ssh/id_search
|
||||||
|
ControlPath ~/.ssh/session.%r@%h:%p
|
||||||
|
ControlPersist 5m
|
||||||
|
|
Loading…
Add table
Reference in a new issue