Dustin Hacker wrote:
> I registered vim yesterday to support development. However, I have yet
> to receive my registration code.
>
> I made sure the amount was over €10 and that my account was registered
> on the website.
>
> The transaction is not showing up in my account either.
>
> How long does it normally take to get the code?
About a day. This is not automated, because the format the payment
information comes in varies.
Sometimes the email that Paypal sends does not get to me, thus if you
don't hear in a couple of days you might want to ping me.
Also, if you make a bank transfer I don't get a notification. SEPA
transfers are quick though, and have lower overhead than Paypal.
Assuming you used Paypal, the transaction should show up on your
account.
--
hundred-and-one symptoms of being an internet addict:
127. You bring your laptop and cellular phone to church.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/202104201222.13KCMv9Z833638%40masaka.moolenaar.net.
Tuesday, April 20, 2021
Re: Automating paragraphs (was Re: Dump help pages)
I wrote:
I have the following in my .vimrc :" Command to join lines in all paragraphs in a range/the whole buffer (Jp == join paras):com! -range=% Jp <line>,<line>g/^\s*\S/ .,/^\s*$/-join" Explanation:" :g/^\s*\S/ " Go to the first in each sequence of non-blank lines" Actually every non-blank line but the result is the same here!" .,/^\s*$/- " "Select" all lines from the current to the one before the next blank line
This should have been:
" .,/^\s*$/-1
I accidentally removed the digit 1 (not sure it matters though!)
" join " Join the "selected" lines" Mapping to join lines in all paras in the buffer:nnor Jp Go<esc>ggVG:Jp<cr>" Explanation:" G " Go to the last line in the buffer" o<esc> " Add a blank line below the last so we are sure there is one!" gg " Go to the first line in the buffer" V " Visually select the (first) line" G " Extend the selection to the last line in the buffer" :Jp<cr> " Execute the command defined above" Mapping to execute the :Jp command over the current visual selection:vnor Jp :Jp<cr>HTH/bpj
The short answer is go to the top of the paragraph and press Shift+V,
then to the bottom and press Shift+J (not Ctrl+J). You can automate this
further by writing a function that would figure out the top and bottom
of the paragraph via whatever logic you build in. See :help :function.
> Then, how might I automate the process of entering N newlines between
> every sentence? I.e., automating pressing ), i, enter a few times, then
> escape, for multiple sentences? I could create a shortcut to execute
> these commands and call it myself, or it could also repeat until the
> conditions above. How would I do either?
Example, for N = 4:
:imap <F9> <CR><CR><CR><CR><Esc>
Type the actual < and > characters as shown. To use this, at the end of
typing your paragraph do not press Esc but press F9 (or whatever key you
mapped).
If you sometimes want to insert N blank lines in already-written text,
add this:
:map <F9> A<F9>
The previous map was active in insert mode; this one is active in normal
mode. It moves to the end of the current line ("A") in insert mode and
then appends the insert-mode version of F9.
Once you've verified that these work as you wish, you can put them in
your $VIM/_vimrc file so that they will be executed whenever you start Vim.
> Also, how do I go back to where the cursor previously was, in case I
> accidentally move it?
`` or ''
(One goes back to the _line_) where you were; the other goes back to the
exact position within the line.)
--
Stan Brown
Tehachapi, CA, USA
https://BrownMath.com
https://OakRoadSystems.com
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/d9ee4264-13cb-eef7-be14-e0e68f9df155%40fastmail.fm.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CADAJKhAbSe-2WBM%3D0287Zf%2BKXciTQE7GtkFTr4xptJHNfxhWzQ%40mail.gmail.com.
Re: Automating paragraphs (was Re: Dump help pages)
Den fre 16 apr. 2021 19:27Stan Brown <the_stan_brown@fastmail.fm> skrev:
On 2021-04-16 09:42, Julius Hamilton wrote:
> At the beginning of a paragraph which has been separated mid-sentence
> onto separate lines, how might I automate the process of calling CTRL-J
> until all the separated lines in the paragraph have been combined into
> one line? Will Vim be able to call CTRL-J until a condition is met, for
> example, that the single line being built ends in a sentence (a period),
> or until the next line is a blank newline?
I have the following in my .vimrc :
" Command to join lines in all paragraphs in a range/the whole buffer (Jp == join paras)
:com! -range=% Jp <line>,<line>g/^\s*\S/ .,/^\s*$/-join
" Explanation:
" :g/^\s*\S/ " Go to the first in each sequence of non-blank lines
" Actually every non-blank line but the result is the same here!
" .,/^\s*$/- " "Select" all lines from the current to the one before the next blank line
" join " Join the "selected" lines
" Mapping to join lines in all paras in the buffer
:nnor Jp Go<esc>ggVG:Jp<cr>
" Explanation:
" G " Go to the last line in the buffer
" o<esc> " Add a blank line below the last so we are sure there is one!
" gg " Go to the first line in the buffer
" V " Visually select the (first) line
" G " Extend the selection to the last line in the buffer
" :Jp<cr> " Execute the command defined above
" Mapping to execute the :Jp command over the current visual selection
:vnor Jp :Jp<cr>
HTH
/bpj
The short answer is go to the top of the paragraph and press Shift+V,
then to the bottom and press Shift+J (not Ctrl+J). You can automate this
further by writing a function that would figure out the top and bottom
of the paragraph via whatever logic you build in. See :help :function.
> Then, how might I automate the process of entering N newlines between
> every sentence? I.e., automating pressing ), i, enter a few times, then
> escape, for multiple sentences? I could create a shortcut to execute
> these commands and call it myself, or it could also repeat until the
> conditions above. How would I do either?
Example, for N = 4:
:imap <F9> <CR><CR><CR><CR><Esc>
Type the actual < and > characters as shown. To use this, at the end of
typing your paragraph do not press Esc but press F9 (or whatever key you
mapped).
If you sometimes want to insert N blank lines in already-written text,
add this:
:map <F9> A<F9>
The previous map was active in insert mode; this one is active in normal
mode. It moves to the end of the current line ("A") in insert mode and
then appends the insert-mode version of F9.
Once you've verified that these work as you wish, you can put them in
your $VIM/_vimrc file so that they will be executed whenever you start Vim.
> Also, how do I go back to where the cursor previously was, in case I
> accidentally move it?
`` or ''
(One goes back to the _line_) where you were; the other goes back to the
exact position within the line.)
--
Stan Brown
Tehachapi, CA, USA
https://BrownMath.com
https://OakRoadSystems.com
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/d9ee4264-13cb-eef7-be14-e0e68f9df155%40fastmail.fm.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CADAJKhA-3Dmp1O7XcGsJ0BPkivshP%3DWt47_nvP_sJdPwN2j64Q%40mail.gmail.com.
Monday, April 19, 2021
Re: Some basic Vim commands
Hi,
Julius Hamilton schrieb am 19.04.2021 um 15:33:
> Thanks very much. I plan on reading through this soon, when I have the time.
>
> I was also curious, I created a split screen with CTRL-W s. But in the lower screen, if I'd like a terminal running there, when I type :sh, the entire Vim application exits, including the top screen.
>
> Would there be any way to have a terminal in the lower screen, and Vim on the top?
have you tried
:term
?
Regards,
Jürgen
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/7ec8fc73-05a6-b167-618d-b733e3a63bd0%40googlemail.com.
Julius Hamilton schrieb am 19.04.2021 um 15:33:
> Thanks very much. I plan on reading through this soon, when I have the time.
>
> I was also curious, I created a split screen with CTRL-W s. But in the lower screen, if I'd like a terminal running there, when I type :sh, the entire Vim application exits, including the top screen.
>
> Would there be any way to have a terminal in the lower screen, and Vim on the top?
have you tried
:term
?
Regards,
Jürgen
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/7ec8fc73-05a6-b167-618d-b733e3a63bd0%40googlemail.com.
Re: Some basic Vim commands
On 2021-04-19, Julius Hamilton wrote:
> Is there any way to have tabs inside of a split window? I currently have tabs
> one layer above a split, so if I switch tabs, the split is gone and a single
> buffer fills the screen.
No. A tab contains one or more windows; windows cannot contain
tabs. See:
:help windows-intro
:help tab-page-intro
Regards,
Gary
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20210419202803.GE8076%40phoenix.
> Is there any way to have tabs inside of a split window? I currently have tabs
> one layer above a split, so if I switch tabs, the split is gone and a single
> buffer fills the screen.
No. A tab contains one or more windows; windows cannot contain
tabs. See:
:help windows-intro
:help tab-page-intro
Regards,
Gary
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20210419202803.GE8076%40phoenix.
Re: Some basic Vim commands
Thanks very much.
I had some success with Tmux, actually.
Is there any way to have tabs inside of a split window? I currently have tabs one layer above a split, so if I switch tabs, the split is gone and a single buffer fills the screen.
Thanks very much,
Julius
On Mon, Apr 19, 2021, 15:59 Marc Weber <marco-oweber@gmx.de> wrote:
:sh des start a shell, if you quit it you should be back i vim.
There are various plugins/ extensions which provide a window with a terminal if you need to keep something running.
https://neovim.io/doc/user/nvim_terminal_emulator.html
:h terminal.txt (?)
Alternatives :!cmd or ctrl-z then command fg or use screen and have 2 windows or various old solutions which try
to provide :h terminal like features but as script code which might work only most of the time.
Marc Weber
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/d22b4311-f7f2-5052-a58f-1fdcd7ef39e4%40gmx.de.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAGrXgp1xjnZ9ZJBNSKGdMP1_Ngdv4A4phA5jGT3ihGRvFOfsww%40mail.gmail.com.
Re: Some basic Vim commands
:sh des start a shell, if you quit it you should be back i vim.
There are various plugins/ extensions which provide a window with a terminal if you need to keep something running.
https://neovim.io/doc/user/nvim_terminal_emulator.html
:h terminal.txt (?)
Alternatives :!cmd or ctrl-z then command fg or use screen and have 2 windows or various old solutions which try
to provide :h terminal like features but as script code which might work only most of the time.
Marc Weber
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/d22b4311-f7f2-5052-a58f-1fdcd7ef39e4%40gmx.de.
There are various plugins/ extensions which provide a window with a terminal if you need to keep something running.
https://neovim.io/doc/user/nvim_terminal_emulator.html
:h terminal.txt (?)
Alternatives :!cmd or ctrl-z then command fg or use screen and have 2 windows or various old solutions which try
to provide :h terminal like features but as script code which might work only most of the time.
Marc Weber
--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/d22b4311-f7f2-5052-a58f-1fdcd7ef39e4%40gmx.de.
Subscribe to:
Posts (Atom)