Hi,
Thanks. I will look into that func, or something like it.
> Making the one act like the other would confuse me.
I think I'm really only asking for a :x to save and move on with out prompting.
take care
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post!
On Thu, Dec 6, 2018 at 10:02 PM M Kelly wrote:
>
> Hi,
>
> When editting many files I can just do :wn to save and go to next, but
> just curious, does anyone know of a mapping/abbrev so that :x acts like
> :x for one file (and the last file), but acts like :wn for the files in
> between ? Or
Maybe you can define a function:
function NextOrQuit()
write
if argidx() + 1 == argc()
exit # same as :x
else
wnext
endif
endfunction
then invoke it from a mapping or command of your choice, say :X or \x or ,x
Not so flexible with the exclamation marks and
Hi,
When editting many files I can just do :wn to save and go to next, but
just curious, does anyone know of a mapping/abbrev so that :x acts like
:x for one file (and the last file), but acts like :wn for the files in
between ? Or really just saves curent and loads next w/o a prompt ?
thx
On Do, 06 Dez 2018, Tim Chase wrote:
> Brought to my attention by this thread:
>
> https://www.reddit.com/r/vim/comments/a3e80i/is_vim_right_for_me/
>
> It seems to me that :p should always only print the line, even if
> 'number' is set. If you want to print the line with its line-number,
>
Hi,
Tim Chase schrieb am 06.12.2018 um 14:19:
> Brought to my attention by this thread:
>
> https://www.reddit.com/r/vim/comments/a3e80i/is_vim_right_for_me/
>
> It seems to me that :p should always only print the line, even if
> 'number' is set. If you want to print the line with its
Brought to my attention by this thread:
https://www.reddit.com/r/vim/comments/a3e80i/is_vim_right_for_me/
It seems to me that :p should always only print the line, even if
'number' is set. If you want to print the line with its line-number,
you can either use ":p#" (:help ex-flags) or even just
On Thursday, December 6, 2018 at 4:59:09 PM UTC+9, Yasuhiro MATSUMOTO wrote:
> You can watch keynote speach of Bram too!
>
> https://www.youtube.com/playlist?list=PLx8bw5NQypsnlh5K5LZAaFvAdxfGpt2iq
Also you can see all of slides at: https://vimconf.org/2018/
--
--
You received this message