diff --git a/after/plugin/harpoon_post_init.lua b/after/plugin/harpoon_post_init.lua index 53fadf0..5e3094a 100644 --- a/after/plugin/harpoon_post_init.lua +++ b/after/plugin/harpoon_post_init.lua @@ -1,4 +1,4 @@ --- automatically opens all marked files -_G.harpoon_open_marks() --- sets tab switch mode to harpoon marks -_G.harpoon_btoggle(true) +---- automatically opens all marked files +--_G.harpoon_open_marks() +---- sets tab switch mode to harpoon marks +--_G.harpoon_btoggle(true) diff --git a/lua/plugins.lua b/lua/plugins.lua index aa7f284..ea30ed6 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -1,104 +1,116 @@ local use = require("packer").use require("packer").startup(function() - use("wbthomason/packer.nvim") + use("wbthomason/packer.nvim") - -- OPENAI CODEX - --use "tom-doerr/vim_codex" + -- OPENAI CODEX + --use "tom-doerr/vim_codex" - -- NAVIGATION - use({ - "phaazon/hop.nvim", - --branch = "v1.2", -- optional but strongly recommended - config = function() - -- you can configure Hop the way you like here; see :h hop-config - require("hop").setup({ keys = "etovxqpdygfblzhckisuran" }) - end, - }) - --use { - -- "phaazon/hop.nvim", - -- as = "hop", - -- config = function() - -- -- you can configure Hop the way you like here; see :h hop-config - -- require "hop".setup {} - -- --require "hop".setup {keys = "etovxqpdygfblzhckisuran"} - -- end - --} + -- NAVIGATION + use({ + "phaazon/hop.nvim", + --branch = "v1.2", -- optional but strongly recommended + config = function() + -- you can configure Hop the way you like here; see :h hop-config + require("hop").setup({ keys = "etovxqpdygfblzhckisuran" }) + end, + }) - -- TABLE - --use "dhruvasagar/vim-table-mode" + -- TABLE + --use "dhruvasagar/vim-table-mode" - -- VIM THEMING - --use "rafi/awesome-vim-colorschemes" -- vim themes - use("navarasu/onedark.nvim") - use("projekt0n/github-nvim-theme") - use("wojciechkepka/vim-github-dark") - use("folke/tokyonight.nvim") + -- VIM THEMING + --use "rafi/awesome-vim-colorschemes" -- vim themes + use("navarasu/onedark.nvim") + use("projekt0n/github-nvim-theme") + use("wojciechkepka/vim-github-dark") + use("folke/tokyonight.nvim") - -- FILE MANAGEMENT - use("junegunn/fzf") - use("junegunn/fzf.vim") - use("rbgrouleff/bclose.vim") - --use("francoiscabrol/ranger.vim") - use("kevinhwang91/rnvimr") - use("vijaymarupudi/nvim-fzf") - use("vijaymarupudi/nvim-fzf-commands") - use({ "tpope/vim-obsession" }) + -- FILE MANAGEMENT + use("junegunn/fzf") + use("junegunn/fzf.vim") + use("rbgrouleff/bclose.vim") + --use("francoiscabrol/ranger.vim") + use("kevinhwang91/rnvimr") + use("vijaymarupudi/nvim-fzf") + use("vijaymarupudi/nvim-fzf-commands") + use({ "tpope/vim-obsession" }) - -- GIT - use("tpope/vim-fugitive") - use("stsewd/fzf-checkout.vim") + -- GIT + use("tpope/vim-fugitive") + use("stsewd/fzf-checkout.vim") - -- AIRLINE - use({ - "nvim-lualine/lualine.nvim", - requires = { "kyazdani42/nvim-web-devicons", opt = true }, - }) + -- AIRLINE + use({ + "nvim-lualine/lualine.nvim", + requires = { "kyazdani42/nvim-web-devicons", opt = true }, + }) - -- EDITOR - use("windwp/nvim-autopairs") - --use "jiangmiao/auto-pairs" - --use "dense-analysis/ale" - --use "nathanmsmith/nvim-ale-diagnostic" - use("turbio/bracey.vim") - use("lukas-reineke/indent-blankline.nvim") - --use "sheerun/vim-polyglot" + -- EDITOR + use("windwp/nvim-autopairs") + --use "jiangmiao/auto-pairs" + --use "dense-analysis/ale" + --use "nathanmsmith/nvim-ale-diagnostic" + use("turbio/bracey.vim") + use("lukas-reineke/indent-blankline.nvim") + --use "sheerun/vim-polyglot" - -- SNIPPETS - use("SirVer/ultisnips") - use("honza/vim-snippets") + -- SNIPPETS + use("SirVer/ultisnips") + use("honza/vim-snippets") - -- LSP - use("hrsh7th/nvim-cmp") -- Autocompletion plugin - --use "saadparwaiz1/cmp_luasnip" -- Snippets source for nvim-cmp - use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" }) - use("neovim/nvim-lspconfig") -- Collection of configurations for built-in LSP client - use("williamboman/nvim-lsp-installer") - use({ - "hrsh7th/cmp-nvim-lsp", - requires = "quangnguyen30192/cmp-nvim-ultisnips", - }) -- LSP source for nvim-cmp + -- LSP + use("hrsh7th/nvim-cmp") -- Autocompletion plugin + --use "saadparwaiz1/cmp_luasnip" -- Snippets source for nvim-cmp + use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" }) + use("neovim/nvim-lspconfig") -- Collection of configurations for built-in LSP client + use("williamboman/nvim-lsp-installer") + use({ + "hrsh7th/cmp-nvim-lsp", + requires = "quangnguyen30192/cmp-nvim-ultisnips", + }) -- LSP source for nvim-cmp - use("nvim-lua/plenary.nvim") - use("jose-elias-alvarez/nvim-lsp-ts-utils") - use("jose-elias-alvarez/null-ls.nvim") + use("nvim-lua/plenary.nvim") + use("jose-elias-alvarez/nvim-lsp-ts-utils") + use("jose-elias-alvarez/null-ls.nvim") - use("ThePrimeagen/harpoon") + use("ThePrimeagen/harpoon") - use("L3MON4D3/LuaSnip") -- Snippets plugin + use("L3MON4D3/LuaSnip") -- Snippets plugin - -- JS - use("HerringtonDarkholme/yats.vim") - use("chemzqm/vim-jsx-improve") - use("yuezk/vim-js") -- js - use("maxmellon/vim-jsx-pretty") -- react/tsx syntax highlight & indent - --use "leafOfTree/vim-vue-plugin" -- vue syntax highlight & indent + -- JS + use("HerringtonDarkholme/yats.vim") + use("chemzqm/vim-jsx-improve") + use("yuezk/vim-js") -- js + use("maxmellon/vim-jsx-pretty") -- react/tsx syntax highlight & indent + --use "leafOfTree/vim-vue-plugin" -- vue syntax highlight & indent - -- PYTHON - --use {"numirias/semshi", run = ":UpdateRemotePlugins"} -- python - use("Vimjas/vim-python-pep8-indent") - --use("petobens/poet-v") + -- PYTHON + --use {"numirias/semshi", run = ":UpdateRemotePlugins"} -- python + use("Vimjas/vim-python-pep8-indent") + --use("petobens/poet-v") - -- HTML/CSS - use("mattn/emmet-vim") + -- HTML/CSS + use("mattn/emmet-vim") + --use({ + -- "rmagatti/auto-session", + -- config = function() + -- require("auto-session").setup({ + -- log_level = "info", + -- auto_session_suppress_dirs = { "~/", "~/Projects" }, + -- auto_session_use_git_branch = true, + -- auto_save_enabled = false, + -- auto_restore_enabled = false, + -- }) + -- end, + --}) + use({ + "olimorris/persisted.nvim", + config = function() + require("persisted").setup({ + use_git_branch = true, + autoload = true, + }) + end, + }) end)