refactor: open_file (#345)

This commit is contained in:
Sindre T. Strøm
2021-05-17 22:13:30 +02:00
committed by GitHub
parent f09143900b
commit 624bec7ecd
2 changed files with 51 additions and 33 deletions

View File

@@ -73,11 +73,11 @@ function M.window_options()
if vim.g.nvim_tree_side == 'right' then
opts.open_command = 'h'
opts.preview_command = 'l'
opts.split_command = 'nosplitright'
opts.split_command = 'aboveleft'
else
opts.open_command = 'l'
opts.preview_command = 'h'
opts.split_command = 'splitright'
opts.split_command = 'belowright'
end
return opts