Updates nvim setup
This commit is contained in:
parent
1c38c7b171
commit
6f069d32e1
13 changed files with 285 additions and 4 deletions
5
.config/nvim/lua/commands/open.lua
Normal file
5
.config/nvim/lua/commands/open.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.api.nvim_create_user_command("Open", function()
|
||||
local buffername = vim.fn.expand("%")
|
||||
|
||||
os.execute(string.format('xdg-open "%s" &> /dev/null &', buffername))
|
||||
end, {})
|
||||
Loading…
Add table
Add a link
Reference in a new issue