add nvim configs
This commit is contained in:
21
.config/nvim.backup/lua/plugins/arshamiser.lua
Normal file
21
.config/nvim.backup/lua/plugins/arshamiser.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
return {
|
||||
"arsham/arshamiser.nvim",
|
||||
dependencies = {
|
||||
"arsham/arshlib.nvim",
|
||||
"famiu/feline.nvim",
|
||||
"rebelot/heirline.nvim",
|
||||
"kyazdani42/nvim-web-devicons",
|
||||
},
|
||||
config = function()
|
||||
-- ignore any parts you don't want to use
|
||||
vim.cmd.colorscheme("arshamiser_dark")
|
||||
require("arshamiser.feliniser")
|
||||
-- or:
|
||||
-- require("arshamiser.heirliniser")
|
||||
|
||||
_G.custom_foldtext = require("arshamiser.folding").foldtext
|
||||
vim.opt.foldtext = "v:lua.custom_foldtext()"
|
||||
-- if you want to draw a tabline:
|
||||
vim.api.nvim_set_option("tabline", [[%{%v:lua.require("arshamiser.tabline").draw()%}]])
|
||||
end,
|
||||
}
|
||||
22
.config/nvim.backup/lua/plugins/lsp_config.lua
Normal file
22
.config/nvim.backup/lua/plugins/lsp_config.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
return {
|
||||
-- LSP Support
|
||||
{
|
||||
'VonHeikemen/lsp-zero.nvim',
|
||||
branch = "v3.x",
|
||||
lazy = true,
|
||||
config = false,
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
{"hrsh7th/cmp-nvim-lsp"},
|
||||
}
|
||||
},
|
||||
-- Autocompletion
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
dependencies = {
|
||||
{"L3MON4D3/LuaSnip"}
|
||||
},
|
||||
},
|
||||
}
|
||||
24
.config/nvim.backup/lua/plugins/nvim-possession.lua
Normal file
24
.config/nvim.backup/lua/plugins/nvim-possession.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
return {
|
||||
{ "gennaro-tedesco/nvim-possession",
|
||||
dependencies = {
|
||||
"ibhagwan/fzf-lua",
|
||||
},
|
||||
lazy = true,
|
||||
config = true,
|
||||
init = function()
|
||||
local possession = require("nvim-possession")
|
||||
vim.keymap.set("n", "<leader>sl", function()
|
||||
possession.list()
|
||||
end)
|
||||
vim.keymap.set("n", "<leader>sn", function()
|
||||
possession.new()
|
||||
end)
|
||||
vim.keymap.set("n", "<leader>su", function()
|
||||
possession.update()
|
||||
end)
|
||||
vim.keymap.set("n", "<leader>sd", function()
|
||||
possession.delete()
|
||||
end)
|
||||
end,
|
||||
},
|
||||
}
|
||||
21
.config/nvim.backup/lua/plugins/peanuts.lua
Normal file
21
.config/nvim.backup/lua/plugins/peanuts.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
return {
|
||||
-- not deps
|
||||
{ "navarasu/onedark.nvim", cmd = "Neoconf", opts = { style = darker }},
|
||||
{ "gelguy/wilder.nvim", lazy = true },
|
||||
{ "xiyaowong/transparent.nvim" },
|
||||
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate"},
|
||||
{ "nvim-telescope/telescope.nvim", tag = "0.1.2", dependencies = {
|
||||
"nvim-lua/plenary.nvim"
|
||||
},
|
||||
lazy = true
|
||||
},
|
||||
{ "tpope/vim-fugitive", lazy = true },
|
||||
{ "lewis6991/gitsigns.nvim", lazy = true },
|
||||
{ "ibhagwan/fzf-lua", lazy = true },
|
||||
{ "arsham/listish.nvim", lazy = true },
|
||||
{ "nanotee/sqls.nvim", lazy = true },
|
||||
{ "MunifTanjim/nui.nvim", lazy = true },
|
||||
-- optional
|
||||
--{ "sainnhe/everforest", lazy = true },
|
||||
--{ "nvim-treesitter/nvim-treesitter-textobjects" },
|
||||
}
|
||||
8
.config/nvim.backup/lua/plugins/undotree.lua
Normal file
8
.config/nvim.backup/lua/plugins/undotree.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
"jiaoshijie/undotree",
|
||||
dependencies = "nvim-lua/plenary.nvim",
|
||||
config = true,
|
||||
keys = { -- load the plugin only when using it's keybinding:
|
||||
{ "<leader>u", "<cmd>lua require('undotree').toggle()<cr>" },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user