🚧 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()]]

View file

@ -40,7 +40,7 @@ keymap('n', '<c-x>', '<c-w>:nohl<CR>', {silent = true} )
-- <Shift -m> brings up a preview of Markdown files
keymap('n', '<s-m>', '<c-w>:MarkdownPreview<CR>', {})
--
-- Toggle Multi-Cursor with j or k
vim.cmd[[nmap <C-j> <C-Down>]]
vim.cmd[[nmap <C-k> <C-Up>]]

3
zprofile..txt Normal file
View file

@ -0,0 +1,3 @@