chore: Auto generate docs

remotes/origin/HEAD
chrisgrieser 2023-09-05 08:54:42 +00:00 committed by github-actions[bot]
parent ef591fa943
commit 683b422944
1 changed files with 16 additions and 1 deletions

View File

@ -1,4 +1,4 @@
*genghis.txt* For NVIM v0.8.0 Last change: 2023 September 04
*genghis.txt* For NVIM v0.8.0 Last change: 2023 September 05
==============================================================================
Table of Contents *genghis-table-of-contents*
@ -91,8 +91,23 @@ FILE UTILITY COMMANDS ~
- `.trashFile{trashLocation = "/your/path/"}` or `:Trash`Move the current file to the trash location. Defaults to the operating-system-specific trash directory. <https://github.com/chrisgrieser/nvim-genghis/blob/main/lua/genghis.lua#L164> Any existing file in the trash location with the same name is overwritten, making that file irretrievable. If bufdelete.nvim <https://github.com/famiu/bufdelete.nvim> is available, `require'bufdelete.nvim'.bufwipeout` would be used to keep window layout intact instead of `vim.cmd.bwipeout`.
- `.copyFilename` or `:CopyFilename`Copy the file name. 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 `"`.
- `.copyRelativePath` or `:CopyRelativePath`Copy the relative file path. When `clipboard="unnamed[plus]"` has been set, copies to the `+` register, otherwise to `"`.
- `.copyDirectoryPath` or `:CopyDirectoryPath`Copy the absolute directory path. When `clipboard="unnamed[plus]"` has been set, copies to the `+` register, otherwise to `"`.
- `.copyRelativeDirectoryPath` or `:CopyRelativeDirectoryPath`Copy the relative directory 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`.
To always use system clipboard put this in your configuration file:
>lua
-- lua
vim.g.genghis_use_systemclipboard = true
<
>vim
-- viml
let g:genghis_use_systemclipboard = v:true
<
DISABLE EX-COMMANDS ~