From b2c5e760d063efc9927ea6d94945c9fe88d48077 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Sun, 25 Sep 2022 11:26:36 -0700 Subject: [PATCH] :construction: Configured fzf to be on bottom, rm tree at startup --- nvim/lua/config.lua | 7 +++++-- nvim/lua/keybindings.lua | 2 +- zprofile..txt | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 zprofile..txt diff --git a/nvim/lua/config.lua b/nvim/lua/config.lua index c446019e..bb9a149c 100644 --- a/nvim/lua/config.lua +++ b/nvim/lua/config.lua @@ -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())]] +-- 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()]] diff --git a/nvim/lua/keybindings.lua b/nvim/lua/keybindings.lua index ca7edf65..67371c3c 100644 --- a/nvim/lua/keybindings.lua +++ b/nvim/lua/keybindings.lua @@ -40,7 +40,7 @@ keymap('n', '', ':nohl', {silent = true} ) -- brings up a preview of Markdown files keymap('n', '', ':MarkdownPreview', {}) --- + -- Toggle Multi-Cursor with j or k vim.cmd[[nmap ]] vim.cmd[[nmap ]] diff --git a/zprofile..txt b/zprofile..txt new file mode 100644 index 00000000..b28b04f6 --- /dev/null +++ b/zprofile..txt @@ -0,0 +1,3 @@ + + +