Oil can now copy paste into clipboard with gy and gp
This commit is contained in:
@@ -17,11 +17,23 @@ return {
|
||||
['<C-r>'] = 'actions.refresh',
|
||||
['Q'] = 'actions.close',
|
||||
['gS'] = 'actions.change_sort',
|
||||
['gy'] = 'actions.copy_to_system_clipboard',
|
||||
['gp'] = 'actions.paste_from_system_clipboard',
|
||||
},
|
||||
view_options = {
|
||||
show_hidden = true,
|
||||
natural_order = true,
|
||||
},
|
||||
|
||||
lsp_file_methods = {
|
||||
-- Enable or disable LSP file operations
|
||||
enabled = true,
|
||||
-- Time to wait for LSP file operations to complete before skipping
|
||||
timeout_ms = 1000,
|
||||
-- Set to true to autosave buffers that are updated with LSP willRenameFiles
|
||||
-- Set to "unmodified" to only save unmodified buffers
|
||||
autosave_changes = false,
|
||||
},
|
||||
},
|
||||
cmd = 'Oil',
|
||||
event = 'VimEnter',
|
||||
|
||||
Reference in New Issue
Block a user