nvim: Add urlview
This commit is contained in:
parent
41fee1c941
commit
2ea793d106
3 changed files with 10 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
(keymap.set :n :<leader>s #(telescope-builtin.live_grep telescope-ivy)
|
(keymap.set :n :<leader>s #(telescope-builtin.live_grep telescope-ivy)
|
||||||
{:desc "Live Grep"})
|
{:desc "Live Grep"})
|
||||||
(keymap.set :n :<leader>fn :<cmd>enew<CR> {:desc "New File"})
|
(keymap.set :n :<leader>fn :<cmd>enew<CR> {:desc "New File"})
|
||||||
|
(keymap.set :n :<leader>u :<cmd>UrlView<CR> {:desc "Open UrlView"})
|
||||||
(keymap.set :n :<leader>ut :<cmd>UndotreeToggle<CR>
|
(keymap.set :n :<leader>ut :<cmd>UndotreeToggle<CR>
|
||||||
{:desc "Toggle Undotree"})
|
{:desc "Toggle Undotree"})
|
||||||
(keymap.set :n :<leader>c repl.toggle-shell {:desc "Toggle Shell"})
|
(keymap.set :n :<leader>c repl.toggle-shell {:desc "Toggle Shell"})
|
||||||
|
|
3
config/nvim/plugins/urlview.fnl
Normal file
3
config/nvim/plugins/urlview.fnl
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
(let [urlview (require :urlview)]
|
||||||
|
(urlview.setup {:navigate_method :system :debug false}))
|
||||||
|
|
|
@ -207,6 +207,12 @@ in
|
||||||
type = "fennel";
|
type = "fennel";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
plugin = urlview-nvim;
|
||||||
|
config = builtins.readFile ../../config/nvim/plugins/urlview.fnl;
|
||||||
|
type = "fennel";
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
plugin = neogit;
|
plugin = neogit;
|
||||||
config = builtins.readFile ../../config/nvim/plugins/neogit.fnl;
|
config = builtins.readFile ../../config/nvim/plugins/neogit.fnl;
|
||||||
|
|
Loading…
Reference in a new issue