summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/nixvim.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/common/nixvim.nix b/common/nixvim.nix
index 7735a75..ba6a8c5 100644
--- a/common/nixvim.nix
+++ b/common/nixvim.nix
@@ -545,14 +545,8 @@ in
545 545
546 546
547 -- For fugitive's :GBrowse 547 -- For fugitive's :GBrowse
548
549 vim.api.nvim_create_user_command("Browse", function(opts) 548 vim.api.nvim_create_user_command("Browse", function(opts)
550 local Job = require('plenary.job') 549 vim.ui.open(opts.args)
551
552 Job:new({
553 command = 'xdg-open',
554 args = { opts.args },
555 }):start()
556 end, { nargs = 1 }) 550 end, { nargs = 1 })
557 ''; 551 '';
558 }; 552 };