{"action":"created","issue":{"url":"https://api.github.com/repos/haya14busa/incsearch.vim/issues/61","labels_url":"https://api.github.com/repos/haya14busa/incsearch.vim/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/haya14busa/incsearch.vim/issues/61/comments","events_url":"https://api.github.com/repos/haya14busa/incsearch.vim/issues/61/events","html_url":"https://github.com/haya14busa/incsearch.vim/issues/61","id":55672719,"number":61,"title":"incsearch doesn't work in Vim 7.3 with vim-search-pulse plugin","user":{"login":"jonthn","id":1408847,"avatar_url":"https://avatars.githubusercontent.com/u/1408847?v=3","gravatar_id":"","url":"https://api.github.com/users/jonthn","html_url":"https://github.com/jonthn","followers_url":"https://api.github.com/users/jonthn/followers","following_url":"https://api.github.com/users/jonthn/following{/other_user}","gists_url":"https://api.github.com/users/jonthn/gists{/gist_id}","starred_url":"https://api.github.com/users/jonthn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonthn/subscriptions","organizations_url":"https://api.github.com/users/jonthn/orgs","repos_url":"https://api.github.com/users/jonthn/repos","events_url":"https://api.github.com/users/jonthn/events{/privacy}","received_events_url":"https://api.github.com/users/jonthn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-27T20:52:11Z","updated_at":"2015-02-22T14:44:48Z","closed_at":null,"body":"Whenever I press ```/``` nothing happens and this error appears in ```:messages```\r\n\r\n```\r\nfunction incsearch#forward..<SNR>110_search..<SNR>110_get_input..154..152..165..138..188..<SNR>120_call..258..252..<SNR>144__auto_cmap..<SNR>\r\n145_rhs_key_list, line 5 Vim(return):E118: Too many arguments for function: maparg\r\n```\r\n\r\nBelow you will find a reduced/simplified version of my ```.vimrc``` that reproduce the problem\r\n\r\n```\r\n\" vim:fdm=marker\r\n\"\r\n\" basically vi rest in peace\r\nset nocompatible\r\n\r\nscriptencoding utf-8\r\n\r\n\" set EDITORHOME to the root directory of the plug-ins and vim user files\r\nlet $EDITORHOME=get(split(&runtimepath, ','), 0)\r\n\r\n\" Utilities functions ----------------------------------------------------- {{{\r\nfunction! CheckMake_dir(dir)\r\n  if exists(\"*mkdir\")\r\n    if !isdirectory(a:dir)\r\n      call mkdir(a:dir, 'p')\r\n    endif\r\n  endif\r\n  return isdirectory(a:dir)\r\nendfunction\r\n\r\n\" }}}\r\n\r\n\" Prefer POSIX shell\r\nif &shell =~# 'fish$'\r\n  set shell=/bin/sh\r\nendif\r\n\r\nlet g:plug_window = \"below new\"\r\n\r\n\" Plugins Manager --------------------------------------------------------- {{{\r\n\r\nif has('vim_starting')\r\n\r\n  let s:plugins_manager_url = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'\r\n  let s:plugins_manager_corefile = $EDITORHOME . '/' . 'autoload/plug.vim'\r\n\r\n  \" check the plug-ins manager is installed\r\n  function! CheckPluginsManager()\r\n    return !empty(glob(s:plugins_manager_corefile))\r\n  endfunction\r\n\r\n  \" function to detect and install if it's not the case the plug-ins manager\r\n  function! PluginsManagerOnDisk()\r\n    if !CheckPluginsManager()\r\n      if 1 == confirm(\"Install plugins manager ?\", \"&Yes\\n&No\", 2)\r\n\tif CheckMake_dir(fnamemodify(s:plugins_manager_corefile, \":p:h\"))\r\n\t  if executable('curl')\r\n\t    execute '!curl -fLo '. s:plugins_manager_corefile . ' ' . s:plugins_manager_url\r\n\t    if !v:shell_error\r\n\t      if has(\"autocmd\")\r\n\t\tautocmd VimEnter * PlugInstall\r\n\t      endif\r\n\t    endif\r\n\t  elseif executable('wget')\r\n\t    execute '!wget -O '. s:plugins_manager_corefile . ' ' . s:plugins_manager_url\r\n\t    if !v:shell_error\r\n\t      if has(\"autocmd\")\r\n\t\tautocmd VimEnter * PlugInstall\r\n\t      endif\r\n\t    endif\r\n\t  else\r\n\t    echohl ErrorMsg | echomsg \"curl or wget necessary\" | echohl NONE\r\n\t  endif\r\n\telse\r\n\t  echohl ErrorMsg | echomsg \"No plug-ins manager found!\" | echohl NONE\r\n\tendif\r\n      endif\r\n    endif\r\n  endfunction\r\n\r\n  call PluginsManagerOnDisk()\r\n\r\nendif\r\n\r\ntry\r\n  call plug#begin()\r\n\r\n  Plug 'haya14busa/incsearch.vim'\r\n  Plug 'inside/vim-search-pulse'\r\n\r\n  call plug#end()\r\n\r\n  let g:vim_search_pulse_disable_auto_mappings = 1\r\n  map /  <Plug>(incsearch-forward)\r\n  map ?  <Plug>(incsearch-backward)\r\n  map g/ <Plug>(incsearch-stay)\r\n\r\ncatch\r\n  let s:plugins_manager_active = 0\r\nfinally\r\nendtry\r\n\r\n```\r\n# To reproduce\r\n```\r\n$ vim\r\n```\r\nWhich will ask to download and install vim-plug, at first launch it will install missing plugins afterwards to you can quit vim\r\n\r\n```\r\n$ vim ~/.vimrc \r\n```\r\nThen search for 'nocomp' as an example.\r\nNothing will happen and when you type ```:messages``` you will see the error\r\n\r\n```\r\n$ vim --version\r\nVIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep  9 2014 16:30:51)\r\nCompiled by root@apple.com\r\nNormal version without GUI.  Features included (+) or not (-):\r\n-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent \r\n-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments \r\n-conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs \r\n-dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path \r\n+find_in_path +float +folding -footer +fork() -gettext -hangul_input +iconv \r\n+insert_expand +jumplist -keymap -langmap +libcall +linebreak +lispindent \r\n+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape \r\n-mouse_dec -mouse_gpm -mouse_jsbterm -mouse_netterm -mouse_sysmouse \r\n+mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype \r\n+path_extra -perl +persistent_undo +postscript +printer -profile +python/dyn \r\n-python3 +quickfix +reltime -rightleft +ruby/dyn +scrollbind +signs \r\n+smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary \r\n+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title\r\n -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo \r\n+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp\r\n -xterm_clipboard -xterm_save \r\n   system vimrc file: \"$VIM/vimrc\"\r\n     user vimrc file: \"$HOME/.vimrc\"\r\n      user exrc file: \"$HOME/.exrc\"\r\n  fall-back for $VIM: \"/usr/share/vim\"\r\nCompilation: gcc -c -I. -D_FORTIFY_SOURCE=0 -Iproto -DHAVE_CONFIG_H -arch i386 -arch x86_64 -g -Os -pipe\r\nLinking: gcc -arch i386 -arch x86_64 -o vim -lncurses\r\n```"},"comment":{"url":"https://api.github.com/repos/haya14busa/incsearch.vim/issues/comments/75438511","html_url":"https://github.com/haya14busa/incsearch.vim/issues/61#issuecomment-75438511","issue_url":"https://api.github.com/repos/haya14busa/incsearch.vim/issues/61","id":75438511,"user":{"login":"haya14busa","id":3797062,"avatar_url":"https://avatars.githubusercontent.com/u/3797062?v=3","gravatar_id":"","url":"https://api.github.com/users/haya14busa","html_url":"https://github.com/haya14busa","followers_url":"https://api.github.com/users/haya14busa/followers","following_url":"https://api.github.com/users/haya14busa/following{/other_user}","gists_url":"https://api.github.com/users/haya14busa/gists{/gist_id}","starred_url":"https://api.github.com/users/haya14busa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haya14busa/subscriptions","organizations_url":"https://api.github.com/users/haya14busa/orgs","repos_url":"https://api.github.com/users/haya14busa/repos","events_url":"https://api.github.com/users/haya14busa/events{/privacy}","received_events_url":"https://api.github.com/users/haya14busa/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T14:44:48Z","updated_at":"2015-02-22T14:44:48Z","body":"> I'll fix it\r\n\r\nHmm.... from a quick read, it's really hard to handle it for old Vim, so incsearch.vim probably require Vim version over 7.3.032."}}