diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-07-09 14:35:02 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-07-09 14:35:02 +0200 |
| commit | b65f8c6c939139d5aeafef381517f894608ef518 (patch) | |
| tree | c8e0c81d3b2e141992088e25f07fcfd37804fdf1 | |
| parent | afd9b1b96861f1148b34f2007ec33fab9b6e2190 (diff) | |
| download | nvim-conf-b65f8c6c939139d5aeafef381517f894608ef518.tar.gz nvim-conf-b65f8c6c939139d5aeafef381517f894608ef518.zip | |
some improvements
| -rw-r--r-- | after/plugin/completition.lua | 205 | ||||
| -rw-r--r-- | init.lua | 6 | ||||
| -rw-r--r-- | lua/alpha/plugins.lua | 2 | ||||
| -rw-r--r-- | lua/alpha/settings.lua | 37 | ||||
| -rw-r--r-- | plugin/packer_compiled.lua | 164 | ||||
| -rw-r--r-- | plugin/sets.vim | 35 |
6 files changed, 242 insertions, 207 deletions
diff --git a/after/plugin/completition.lua b/after/plugin/completition.lua index 9d1e4e9..8b260d2 100644 --- a/after/plugin/completition.lua +++ b/after/plugin/completition.lua @@ -1,106 +1,131 @@ local ok, cmp = pcall(require, "cmp") if not ok then - return + return end -local lspkind = require "lspkind" -local luasnip = require "luasnip" -local cmp_autopairs = require "nvim-autopairs.completion.cmp" +local lspkind = require("lspkind") +local luasnip = require("luasnip") +local cmp_autopairs = require("nvim-autopairs.completion.cmp") -cmp.event:on( 'confirm_done', cmp_autopairs.on_confirm_done({ map_char = { tex = '' } })) +cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done({ map_char = { tex = "" } })) -cmp.setup { - mapping = { - ["<C-d>"] = cmp.mapping.scroll_docs(-4), - ["<C-f>"] = cmp.mapping.scroll_docs(4), - ["<C-e>"] = cmp.mapping(function(fallback) - if cmp.visible() then - cmp.close() - elseif luasnip.expand_or_jumpable() then - luasnip.expand_or_jump() - else - fallback() - end - end, { "i", "s" }), - ["<C-n>"] = cmp.mapping(function(fallback) - if cmp.visible() then - cmp.select_next_item() - elseif luasnip.choice_active() then - luasnip.change_choice(1) - else - fallback() - end - end, { "i", "s" }), - ["<C-p>"] = cmp.mapping.select_prev_item(), - ["<C-y>"] = cmp.mapping.confirm { - behavior = cmp.ConfirmBehavior.Insert, - select = true, - }, - ["<c-space>"] = cmp.mapping.complete(), - }, - sources = { - { name = "nvim_lua" }, - { name = "nvim_lsp" }, - { name = "path" }, - { name = "luasnip" }, - { - name = "buffer", - keyword_length = 5, - option = { - get_bufnrs = function() - local bufs = {} - for _, win in ipairs(vim.api.nvim_list_wins()) do - bufs[vim.api.nvim_win_get_buf(win)] = true - end - return vim.tbl_keys(bufs) - end - } - }, - }, +cmp.setup({ + mapping = { + ["<C-d>"] = cmp.mapping.scroll_docs(-4), + ["<C-f>"] = cmp.mapping.scroll_docs(4), + ["<C-e>"] = cmp.mapping(function(fallback) + if cmp.visible() then + cmp.close() + elseif luasnip.expand_or_jumpable() then + luasnip.expand_or_jump() + else + fallback() + end + end, { "i", "s" }), + ["<C-n>"] = cmp.mapping(function(fallback) + if cmp.visible() then + cmp.select_next_item() + elseif luasnip.choice_active() then + luasnip.change_choice(1) + else + fallback() + end + end, { "i", "s" }), + ["<C-p>"] = cmp.mapping.select_prev_item(), + ["<C-y>"] = cmp.mapping.confirm({ + behavior = cmp.ConfirmBehavior.Insert, + select = true, + }), + ["<c-space>"] = cmp.mapping.complete(), + }, + sources = { + { name = "nvim_lua" }, + { name = "nvim_lsp" }, + { name = "path" }, + { name = "luasnip" }, + { + name = "buffer", + keyword_length = 5, + option = { + get_bufnrs = function() + local bufs = {} + for _, win in ipairs(vim.api.nvim_list_wins()) do + bufs[vim.api.nvim_win_get_buf(win)] = true + end + return vim.tbl_keys(bufs) + end, + }, + }, + }, - snippet = { - expand = function(args) - require("luasnip").lsp_expand(args.body) - end, - }, + snippet = { + expand = function(args) + require("luasnip").lsp_expand(args.body) + end, + }, - formatting = { - format = lspkind.cmp_format { - with_text = true, - menu = { - buffer = "[buf]", - nvim_lsp = "[LSP]", - nvim_lua = "[api]", - path = "[path]", - luasnip = "[snip]", - ["vim-dadbod-completion"] = "[DB]", - } - } - }, + formatting = { + format = lspkind.cmp_format({ + with_text = true, + menu = { + buffer = "[buf]", + nvim_lsp = "[LSP]", + nvim_lua = "[api]", + path = "[path]", + luasnip = "[snip]", + ["vim-dadbod-completion"] = "[DB]", + }, + }), + }, - experimental = { - native_menu = false, + experimental = { + native_menu = false, - ghost_text = true, - } -} + ghost_text = true, + }, +}) -vim.api.nvim_create_autocmd( - "FileType", - { - pattern = "sql,mysql,plsql", - callback = function() - require('cmp').setup.buffer({ sources = {{ name = 'vim-dadbod-completion' }} }) - end - } -) +-- Set configuration for specific filetype. +cmp.setup.filetype("gitcommit", { + sources = cmp.config.sources({ + { name = "cmp_git" }, -- You can specify the `cmp_git` source if you were installed it. + }, { + { name = "buffer" }, + }), +}) + +-- Use buffer source for `/` (if you enabled `native_menu`, this won't work anymore). +cmp.setup.cmdline("/", { + mapping = cmp.mapping.preset.cmdline(), + sources = { + { name = "buffer" }, + }, +}) + +-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore). +cmp.setup.cmdline(":", { + mapping = cmp.mapping.preset.cmdline(), + sources = cmp.config.sources({ + { name = "path" }, + }, { + { name = "cmdline" }, + }), +}) + +cmp.setup.filetype({ "sql", "mysql", "plsql" }, { + sources = cmp.config.sources({ + { name = "vim-dadbod-completion" }, + }, { + { name = "buffer" }, + }), +}) -- Setup lspconfig. - local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()) - -- Replace <YOUR_LSP_SERVER> with each lsp server you've enabled. - require('lspconfig')['emmet_ls'].setup { - capabilities = capabilities - } +local capabilities = require("cmp_nvim_lsp").update_capabilities(vim.lsp.protocol.make_client_capabilities()) +-- Replace <YOUR_LSP_SERVER> with each lsp server you've enabled. +require("lspconfig")["emmet_ls"].setup({ + capabilities = capabilities, +}) local Group = require("colorbuddy.group").Group local g = require("colorbuddy.group").groups @@ -4,15 +4,11 @@ if require "alpha.first_load"() then return end -vim.g.mapleader = " " -vim.g.snippets = "luasnip" +require "alpha.settings" require "alpha.globals" - require "alpha.disable_builtin" - require "alpha.plugins" - require "alpha.telescope.setup" require "alpha.telescope.mappings" require "alpha.dap" diff --git a/lua/alpha/plugins.lua b/lua/alpha/plugins.lua index 5ab8e7b..66b5055 100644 --- a/lua/alpha/plugins.lua +++ b/lua/alpha/plugins.lua @@ -78,6 +78,8 @@ return require("packer").startup(function(use) "hrsh7th/cmp-path", "hrsh7th/cmp-nvim-lua", "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-cmdline", + "hrsh7th/cmp-git", "saadparwaiz1/cmp_luasnip", "onsails/lspkind-nvim", "L3MON4D3/LuaSnip", diff --git a/lua/alpha/settings.lua b/lua/alpha/settings.lua new file mode 100644 index 0000000..2bec2a8 --- /dev/null +++ b/lua/alpha/settings.lua @@ -0,0 +1,37 @@ +vim.g.mapleader = " " +vim.g.snippets = "luasnip" + +local options = vim.o + +options.number = true +options.relativenumber = true + +options.hidden = true +options.expandtab = true +options.tabstop = 4 +options.softtabstop = 4 +options.shiftwidth = 4 +options.smartindent = true +options.errorbells = false +options.wrap = false +options.swapfile = false +options.undofile = true +options.undodir = os.getenv("HOME") .. "/.cache/nvim/undodir" +options.hlsearch = false +options.incsearch = true +options.ignorecase = true +options.smartcase = true +options.termguicolors = true +options.scrolloff = 4 +options.sidescrolloff = 4 +options.showmode = false +options.clipboard = "unnamedplus" +-- set completeopt=menuone,noinsert,noselect +options.splitbelow = true +options.splitright = true +options.autowrite = true +options.list = true +options.listchars = "tab:\\ ,trail:-" +options.laststatus = 3 +options.cmdheight = 1 +options.updatetime = 50 diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua index d747639..a966c9c 100644 --- a/plugin/packer_compiled.lua +++ b/plugin/packer_compiled.lua @@ -44,8 +44,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/home/adalessa/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/adalessa/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/adalessa/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/adalessa/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/adalessa/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" +local package_path_str = "/home/alpha/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/alpha/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/alpha/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/alpha/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/alpha/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end @@ -71,365 +71,375 @@ time([[Defining packer_plugins]], true) _G.packer_plugins = { ["DAPInstall.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/DAPInstall.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/DAPInstall.nvim", url = "https://github.com/Pocco81/DAPInstall.nvim" }, ["FixCursorHold.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/FixCursorHold.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/FixCursorHold.nvim", url = "https://github.com/antoinemadec/FixCursorHold.nvim" }, LuaSnip = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/LuaSnip", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/LuaSnip", url = "https://github.com/L3MON4D3/LuaSnip" }, ["cmp-buffer"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/cmp-buffer", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/cmp-buffer", url = "https://github.com/hrsh7th/cmp-buffer" }, + ["cmp-cmdline"] = { + loaded = true, + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/cmp-cmdline", + url = "https://github.com/hrsh7th/cmp-cmdline" + }, + ["cmp-git"] = { + loaded = true, + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/cmp-git", + url = "https://github.com/hrsh7th/cmp-git" + }, ["cmp-nvim-lsp"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", url = "https://github.com/hrsh7th/cmp-nvim-lsp" }, ["cmp-nvim-lsp-signature-help"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp-signature-help", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp-signature-help", url = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help" }, ["cmp-nvim-lua"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", url = "https://github.com/hrsh7th/cmp-nvim-lua" }, ["cmp-path"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/cmp-path", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/cmp-path", url = "https://github.com/hrsh7th/cmp-path" }, cmp_luasnip = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/cmp_luasnip", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/cmp_luasnip", url = "https://github.com/saadparwaiz1/cmp_luasnip" }, ["colorbuddy.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/colorbuddy.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/colorbuddy.nvim", url = "https://github.com/tjdevries/colorbuddy.nvim" }, delimitMate = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/delimitMate", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/delimitMate", url = "https://github.com/Raimondi/delimitMate" }, ["feline.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/feline.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/feline.nvim", url = "https://github.com/feline-nvim/feline.nvim" }, fzf = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/fzf", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/fzf", url = "https://github.com/junegunn/fzf" }, ["fzf.vim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/fzf.vim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/fzf.vim", url = "https://github.com/junegunn/fzf.vim" }, ["git-worktree.nvim"] = { config = { "\27LJ\2\n>\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\17git-worktree\frequire\0" }, loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/git-worktree.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/git-worktree.nvim", url = "https://github.com/ThePrimeagen/git-worktree.nvim" }, ["gitsigns.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/gitsigns.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/gitsigns.nvim", url = "https://github.com/lewis6991/gitsigns.nvim" }, harpoon = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/harpoon", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/harpoon", url = "https://github.com/ThePrimeagen/harpoon" }, ["impatient.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/impatient.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/impatient.nvim", url = "https://github.com/lewis6991/impatient.nvim" }, ["iron.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/iron.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/iron.nvim", url = "https://github.com/hkupty/iron.nvim" }, ["lspkind-nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/lspkind-nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/lspkind-nvim", url = "https://github.com/onsails/lspkind-nvim" }, neotest = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/neotest", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/neotest", url = "https://github.com/nvim-neotest/neotest" }, ["neotest-go"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/neotest-go", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/neotest-go", url = "https://github.com/nvim-neotest/neotest-go" }, ["neotest-vim-test"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/neotest-vim-test", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/neotest-vim-test", url = "https://github.com/nvim-neotest/neotest-vim-test" }, ["nightfox.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nightfox.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nightfox.nvim", url = "https://github.com/EdenEast/nightfox.nvim" }, ["null-ls.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/null-ls.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/null-ls.nvim", url = "https://github.com/jose-elias-alvarez/null-ls.nvim" }, ["nvim-autopairs"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-autopairs", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-autopairs", url = "https://github.com/windwp/nvim-autopairs" }, ["nvim-cmp"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-cmp", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-cmp", url = "https://github.com/hrsh7th/nvim-cmp" }, ["nvim-colorizer.lua"] = { config = { "\27LJ\2\n;\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\14colorizer\frequire\0" }, loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua", url = "https://github.com/norcalli/nvim-colorizer.lua" }, ["nvim-dap"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-dap", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-dap", url = "https://github.com/mfussenegger/nvim-dap" }, ["nvim-dap-go"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-dap-go", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-dap-go", url = "https://github.com/leoluz/nvim-dap-go" }, ["nvim-dap-ui"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-dap-ui", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-dap-ui", url = "https://github.com/rcarriga/nvim-dap-ui" }, ["nvim-lsp-installer"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer", url = "https://github.com/williamboman/nvim-lsp-installer" }, ["nvim-lspconfig"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", url = "https://github.com/neovim/nvim-lspconfig" }, ["nvim-notify"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-notify", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-notify", url = "https://github.com/rcarriga/nvim-notify" }, ["nvim-projectconfig"] = { config = { "\27LJ\2\n@\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\23nvim-projectconfig\frequire\0" }, loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-projectconfig", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-projectconfig", url = "https://github.com/windwp/nvim-projectconfig" }, ["nvim-treesitter"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-treesitter", url = "https://github.com/nvim-treesitter/nvim-treesitter" }, ["nvim-treesitter-refactor"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor", url = "https://github.com/nvim-treesitter/nvim-treesitter-refactor" }, ["nvim-treesitter-textobjects"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-treesitter-textobjects", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-treesitter-textobjects", url = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects" }, ["nvim-web-devicons"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", url = "https://github.com/kyazdani42/nvim-web-devicons" }, ["packer.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/packer.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/packer.nvim", url = "https://github.com/wbthomason/packer.nvim" }, playground = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/playground", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/playground", url = "https://github.com/nvim-treesitter/playground" }, ["plenary.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/plenary.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/plenary.nvim", url = "https://github.com/nvim-lua/plenary.nvim" }, ["popup.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/popup.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/popup.nvim", url = "https://github.com/nvim-lua/popup.nvim" }, ["refactoring.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/refactoring.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/refactoring.nvim", url = "https://github.com/ThePrimeagen/refactoring.nvim" }, ["rest.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/rest.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/rest.nvim", url = "https://github.com/NTBBloodbath/rest.nvim" }, ["telescope-dap.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/telescope-dap.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/telescope-dap.nvim", url = "https://github.com/nvim-telescope/telescope-dap.nvim" }, ["telescope-file-browser.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/telescope-file-browser.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/telescope-file-browser.nvim", url = "https://github.com/nvim-telescope/telescope-file-browser.nvim" }, ["telescope-fzf-native.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/telescope-fzf-native.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/telescope-fzf-native.nvim", url = "https://github.com/nvim-telescope/telescope-fzf-native.nvim" }, ["telescope-fzy-native.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/telescope-fzy-native.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/telescope-fzy-native.nvim", url = "https://github.com/nvim-telescope/telescope-fzy-native.nvim" }, ["telescope-laravel.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/telescope-laravel.nvim", - url = "https://github.com/adalessa/telescope-laravel.nvim" + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/telescope-laravel.nvim", + url = "/home/alpha/plugins/telescope-laravel.nvim" }, ["telescope-projectionist.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/telescope-projectionist.nvim", - url = "https://github.com/adalessa/telescope-projectionist.nvim" + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/telescope-projectionist.nvim", + url = "/home/alpha/plugins/telescope-projectionist.nvim" }, ["telescope-ui-select.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/telescope-ui-select.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/telescope-ui-select.nvim", url = "https://github.com/nvim-telescope/telescope-ui-select.nvim" }, ["telescope.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/telescope.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/telescope.nvim", url = "https://github.com/nvim-telescope/telescope.nvim" }, ["trouble.nvim"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/trouble.nvim", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/trouble.nvim", url = "https://github.com/folke/trouble.nvim" }, ["vim-blade"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-blade", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-blade", url = "https://github.com/jwalton512/vim-blade" }, ["vim-commentary"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-commentary", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-commentary", url = "https://github.com/tpope/vim-commentary" }, ["vim-composer"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-composer", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-composer", url = "https://github.com/noahfrederick/vim-composer" }, ["vim-dadbod"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-dadbod", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-dadbod", url = "https://github.com/tpope/vim-dadbod" }, ["vim-dadbod-completion"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-dadbod-completion", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-dadbod-completion", url = "https://github.com/kristijanhusak/vim-dadbod-completion" }, ["vim-dadbod-ui"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-dadbod-ui", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-dadbod-ui", url = "https://github.com/kristijanhusak/vim-dadbod-ui" }, ["vim-dispatch"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-dispatch", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-dispatch", url = "https://github.com/tpope/vim-dispatch" }, ["vim-dotenv"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-dotenv", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-dotenv", url = "https://github.com/tpope/vim-dotenv" }, ["vim-easy-align"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-easy-align", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-easy-align", url = "https://github.com/junegunn/vim-easy-align" }, ["vim-eunuch"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-eunuch", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-eunuch", url = "https://github.com/tpope/vim-eunuch" }, ["vim-fugitive"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-fugitive", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-fugitive", url = "https://github.com/tpope/vim-fugitive" }, ["vim-godot"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-godot", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-godot", url = "https://github.com/habamax/vim-godot" }, ["vim-obsession"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-obsession", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-obsession", url = "https://github.com/tpope/vim-obsession" }, ["vim-repeat"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-repeat", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-repeat", url = "https://github.com/tpope/vim-repeat" }, ["vim-surround"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-surround", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-surround", url = "https://github.com/tpope/vim-surround" }, ["vim-tbone"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-tbone", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-tbone", url = "https://github.com/tpope/vim-tbone" }, ["vim-test"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-test", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-test", url = "https://github.com/vim-test/vim-test" }, ["vim-vinegar"] = { loaded = true, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/start/vim-vinegar", + path = "/home/alpha/.local/share/nvim/site/pack/packer/start/vim-vinegar", url = "https://github.com/tpope/vim-vinegar" }, vimwiki = { @@ -437,7 +447,7 @@ _G.packer_plugins = { loaded = false, needs_bufread = true, only_cond = false, - path = "/home/adalessa/.local/share/nvim/site/pack/packer/opt/vimwiki", + path = "/home/alpha/.local/share/nvim/site/pack/packer/opt/vimwiki", url = "https://github.com/vimwiki/vimwiki" } } diff --git a/plugin/sets.vim b/plugin/sets.vim deleted file mode 100644 index d388360..0000000 --- a/plugin/sets.vim +++ /dev/null @@ -1,35 +0,0 @@ -set nu -set relativenumber -set hidden -set expandtab -set tabstop=4 softtabstop=4 -set shiftwidth=4 -set smartindent -set noerrorbells -set nowrap -set noswapfile -set undofile -set undodir=~/.config/nvim/undodir -set nohlsearch -set incsearch -set ignorecase -set smartcase -set termguicolors -set scrolloff=4 -set sidescrolloff=4 -set noshowmode -set clipboard+=unnamedplus -set completeopt=menuone,noinsert,noselect -set signcolumn=yes -set colorcolumn=80 -set splitbelow -set splitright -set autowrite -set list -set listchars=tab:\ ,trail:- -set laststatus=3 - -set cmdheight=1 - -" improve user experience updating more frequently -set updatetime=50 |