Shane Dev wrote:
> Hi Chris,
>
> :cd [the directory of oldfilename]
> :call system("cp 'oldfilename' 'newfilename'")
>
> works as expected.
>
> After further testing, it seems I have to execute netrw-c (make browsing
> directory the current directory) before the sequence -
>
> 1. move cursor to o
Hi Chris,
:cd [the directory of oldfilename]
:call system("cp 'oldfilename' 'newfilename'")
works as expected.
After further testing, it seems I have to execute netrw-c (make browsing
directory the current directory) before the sequence -
1. move cursor to oldfile,
2. mt
3. mf
4. mc
5. en
Shane Dev wrote:
> Hi Chris,
>
> I appreciate the netrw author taking an interest in my newbie problem - but I
> am still stumped. I am running gvim 7.4.884 on Arch Linux. I checked some
> global variables -
>
> :ec g:loaded_netrwPlugin
> v153
> :ec g:netrw_localcopycmd
> cp
> :ec executable(g:ne
Hi Chris,
I appreciate the netrw author taking an interest in my newbie problem - but I
am still stumped. I am running gvim 7.4.884 on Arch Linux. I checked some
global variables -
:ec g:loaded_netrwPlugin
v153
:ec g:netrw_localcopycmd
cp
:ec executable(g:netrw_localcopycmd)
1
then I launch ne
Shane Dev wrote:
>> Copy a file using the usual netrw method for copying: (assuming cursor
>> is atop the file to be copied, and that the file is a file, not a director)
>>
>> mt (mark target)
>> mf (mark file)
>> mc
>>
>> You'll be given a prompt: Copy [filename] to : [filename]
>>
>> Just edit
> Copy a file using the usual netrw method for copying: (assuming cursor
> is atop the file to be copied, and that the file is a file, not a director)
>
> mt (mark target)
> mf (mark file)
> mc
>
> You'll be given a prompt: Copy [filename] to : [filename]
>
> Just edit the 2nd instance of [f
Shane Dev wrote:
> for example, I want to "backup" a file, in bash I type
>
> cp /etc/foo /etc/foo.0
>
> can I achieve the same time with netrw?
>
Copy a file using the usual netrw method for copying: (assuming cursor
is atop the file to be copied, and that the file is a file, not a director)
mt
for example, I want to "backup" a file, in bash I type
cp /etc/foo /etc/foo.0
can I achieve the same time with netrw?
--
--
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