Re: How to insert text   on current text position when I press key in vim in insert and normal mode?

2018-06-15 Thread Christian Brabandt
On Di, 12 Jun 2018, Gena Makhomed wrote: > But I can't understand what I need to write instead "echo". ESC in normal mode beeps (depending on your configuration it might also generate a visual bell or do nothing depending on various settings 'visualbell' 't_vb', 'belloff') Best, Christian --

Re: How to insert text   on current text position when I press key in vim in insert and normal mode?

2018-06-15 Thread Ken Takata
Hi, 2018/6/15 Fri 9:26:22 UTC+9 Gena Makhomed wrote: > Web site http://vimdoc.sourceforge.net/htmldoc/help.html > was not updated from 2010 year - this is bug or feature? There are at least two Web help sites which are up to date: http://vimhelp.appspot.com/ https://vim-jp.org/vimdoc-en/ Regards

Re: How to insert text   on current text position when I press key in vim in insert and normal mode?

2018-06-14 Thread David Woodfall
On Tuesday 12 June 2018 10:36, Gena Makhomed put forth the proposition: > On 12.06.2018 2:22, Tony Mechelynck wrote: > > > On Mon, Jun 11, 2018 at 9:57 PM, Christian Brabandt wrote: > > > > :let @n=' ' > > > :inoremap n > > > :nmap a > > Christian, thank you! All works fine now! > > > > Note tha

Re: How to insert text   on current text position when I press key in vim in insert and normal mode?

2018-06-14 Thread Gena Makhomed
On 12.06.2018 2:22, Tony Mechelynck wrote: On Mon, Jun 11, 2018 at 9:57 PM, Christian Brabandt wrote: :let @n=' ' :inoremap n :nmap a Christian, thank you! All works fine now! Note that I would not recommend mapping Why not? , as I understand, is always mapped to vim :help command.

Re: How to insert text   on current text position when I press key in vim in insert and normal mode?

2018-06-12 Thread arocker
> On Mon, Jun 11, 2018 at 9:57 PM, Christian Brabandt > mode)? Or if you're dead set on using only one keystroke, any F key > other than F1 (Help) and F10 (Menu) or any Shift-F key, would IMHO be > better than F1. > This reminds me of the story about a nerd who fell into a river and drowned, des

Re: How to insert text   on current text position when I press key in vim in insert and normal mode?

2018-06-11 Thread Tony Mechelynck
On Mon, Jun 11, 2018 at 9:57 PM, Christian Brabandt wrote: > > On Sa, 09 Jun 2018, Gena Makhomed wrote: > >> Hello, All! >> >> How to insert text   on current text position >> when I press key in vim in insert and normal mode? >> >> I try to use

Re: How to insert text   on current text position when I press key in vim in insert and normal mode?

2018-06-11 Thread Christian Brabandt
On Sa, 09 Jun 2018, Gena Makhomed wrote: > Hello, All! > > How to insert text   on current text position > when I press key in vim in insert and normal mode? > > I try to use macros, and put in .vimrc: > > let @n = "i \" > > then I switch no normal

How to insert text   on current text position when I press key in vim in insert and normal mode?

2018-06-11 Thread Gena Makhomed
Hello, All! How to insert text   on current text position when I press key in vim in insert and normal mode? I try to use macros, and put in .vimrc: let @n = "i \" then I switch no normal mode - I can run this macro by pressing @n but how to bind this macro to key in normal and i