From 7fdb507cd3902b6ddc6b4d65900471f50b6ee128 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Wed, 15 Apr 2020 09:13:39 -0600 Subject: Allow hidden buffers, update ack command --- plugin/vim-options.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 36d3cdf..f2a5c41 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -18,6 +18,7 @@ set path=** " Allow commands like 'gf' to find files set wildignore=*/app/cache,*/vendor,*/env,*.pyc,*/venv,*/__pycache__,*/venv " Ignore folders set sessionoptions+=globals " Append global variables to the default session options (Window Names) set backspace=2 " Make backspace work like most other programs +set hidden " Allow hidden buffers " Custom status line @@ -147,7 +148,7 @@ nnoremap cc :cclose "----------------------------------------------------------------------------------------------------------------------- if !empty(glob($EditorDir.'plugged/ack.vim/plugin/ack.vim')) nnoremap / :call AckSearch() - noremap ea :Ack + noremap ea :Ack function! AckSearch() call inputsave() let term = input('Search: ') -- cgit v1.2.3