🚧 Configured fzf to be on bottom, rm tree at startup
This commit is contained in:
parent
8d27af1c1b
commit
b2c5e760d0
3 changed files with 9 additions and 3 deletions
|
|
@ -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()]]
|
||||
|
|
|
|||
|
|
@ -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
3
zprofile..txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue