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