Re: Leader ?
Mohammed [16-10-15 20:28]: > > > On 10/15/2016 09:22 PM, Mohammed wrote: > >On 10/15/2016 09:12 PM, meino.cra...@gmx.de wrote: > > > >>Hi Mohammed, > >> > >>thanks for your reply ! :) > >> > >>It seems, that my vim is somehow misconfigured... > >>Is there a way to check, what the leader is like > >>":set ft" does for the filetype ? > >> > >>Cheers, > >>Meino > >> > >> > >Hello, Meino > > > > > >You can use :echo mapleader to see what it is mapped to. If it says > >mapleader is undefined then that means it is the default which is the > >backslash. To set it, use :let mapleader = "\\" to set it to backslash > >or any other key you want. > > > >Hope I answered your question. > > > >Cheers, > >Mohammed. > > I forgot to mention that if you change the leader you will have to > re-issue the nnoremap commands so they map to the new leader key. I > recommend adding the commands to your .vimrc and restarting vim so all > the remaps take the new leader value. > > -- > -- > 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. > For more options, visit https://groups.google.com/d/optout. > Hi Mohammed, oh!...thanks for that info! :) Cheers, Meino -- -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Leader ?
Mohammed [16-10-15 20:28]: > On 10/15/2016 09:12 PM, meino.cra...@gmx.de wrote: > > >Hi Mohammed, > > > >thanks for your reply ! :) > > > >It seems, that my vim is somehow misconfigured... > >Is there a way to check, what the leader is like > >":set ft" does for the filetype ? > > > >Cheers, > >Meino > > > > > Hello, Meino > > > You can use :echo mapleader to see what it is mapped to. If it says > mapleader is undefined then that means it is the default which is the > backslash. To set it, use :let mapleader = "\\" to set it to backslash > or any other key you want. > > Hope I answered your question. > > Cheers, > Mohammed. > > -- > -- > 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. > For more options, visit https://groups.google.com/d/optout. > Hi Mohammed, YEAH! :) Thanks a lot, Mohammed -- exactly what I needed! :)) Cheers, Meino -- -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Leader ?
On 10/15/2016 09:22 PM, Mohammed wrote: On 10/15/2016 09:12 PM, meino.cra...@gmx.de wrote: Hi Mohammed, thanks for your reply ! :) It seems, that my vim is somehow misconfigured... Is there a way to check, what the leader is like ":set ft" does for the filetype ? Cheers, Meino Hello, Meino You can use :echo mapleader to see what it is mapped to. If it says mapleader is undefined then that means it is the default which is the backslash. To set it, use :let mapleader = "\\" to set it to backslash or any other key you want. Hope I answered your question. Cheers, Mohammed. I forgot to mention that if you change the leader you will have to re-issue the nnoremap commands so they map to the new leader key. I recommend adding the commands to your .vimrc and restarting vim so all the remaps take the new leader value. -- -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Leader ?
On 10/15/2016 09:12 PM, meino.cra...@gmx.de wrote: Hi Mohammed, thanks for your reply ! :) It seems, that my vim is somehow misconfigured... Is there a way to check, what the leader is like ":set ft" does for the filetype ? Cheers, Meino Hello, Meino You can use :echo mapleader to see what it is mapped to. If it says mapleader is undefined then that means it is the default which is the backslash. To set it, use :let mapleader = "\\" to set it to backslash or any other key you want. Hope I answered your question. Cheers, Mohammed. -- -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Leader ?
Mohammed [16-10-15 20:08]: > On 10/15/2016 08:24 PM, meino.cra...@gmx.de wrote: > >Hi, > > > >Short question: > >I have installed a plugin (a variant of tslime), which > >uses for its commands. > >That /seems/ not to work ... or I am hitting the wrong leader. > >Is there a way/command to show the leader, which is configured? > > > >Thank you very much in advance for any help! > >Cheers, > >Meino > > > > > Hello, > > I think the key by default is the backslash key. Also make > sure you have actually added an nnoremap line in your .vimrc to bind it > to the plugin. The lines are usually supplied with the installation > instructions. > > Cheers, > Mohammed Arabiat > > -- > -- > 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. > For more options, visit https://groups.google.com/d/optout. > Hi Mohammed, thanks for your reply ! :) It seems, that my vim is somehow misconfigured... Is there a way to check, what the leader is like ":set ft" does for the filetype ? Cheers, Meino -- -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Leader ?
On 10/15/2016 08:24 PM, meino.cra...@gmx.de wrote: Hi, Short question: I have installed a plugin (a variant of tslime), which uses for its commands. That /seems/ not to work ... or I am hitting the wrong leader. Is there a way/command to show the leader, which is configured? Thank you very much in advance for any help! Cheers, Meino Hello, I think the key by default is the backslash key. Also make sure you have actually added an nnoremap line in your .vimrc to bind it to the plugin. The lines are usually supplied with the installation instructions. Cheers, Mohammed Arabiat -- -- 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. For more options, visit https://groups.google.com/d/optout.