nvim: add psoxizsh.function key binds

This commit is contained in:
Paul Stemmet 2024-08-18 14:14:44 +00:00
parent 055ce78bbd
commit 269c980010
Signed by: Paul Stemmet
GPG Key ID: EDEA539F594E7E75
1 changed files with 13 additions and 1 deletions

View File

@ -1 +1,13 @@
return {}
local keys, fn = require 'psoxizsh.key.binds', require 'psoxizsh.functions'
return {
{
'psoxizsh',
keys = {
keys.Global.Format:as { 'lazy', action = fn.Format },
keys.Global.ToggleGutter:as { 'lazy', action = fn.ToggleGutter },
keys.Global.OpenConfig:as { 'lazy', action = fn.OpenConfig },
keys.Global.SudoWrite:as { 'lazy', action = [[w !sudo tee % >/dev/null]] },
},
},
}