Skip to content

Commit

Permalink
refactor(nvim): convert prosession config to lua
Browse files Browse the repository at this point in the history
  • Loading branch information
lanej committed May 6, 2024
1 parent 2d77235 commit 6bd2367
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@ let g:terraform_fmt_on_save = 1
let g:terraform_align = 1
let g:terraform_remap_spacebar = 0
" sessions
map <leader>ps :Prosession<space>
let g:prosession_per_branch = 1
let g:prosession_tmux_title = 1
let g:prosession_tmux_title_format = '@@@'
map <leader>ntt :NvimTreeToggle<CR>
map <leader>ntc :NvimTreeClose<CR>
map <leader>ntf :NvimTreeFindFile<CR>
Expand Down Expand Up @@ -861,6 +855,11 @@ require("lazy").setup({
{
'lanej/vim-prosession',
dependencies = 'tpope/vim-obsession',
init = function()
vim.g.prosession_per_branch = 1
vim.g.prosession_tmux_title = 1
vim.g.prosession_tmux_title_format = '@@@'
end,
},
{
'epwalsh/obsidian.nvim',
Expand Down

0 comments on commit 6bd2367

Please sign in to comment.