aboutsummaryrefslogtreecommitdiff
path: root/plugin/vim-options.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r--plugin/vim-options.vim3
1 files changed, 2 insertions, 1 deletions
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 <leader>cc :cclose<CR>
"-----------------------------------------------------------------------------------------------------------------------
if !empty(glob($EditorDir.'plugged/ack.vim/plugin/ack.vim'))
nnoremap <leader>/ :call AckSearch()<CR>
- noremap <leader>ea :Ack <cword><cr>
+ noremap <leader>ea :Ack <cword><cr><c-w><c-p>
function! AckSearch()
call inputsave()
let term = input('Search: ')