1
0
Fork 0

nvim: Add urlview

This commit is contained in:
Daniel Kempkens 2022-04-27 22:17:26 +02:00
parent 41fee1c941
commit 2ea793d106
3 changed files with 10 additions and 0 deletions

View file

@ -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"})

View file

@ -0,0 +1,3 @@
(let [urlview (require :urlview)]
(urlview.setup {:navigate_method :system :debug false}))

View file

@ -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;