diff --git a/doc/genghis.txt b/doc/genghis.txt index df3b075..7138a54 100644 --- a/doc/genghis.txt +++ b/doc/genghis.txt @@ -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. Any existing file in the trash location with the same name is overwritten, making that file irretrievable. If 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 ~