|
experts: just curious about: how to display the contents that I input previously so I may just call them easily , just like the way I search my cmd history and re-use it... b.t.w c-r & c-a are not what I need. //this is vim help: :his[tory] [{name}] [{first}][, [{last}]] List the contents of history {name} which can be: c[md] or : command-line history s[earch] or / search string history e[xpr] or = expression register history i[nput] or @ input line history <---- d[ebug] or > debug command history a[ll] all of the above so looks :his i is what I need, but //what are these? :history @ # input history 1 \<0xFE686\> 2 \<0x0000269c\> 3 269c 4 f18628 5 \<0x00f185b8\> 6 f185b8 7 \<0xf185b8\> 8 269c\|\<0x00000b73\> 9 \<0x8027bc20\> 10 1217 11 iif 12 \<0x0027ee80\> 13 \<0xc027ee80\> 14 \<0x8026c398\> 15 \<0x0026f218\> 16 \<0x269c\> 17 \<0x04fa\> 18 04fa 19 \<0x40915860\> > 20 1\.0\.0\.202\. I don't think I "input" these... instead these looks the "search" history that I ever used with Mark plugin (Ingo Karkat), to highlight some numbers. http://www.vim.org/scripts/script.php?script_id=2666 copy Ingo in case the mark plugin are related to my issue here... -- 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 |
|
On Tuesday, August 7, 2012 4:06:05 PM UTC-5, ping wrote:
> experts: > > > > just curious about: > > how to display the contents that I input previously > > so I may just call them easily , just like the way I search my cmd > > history and re-use it... > > > > b.t.w c-r & c-a are not what I need. > > > > //this is vim help: > > :his[tory] [{name}] [{first}][, [{last}]] > > List the contents of history {name} which can be: > > c[md] or : command-line history > > s[earch] or / search string history > > e[xpr] or = expression register history > > i[nput] or @ input line history <---- > > d[ebug] or > debug command history > > a[ll] all of the above > > > > so looks :his i is what I need, but > > > > //what are these? > > :history @ > > # input history > > 1 \<0xFE686\> > > 2 \<0x0000269c\> > > 3 269c > > 4 f18628 > > 5 \<0x00f185b8\> > > 6 f185b8 > > 7 \<0xf185b8\> > > 8 269c\|\<0x00000b73\> > > 9 \<0x8027bc20\> > > 10 1217 > > 11 iif > > 12 \<0x0027ee80\> > > 13 \<0xc027ee80\> > > 14 \<0x8026c398\> > > 15 \<0x0026f218\> > > 16 \<0x269c\> > > 17 \<0x04fa\> > > 18 04fa > > 19 \<0x40915860\> > > > 20 1\.0\.0\.202\. > > > > > > > > I don't think I "input" these... instead these looks the "search" > > history that I ever used with Mark plugin (Ingo Karkat), to highlight > > some numbers. > > http://www.vim.org/scripts/script.php?script_id=2666 > > > > copy Ingo in case the mark plugin are related to my issue here... I would guess that plugin uses the input() command to get strings from the user to search for. This is what is meant by "input line history". What did you think it meant? -- 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 |
|
On 8/7/2012 5:35 PM, Ben Fritz wrote:
> I would guess that plugin uses the input() command to get strings from the user to search for. > > This is what is meant by "input line history". What did you think it meant? hi Ben: thanks for the response. I thought it meant : a list texts that I typed in whenever I dropped into insert mode and typed by my hand ... for example: I open vim and typed: iI'm a beginner<esc>ibut I'm not a good learner<esc> after that I type: :his i my expectation is I will get what I previously input as a list: 1. I'm a beginner 2. but I'm not a good learner so looks I misunderstood this :history i regards ping -- 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 |
|
On Wednesday, August 8, 2012 10:14:59 PM UTC-5, ping wrote:
> On 8/7/2012 5:35 PM, Ben Fritz wrote: > > > I would guess that plugin uses the input() command to get strings from the user to search for. > > > > > > This is what is meant by "input line history". What did you think it meant? > > > > hi Ben: > > thanks for the response. > > I thought it meant : a list texts that I typed in whenever I dropped > > into insert mode and typed by my hand ... > > > > for example: > > > > I open vim and typed: > > iI'm a beginner<esc>ibut I'm not a good learner<esc> > > > > after that I type: > > :his i > > > > my expectation is I will get what I previously input as a list: > > 1. I'm a beginner > > 2. but I'm not a good learner > > > > so looks I misunderstood this :history i > > > > regards > > ping I see. So in response to your original question, I don't think there's a way to recall and repeat arbitrary changes you've made in the past. But you can at least see all the changes you've made: http://vim.wikia.com/wiki/Using_undo_branches -- 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 |
|
In reply to this post by ping
got it Ingo, thanks for the explanation.
regards ping On 08/10/2012 03:05 PM, Ingo Karkat wrote: > Hello ping, > > On 07-Aug-2012 23:06:05 +0200, ping wrote: > >> [20 lines deleted] >> >> //what are these? >> :history @ >> # input history >> 1 \<0xFE686\> >> 2 \<0x0000269c\> >> 3 269c >> 4 f18628 >> 5 \<0x00f185b8\> >> 6 f185b8 >> 7 \<0xf185b8\> >> 8 269c\|\<0x00000b73\> >> 9 \<0x8027bc20\> >> 10 1217 >> 11 iif >> 12 \<0x0027ee80\> >> 13 \<0xc027ee80\> >> 14 \<0x8026c398\> >> 15 \<0x0026f218\> >> 16 \<0x269c\> >> 17 \<0x04fa\> >> 18 04fa >> 19 \<0x40915860\> >>> 20 1\.0\.0\.202\. >> >> >> >> I don't think I "input" these... instead these looks the "search" >> history that I ever used with Mark plugin (Ingo Karkat), to highlight >> some numbers. >> http://www.vim.org/scripts/script.php?script_id=2666 >> >> copy Ingo in case the mark plugin are related to my issue here... > > By default, the Mark plug indeed adds the highlighted text to both input and > search history. I don't particularly like this functionality, but it was in the > original plugin that I took over. Just put > let g:mwHistAdd = '' > into your .vimrc to turn it off. > > By default, any marked words are also added to the search (/) and input (@) > history; if you don't want that, remove the corresponding symbols from: > let g:mwHistAdd = '/@' > > -- regards, ingo > -- 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 |
|
In reply to this post by Ben Fritz
thanks that looks a good plugin to have!
On 08/09/2012 10:38 AM, Ben Fritz wrote: >> my expectation is I will get what I previously input as a list: >> > >> >1. I'm a beginner >> > >> >2. but I'm not a good learner >> > >> > >> > >> >so looks I misunderstood this :history i >> > >> > >> > >> >regards >> > >> >ping > I see. So in response to your original question, I don't think there's a way to recall and repeat arbitrary changes you've made in the past. > > But you can at least see all the changes you've made: > > http://vim.wikia.com/wiki/Using_undo_branches -- 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 |
| Powered by Nabble | Edit this page |
