nvim: plugins: Add portal for jump & change list support
This commit is contained in:
parent
c800b66cbf
commit
30a7f0606d
2 changed files with 7 additions and 1 deletions
5
nvim/.config/nvim/after/plugin/portal.lua
Normal file
5
nvim/.config/nvim/after/plugin/portal.lua
Normal 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>" )
|
|
@ -31,5 +31,6 @@ require "paq" {
|
||||||
'andymass/vim-matchup' ,
|
'andymass/vim-matchup' ,
|
||||||
'christoomey/vim-tmux-navigator' ,
|
'christoomey/vim-tmux-navigator' ,
|
||||||
'windwp/nvim-autopairs' ,
|
'windwp/nvim-autopairs' ,
|
||||||
'gpanders/nvim-parinfer'
|
'gpanders/nvim-parinfer' ,
|
||||||
|
'cbochs/portal.nvim'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue