diff options
author | Cody Hiar <codyfh@gmail.com> | 2018-05-26 11:05:04 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2018-05-26 11:05:04 -0600 |
commit | b8160e30a2446c807c16f0ef02aaac48d5e0b004 (patch) | |
tree | 57842e4232db4cf71cdf0cf16a984656631d103f | |
parent | fd7b4ce5c66bc857914651336cd08d76cd02d7e9 (diff) |
Disable path (autocomplete issues) remove enter for autocomplete
-rw-r--r-- | plugin/vim-options.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 215af95..cbcd5e0 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -10,7 +10,9 @@ set wildmenu " Turn on wildmenu for vim, Neovim defaults to on set incsearch " Shows results for '/' search as you are typing the search set hlsearch " After a '/' search, highlight the matches " Regular settings -set path=** " Set path to look at all directories under current root +" Don't be a fool, setting path will make all kinds of funky things happen +" with the autocomplete +"set path=** " Set path to look at all directories under current root set wildignore=*/app/cache,*/vendor,*/env,*.pyc,*/venv,*/__pycache__ " Wildmenu will ignore these folder/file types set expandtab " Expand tabs into spaces set tabstop=4 " Default to 4 spaces @@ -207,8 +209,6 @@ noremap <Right> <C-w>l " Faster next functions nnoremap [q :cprev<CR> nnoremap ]q :cnext<CR> -" Autocomplete popup mappings -inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<CR>" " Some formatting shortcuts nnoremap g1 V:s/\<./\u&/g<CR>:noh<CR> nnoremap g2 V:s/-/ /g<CR>:noh<CR> |