100000ii

2018-05-14 Thread Eli the Bearded
Prompted by a challenge here: https://fivethirtyeight.com/features/pirates-monkeys-and-coconuts-oh-my/ (Near the bottom of the page, in the answers to the previous challenge dealing with editors.) I tried inserting a million letter "i"s into a new buffer with vim. Oh, how insanely slow it was.

Re: terminal - back to terminal from normal ?

2018-05-14 Thread M Kelly
Would something like this work as a toggle ? nnoremap ( == 'terminal') ? 'i' : '\' -mark -- -- 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 ---

Re: terminal - back to terminal from normal ?

2018-05-14 Thread M Kelly
> Any command that would start Insert mode, e.g. 'a' or 'i'. Well ok, thats just too darn obvious! thx as always, mark -- -- 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

Re: terminal - back to terminal from normal ?

2018-05-14 Thread Bram Moolenaar
Mark Kelly wrote: > When in a terminal I can do or to get into > normal mode. But is there a way to get back to terminal mode ? No > matter what I try and search for I cannot seem to find it. Any command that would start Insert mode, e.g. 'a' or 'i'. -- Sometimes I think the surest

terminal - back to terminal from normal ?

2018-05-14 Thread M Kelly
Hi, When in a terminal I can do or to get into normal mode. But is there a way to get back to terminal mode ? No matter what I try and search for I cannot seem to find it. thx, mark -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below

Re: Putting syntax sync fromstart in ~/.vimrc

2018-05-14 Thread Christian Brabandt
On Mo, 14 Mai 2018, Petr Mach wrote: > > Another is using an autocommand to run the command automatically after > > the syntax changes > > > > :au Syntax * syntax sync fromstart > > > > This command must be in your vimrc after the syntax highlighting is > > turned on, or it will happen before

Re: Putting syntax sync fromstart in ~/.vimrc

2018-05-14 Thread Petr Mach
> Another is using an autocommand to run the command automatically after > the syntax changes > > :au Syntax * syntax sync fromstart > > This command must be in your vimrc after the syntax highlighting is > turned on, or it will happen before the syntax change still! I'm trying it, but this is

Re: mapping ?

2018-05-14 Thread 'Andy Wokula' via vim_use
Am 13.05.2018 um 22:24 schrieb M Kelly: Yes, this is default behaviour on linux. You need to remap first, then map . thx so much nnoremap works great :-) -mark Same on Windows. You don't need . I'd rather map :nnoremap -- Andy -- -- You received this message from the "vim_use"