aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorAlec Goncharow <alec@goncharow.dev>2024-01-12 08:48:32 -0500
committerAlec Goncharow <alec@goncharow.dev>2024-01-12 08:48:32 -0500
commit803274ed25384b4ffb134f35c910347c022999fd (patch)
tree7ae72fc76bedac20c36e289afcbad0bb250369b7 /.config/nvim/lua/plugins.lua
parent7ccc0f409ededaf3a19395f1bc1fb5e2686c37a0 (diff)
binding exploration
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r--.config/nvim/lua/plugins.lua34
1 files changed, 17 insertions, 17 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index ec13e3d..c97cb15 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -54,25 +54,14 @@ return require('packer').startup(function()
use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' }
use 'scrooloose/nerdcommenter' -- commenting shortcuts
- use {
- "folke/which-key.nvim",
- config = function()
- vim.o.timeout = true
- vim.o.timeoutlen = 300
- require("which-key").setup {
- -- your configuration comes here
- -- or leave it empty to use the default settings
- }
- end
- }
- use 'tpope/vim-eunuch' -- wrappers UNIX commands
- use 'tpope/vim-surround' -- surround characters shortcuts
- use 'tpope/vim-vinegar' -- make explore better
- use 'tpope/vim-endwise' -- wisely add
- use 'tpope/vim-repeat' -- repeat for plugins
+ use 'tpope/vim-eunuch' -- wrappers UNIX commands
+ use 'tpope/vim-surround' -- surround characters shortcuts
+ use 'tpope/vim-vinegar' -- make explore better
+ use 'tpope/vim-endwise' -- wisely add
+ use 'tpope/vim-repeat' -- repeat for plugins
use {
- 'prichrd/netrw.nvim', -- particles for ^
+ 'prichrd/netrw.nvim', -- particles for ^
config = function()
require("netrw").setup {
directory = '', -- Directory icon
@@ -129,4 +118,15 @@ return require('packer').startup(function()
use 'tpope/vim-dadbod' -- SQL
use 'nanotee/sqls.nvim'
+
+ use {
+ 'rmagatti/auto-session',
+ config = function()
+ vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
+ require("auto-session").setup {
+ log_level = "error",
+ auto_session_suppress_dirs = { "~/", "~/Downloads", "/" },
+ }
+ end
+ }
end)