Yes, the nnoremap worked perfectly! It looks to be an issue with Ctrl+space for some reason. Thank you so much Igbanam for your help - I was struggling with this for several months and was ready to give up on getting the vim mapping right.
Thanks, Ven On Thu, Jan 2, 2025 at 4:24 PM Igbanam Ogbuluijah <xigba...@gmail.com> wrote: > Could you try this mapping > > *nnoremap <leader><space> :SWSqlExecuteCurrent<CR>* > > I don't know how the leader key would work with <C-space> (which I read > as <ctrl><space>). > > > *Igbanam* > > > On Thu, Jan 2, 2025 at 5:47 PM Ven Tadipatri <vtadipa...@gmail.com> wrote: > >> Hi, >> I have the Vim Sql Workbench plugin, and I'm trying to get the keyboard >> shortcut working. When I type ":nmap", I see that this mapping is there: >> n \<C-Space> @:SWSqlExecuteCurrent<CR> >> >> However, when I type "backslash - ctrl - space" , the Terminal just >> flashes and does nothing. I've tried using a different leader key, and the >> same thing happens, so it doesn't seem to be a Mac Terminal setting. >> This is on a mac, with vim 9.1 . On my old mac, this keymapping was >> working. It still works if I type ":SWSqlExecuteCurrent", it's just the >> keyboard shortcut that I'm struggling with. >> Would appreciate any help! >> >> Thanks, >> Ven >> >> -- >> -- >> You received this message from the "vim_use" maillist. >> Do not top-post! Type your reply below the text you are replying to. >> For more information, visit http://www.vim.org/maillist.php >> >> --- >> You received this message because you are subscribed to the Google Groups >> "vim_use" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to vim_use+unsubscr...@googlegroups.com. >> To view this discussion visit >> https://groups.google.com/d/msgid/vim_use/CAEodY67Vww8pR%2B6K24T33YcKgsBXw97byZPYWa9YXrb4Z-3jVg%40mail.gmail.com >> <https://groups.google.com/d/msgid/vim_use/CAEodY67Vww8pR%2B6K24T33YcKgsBXw97byZPYWa9YXrb4Z-3jVg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_use" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vim_use+unsubscr...@googlegroups.com. > To view this discussion visit > https://groups.google.com/d/msgid/vim_use/CAOmRJrcZZB_kgtTSDz%3DAXUsmTp%3D0paqMv4hi%3D_6CK%3DtYaei2Mw%40mail.gmail.com > <https://groups.google.com/d/msgid/vim_use/CAOmRJrcZZB_kgtTSDz%3DAXUsmTp%3D0paqMv4hi%3D_6CK%3DtYaei2Mw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_use/CAEodY65Q8hZrBjtOXsCkLUFcWL4CnMwLbM2WCn-AqqsASe3w-Q%40mail.gmail.com.