I would like to open nvim with defx by default instead of Nerdtree. Have no idea how to change that behaviour
I am using defx and can open it through mapping with sf custom mapping command, but for that i should be already in nvim so it takes me two steps.
vim
sf
Sf lives in maps.vim
" Description: Keymaps
" defx
nnoremap <silent>sf :<C-u>Defx -listed -resume
\ -columns=indent:mark:icon:icons:filename:git:size
\ -buffer-name=tab`tabpagenr()`
\ `expand('%:p:h')` -search=`expand('%:p')`<CR>
Can i open defx with
nvim .
I can disable nerdtree from opening in nvim/init.vim
" Disable netrw
let g:loaded_netrwPlugin = 1
but even with it I should do sf to open defx