🚧 Configured fzf to be on bottom, rm tree at startup

This commit is contained in:
z3rOR0ne 2022-09-25 11:26:36 -07:00
parent 8d27af1c1b
commit b2c5e760d0
3 changed files with 9 additions and 3 deletions

View file

@ -157,8 +157,8 @@ require'nvim-tree'.setup { -- BEGIN_DEFAULT_OPTS
hijack_netrw = true,
hijack_unnamed_buffer_when_opening = false,
ignore_buffer_on_setup = false,
open_on_setup = true,
open_on_setup_file = true,
open_on_setup = false,
open_on_setup_file = false,
open_on_tab = false,
sort_by = "name",
update_cwd = false,
@ -359,6 +359,9 @@ endfunction]]
vim.cmd[[command! -nargs=* FZFExplore call FzfExplore(shellescape(<q-args>))]]
-- fzf is on bottom of screen
vim.cmd[[let g:fzf_layout = { 'down': '~30%' }]]
--Removes trailing spaces on save
vim.cmd[[autocmd FileWritePre * call TrimWhiteSpace()]]
vim.cmd[[autocmd FileAppendPre * call TrimWhiteSpace()]]