style: ran linting
parent
bbf5dcc99b
commit
4fb59d5d60
|
|
@ -66,7 +66,7 @@ The following applies to all commands above:
|
||||||
- `.copyFilepath` or `:CopyFilepath`: Copy the absolute file path. When `clipboard="unnamed[plus]"` has been set, copies to the `+` register, otherwise to `"`.
|
- `.copyFilepath` or `:CopyFilepath`: Copy the absolute file path. When `clipboard="unnamed[plus]"` has been set, copies to the `+` register, otherwise to `"`.
|
||||||
- `.chmodx` or `:Chmodx`: Makes current file executable. Equivalent to `chmod +x`.
|
- `.chmodx` or `:Chmodx`: Makes current file executable. Equivalent to `chmod +x`.
|
||||||
|
|
||||||
### Disable Ex-commands
|
### Disable Ex-Commands
|
||||||
Put this in your configuration file:
|
Put this in your configuration file:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ function M.chmodx()
|
||||||
perm = perm:gsub("r(.)%-", "r%1x") -- add x to every group that has r
|
perm = perm:gsub("r(.)%-", "r%1x") -- add x to every group that has r
|
||||||
fn.setfperm(filename, perm)
|
fn.setfperm(filename, perm)
|
||||||
vim.notify("Execution Permission granted.")
|
vim.notify("Execution Permission granted.")
|
||||||
cmd.edit()
|
cmd.edit()
|
||||||
end
|
end
|
||||||
|
|
||||||
---Trash the current File.
|
---Trash the current File.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue