Make netrw sort C/C++ header/source files beside each other
This commit is contained in:
parent
0b6fa260b9
commit
dc6aa82d73
@ -6,6 +6,9 @@ if vim.env.WSLENV then
|
|||||||
vim.g.netrw_browsex_viewer = 'cmd.exe /C start'
|
vim.g.netrw_browsex_viewer = 'cmd.exe /C start'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Sort files in a sensible sequence
|
||||||
|
vim.g.netrw_sort_sequence = '[\\/]$,*'
|
||||||
|
|
||||||
-- Map - key to open netrw in current files parent directory
|
-- Map - key to open netrw in current files parent directory
|
||||||
vim.keymap.set('n', '-', function()
|
vim.keymap.set('n', '-', function()
|
||||||
-- Get the filename before invoking netrw
|
-- Get the filename before invoking netrw
|
||||||
|
Loading…
x
Reference in New Issue
Block a user