On Feb 23, 10:17 pm, howardb21 howard...@gmail.com wrote:
Is there some way one could use only one instance of vim, when editing
files in a plain old unix shell? Only way I can think of, offhand, is
to write a vim shell script that ran instead of vim.exe. Then, vim
filename -- would check if
This may be what you are looking for:
X terminal 1:
vim --servername THEONE
X terminal 2:
vim --servername THEONE --remote file_to_edit.txt
This should open the file in vim running in terminal 1.
If you don't use --servername with --remote, the server name defaults
to VIM,
so here
On Thu, 24 Feb 2011, Marko Mahnič wrote:
On Feb 23, 10:17 pm, howardb21 wrote:
Is there some way one could use only one instance of vim, when
editing files in a plain old unix shell? Only way I can think of,
offhand, is to write a vim shell script that ran instead of vim.exe.
Then, vim
On 02/23/2011 11:20 PM, Ben Schmidt wrote:
On 24/02/11 3:50 PM, Peng Yu wrote:
:%s only perform substitution with a file. Is there a command that can
perform substitution in all the files that are opened by a vim session?
Check out
:help :argdo
:help :bufdo
...remembering that vim will
On Thu, February 24, 2011 1:03 pm, Tim Chase wrote:
On 02/23/2011 11:20 PM, Ben Schmidt wrote:
:help :argdo
:help :bufdo
...remembering that vim will complain if you try to leave a
modified buffer unless you
1) save the buffer as part of your command:
:bufdo %s/foo/bar/g|w
2) set
On Thu, Feb 24, 2011 at 6:33 AM, Christian Brabandt cbli...@256bit.orgwrote:
On Thu, February 24, 2011 1:03 pm, Tim Chase wrote:
On 02/23/2011 11:20 PM, Ben Schmidt wrote:
:help :argdo
:help :bufdo
...remembering that vim will complain if you try to leave a
modified buffer unless you
On 02/24/2011 09:07 AM, David Kahn wrote:
On Thu, Feb 24, 2011 at 6:33 AM, Christian Brabandtcbli...@256bit.orgwrote:
On Thu, February 24, 2011 1:03 pm, Tim Chase wrote:
On 02/23/2011 11:20 PM, Ben Schmidt wrote:
:help :argdo
:help :bufdo
...remembering that vim will complain if you try to
On Mon, Feb 21, 2011 at 11:55:39AM EST, Benjamin R. Haskell wrote:
On Mon, 21 Feb 2011, Chris Jones wrote:
On Mon, Feb 21, 2011 at 03:57:17AM EST, Erik Christiansen wrote:
On Sun, Feb 20, 2011 at 02:37:33PM -0500, Chris Jones wrote:
[..]
Bt, I don't understand how Esc becomes alt/meta,
On Feb 23, 3:27 pm, Marc Weber marco-owe...@gmx.de wrote:
Funny idea.
It can be done. There exist different ways to track file changes for
Windows (?), linux and mac.
linux: inotify. Maybe install inotifytools to get an idea whether it
would work
mac: never used it. Seems to be called
I don't think the simple code you point to handles the undo files. I
I use version control systems rather than undo files.
So yes - this code only gets my job done.
Marc Weber
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are
How can Vim be setup so that all new files edited will open in their
own tab?
I know I can open multiple files from the command line, each in their
own tab with:
$ vim -p aaa.txt bbb.txt ccc.txt
And if I have multiple files open in buffers I can put them each into
a tab with:
:tab ball
On 02/24/2011 03:02 PM, Matt wrote:
How can Vim be setup so that all new files edited will open in their
own tab?
I know I can open multiple files from the command line, each in their
own tab with:
$ vim -p aaa.txt bbb.txt ccc.txt
And if I have multiple files open in buffers I can put
On 25/02/11 7:02 AM, Matt wrote:
How can Vim be setup so that all new files edited will open in their
own tab?
I know I can open multiple files from the command line, each in their
own tab with:
$ vim -p aaa.txt bbb.txt ccc.txt
And if I have multiple files open in buffers I can put them
Ben, AK:
Thanks for the help. I did a bit of reading and now understand the
purpose/functionality
of tabs in Vim much better.
$ alias vim='vim -p'
Got me most of the way there. With this Bash alias if I open a bunch of files
at once they
will open in a separate tab each.
I also mapped
Hi, tyru,
thank you very much.
On 2/24/11, tyru tyru@gmail.com wrote:
http://alc.co.jp/ supports English to Japanese, Japanese to English.
and if you want to look up in vim,
ref.vim is good.
http://www.vim.org/scripts/script.php?script_id=3067
Translate word to Japanese.
:Ref alc word
By the way, there is another plugin
cursoroverdictionary : Look up word or phrase in English-Japanese
Dictionary
http://www.vim.org/scripts/script.php?script_id=2680
which can do the work.
On 2/24/11, tyru tyru@gmail.com wrote:
http://alc.co.jp/ supports English to Japanese, Japanese to
I'm quite new at Vim and I love it already, but this question just won't
let me sleep.
Why is it that the cursor doesn't go beyond the last character when in
command mode?
I find it kind of wierd, and because of that I have to use either a or A
to append something to a line (instead of i).
On 25/02/11 10:06 AM, Gerardo Marset wrote:
I'm quite new at Vim and I love it already, but this question just won't let me
sleep.
Why is it that the cursor doesn't go beyond the last character when in command
mode?
I find it kind of wierd, and because of that I have to use either a or A to
On 02/24/2011 06:06 PM, Gerardo Marset wrote:
I'm quite new at Vim and I love it already, but this question just won't
let me sleep.
Why is it that the cursor doesn't go beyond the last character when in
command mode?
I find it kind of wierd, and because of that I have to use either a or A
to
From my .vim config
...
Tabs
nmap M-t :spcrC-wT Open current buffer in new tab
nmap M-w :tabclosecr
map C-Left esc:tabpreviouscr
map C-Right esc:tabnextcr
Open tab by number
map M-1 1gt
map M-2 2gt
map M-3 3gt
map M-4 4gt
map M-5 5gt
map M-6
I have Vim 7.3 on a Win 7 system. Everything is absolutely default as
installed from distribution
package at vim.org. I am editing files of collected email in Gvim. (For
anyone interested, I'm trying
to clean up the grossly inflated headers of mailing list messages,
such as those from
On 02/24/2011 08:58 PM, Rostyslaw Lewyckyj wrote:
I have Vim 7.3 on a Win 7 system. Everything is absolutely default as
installed from distribution
package at vim.org. I am editing files of collected email in Gvim. (For
anyone interested, I'm trying
to clean up the grossly inflated headers of
I run the command in vim, but it fails with SEGV.
Vim does segfault? strange.
but at least, segfault seems that it is not vim plugin's bug, but Vim's bug.
you must install one of w3m, lynx, elinks, links to get content
according to :help ref-alc
(oh I found that ref.vim does not have english
I haven't used cursoroverdictionary yet
but it also seems a interesting and extensible plugin.
to read his japanese blog entries:
http://d.hatena.ne.jp/ampmmn/searchdiary?word=cursoroverdictionary
cursoroverdictionary's features:
- it has operator to search from alc.co.jp
- hmm, I don't want
Hi, I'm getting some odd results when using wincmd after vsplit in a vim
python script:
from vim import *
command(vsplit)
command(wincmd h)
This creates a horizontal split!
If the last line is commented out, I get a vertical split as expected.
I also tried prepending ':', doing 'vertical
Gerardo Marset wrote:
Why is it that the cursor doesn't go beyond the last
character when in command mode?
I find it kind of wierd, and because of that I have to use
either a or A to append something to a line (instead of i).
There is also:
:set virtualedit=all
:help virtualedit
One
On Thu, Feb 24, 2011 at 09:06:48PM -0200, Gerardo Marset wrote:
I find it kind of wierd, and because of that I have to use either a or A
to append something to a line (instead of i).
Just one thought, in addition to the others: A major benefit of using
'A' is that you can do it from anywhere
27 matches
Mail list logo