You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows terminal uses ctrl-v for paste which conflicts with the default mapping for vertical split in nvim-tree resulting in the following error: Error executing lua: vim/_editor.lua:0: Vim:E21: Cannot make changes, 'modifiable' is off^@stack traceback:^@^I[C]: in function 'nvim_put'^@^Ivim/_editor.lua: in function <vim/_editor.lua:0> when trying to perform a vertical split. This can be fixed by remapping paste in windows terminal.
Go to Windows Terminal Settings -> Actions and then change the mapping for paste from ctrl-v to ctrl-shift-v.
Open finder for selected file at MacOS
By default for file, not directory, open command at MacOS use TextEditor, not Finder. To open file at Finder set system_open to command open with option -R:
{
system_open= {
cmd="open",
args= { "-R" },
},
}
From man open:
-R Reveals the file(s) in the Finder instead of opening them.
According answer, to setup for different OS use next config:
---
},
system_open=-- identify OS and set OS-specific cmd with argsvim.fn.has("mac") ==1and {
cmd="open",
args= { "-R" },
}
ornil,
---