nvim: plugins: Add portal for jump & change list support

This commit is contained in:
Sanchayan Maity 2023-03-09 14:55:11 +05:30
parent c800b66cbf
commit 30a7f0606d
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
vim.keymap.set("n", "<Leader>o", "<cmd>Portal jumplist backward<CR>")
vim.keymap.set("n", "<Leader>i", "<cmd>Portal jumplist forward<CR>" )
vim.keymap.set("n", "<LocalLeader>o", "<cmd>Portal changelist backward<CR>")
vim.keymap.set("n", "<LocalLeader>i", "<cmd>Portal changelist forward<CR>" )

View file

@ -31,5 +31,6 @@ require "paq" {
'andymass/vim-matchup' ,
'christoomey/vim-tmux-navigator' ,
'windwp/nvim-autopairs' ,
'gpanders/nvim-parinfer'
'gpanders/nvim-parinfer' ,
'cbochs/portal.nvim'
}