* Grady Martin <sunnycemetery@gmail.com> [2015-07-05 04:05]:
> The default colors (as when foregoing any execution of :colorscheme)
> changed to "ron", even though :colorscheme outputs "default".
> Subsequently setting ":colorscheme default" correctly restores vim's
> colors but at the cost of removing any :highlight commands. This
> happens even when ":colorscheme default" occurs in $MYVIMRC before the
> :highlight commands.
>
> I believe this is a problem, as the setting displayed by :colorscheme
> is "default", yet subsequently executing ":colorscheme default"
> results in an entirely different color scheme. It is confusing.
This is not a problem. Since 7.4.757 Vim detects terminal background
color and sets value of background option according to it. You can
override this behavior by setting background option explicitly in your
vimrc.
--
Dmitri Vereshchagin
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Sunday, July 5, 2015
Re: Is it possible to redirect vim input?
On 07/03/2015 09:23 PM, GoTouch Go wrote:
> Hi there,
>
> I am looking to make vim work with gdb in an easy way I like. I
> looked around and does not seem to see a solution. There is gdbmgr
> but that means I still need to type in gdb command which is too
> long.
>
> What I prefer is to let vim get input from my program, which sends
> editing input to vim so as to show a file, go to specific line, etc.
> This way I can press Fn hot keys, send commands to gdb, and move the
> cursor in vim as well. I can still edit in vim, and save the change,
> recompile and restart gdb.
>
> So what I am looking to is basically sending input to vim through a
> pipe. Do you know a way to do so? vim probably does not get input
> from STDIN because reading from STDIN cannot respond to individual
> key strokes.
>
> Thanks for any clue.
>
That's not what you asked for but in case of, cgdb is an ncurses
interface to GDB modeled after Vim.
https://cgdb.github.io/
Steve
--
--
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.
For more options, visit https://groups.google.com/d/optout.
> Hi there,
>
> I am looking to make vim work with gdb in an easy way I like. I
> looked around and does not seem to see a solution. There is gdbmgr
> but that means I still need to type in gdb command which is too
> long.
>
> What I prefer is to let vim get input from my program, which sends
> editing input to vim so as to show a file, go to specific line, etc.
> This way I can press Fn hot keys, send commands to gdb, and move the
> cursor in vim as well. I can still edit in vim, and save the change,
> recompile and restart gdb.
>
> So what I am looking to is basically sending input to vim through a
> pipe. Do you know a way to do so? vim probably does not get input
> from STDIN because reading from STDIN cannot respond to individual
> key strokes.
>
> Thanks for any clue.
>
That's not what you asked for but in case of, cgdb is an ncurses
interface to GDB modeled after Vim.
https://cgdb.github.io/
Steve
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Saturday, July 4, 2015
Default Color Scheme Not Default
Hello, everyone. I recently upgraded from 7.4.738 to 7.4.764.
The default colors (as when foregoing any execution of :colorscheme) changed to "ron", even though :colorscheme outputs "default". Subsequently setting ":colorscheme default" correctly restores vim's colors but at the cost of removing any :highlight commands. This happens even when ":colorscheme default" occurs in $MYVIMRC before the :highlight commands.
I believe this is a problem, as the setting displayed by :colorscheme is "default", yet subsequently executing ":colorscheme default" results in an entirely different color scheme. It is confusing.
As a workaround, I moved highlight commands from $MYVIMRC to a copy of $VIMRUNTIME/colors/default.vim in $HOME/.vim/colors.
Has anyone else experienced anything like this?
Happy Vim Version Day!
--
--
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.
For more options, visit https://groups.google.com/d/optout.
The default colors (as when foregoing any execution of :colorscheme) changed to "ron", even though :colorscheme outputs "default". Subsequently setting ":colorscheme default" correctly restores vim's colors but at the cost of removing any :highlight commands. This happens even when ":colorscheme default" occurs in $MYVIMRC before the :highlight commands.
I believe this is a problem, as the setting displayed by :colorscheme is "default", yet subsequently executing ":colorscheme default" results in an entirely different color scheme. It is confusing.
As a workaround, I moved highlight commands from $MYVIMRC to a copy of $VIMRUNTIME/colors/default.vim in $HOME/.vim/colors.
Has anyone else experienced anything like this?
Happy Vim Version Day!
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Friday, July 3, 2015
Is it possible to redirect vim input?
Hi there,
I am looking to make vim work with gdb in an easy way I like. I looked around and does not seem to see a solution. There is gdbmgr but that means I still need to type in gdb command which is too long.
What I prefer is to let vim get input from my program, which sends editing input to vim so as to show a file, go to specific line, etc. This way I can press Fn hot keys, send commands to gdb, and move the cursor in vim as well. I can still edit in vim, and save the change, recompile and restart gdb.
So what I am looking to is basically sending input to vim through a pipe. Do you know a way to do so? vim probably does not get input from STDIN because reading from STDIN cannot respond to individual key strokes.
Thanks for any clue.
--
--
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.
For more options, visit https://groups.google.com/d/optout.
I am looking to make vim work with gdb in an easy way I like. I looked around and does not seem to see a solution. There is gdbmgr but that means I still need to type in gdb command which is too long.
What I prefer is to let vim get input from my program, which sends editing input to vim so as to show a file, go to specific line, etc. This way I can press Fn hot keys, send commands to gdb, and move the cursor in vim as well. I can still edit in vim, and save the change, recompile and restart gdb.
So what I am looking to is basically sending input to vim through a pipe. Do you know a way to do so? vim probably does not get input from STDIN because reading from STDIN cannot respond to individual key strokes.
Thanks for any clue.
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Re: Diff mode via Tabs
On Thu, Jun 18, 2015 at 11:31 AM, Ben Fritz <fritzophrenic@gmail.com> wrote:
...
(Adapted from a .bat file I use in my "send to" menu on Windows, for choosing files one at a time for diff).
This is my first time trying to use Windows SendTo with Vim.
I created a SendTo short cut and created the following command line:
C:\Vim\vim74\gvim.exe --servername gDiff +":RemoteDiffFiles"
Now, what I _really_ want it to do is this:
C:\Vim\vim74\gvim.exe --servername gDiff +":RemoteDiffFiles %1"
In other words, do not let Vim "edit" the file, but pass the filename in as a argument to my command.
Let me tell you what I have working and where my current challenges are and what I am looking for.
For this command:
C:\Vim\vim74\gvim.exe --servername gDiff +":RemoteDiffFiles"
I have setup the function that is called to loop through the argv() list which Vim provides and call the appropriate functions for each file in that list :echo argv().
This works great _but_, Vim opens that file first. Which means if I already have the file open in another instance of Vim, I have to deal with the dialog ("Open read only, delete the swap, abort, quit, ...). But really, I am not trying to edit the file at all, I am simply trying to take the filename and pass it along to a function (which in turn sends it to a different Vim).
Now, my plugin once it receives the file in the correct Vim instance uses the SwapExists autocmd and deals with everything appropriately.
Of course the SendTo command could highlight 10 files and "SendTo" Vim, so this format would never work:
C:\Vim\vim74\gvim.exe --servername gDiff +":RemoteDiffFiles %1"
As there can be an unlimited number of files. But it does represent what I really want to do, open Vim without a filelist, and instead pass the filename to my command.
So I had another idea.
Looking at gvim -h, it has the --cmd switch: {command} will be executed before processing any vimrc file.
If I could somehow get to argv() BEFORE Vim opened the files then I could hopefully use :argdelete to remove the list of files after my plugin has worked through each one.
When I tried with --cmd, it hasn't even loaded plugins yet and reported:
E492: Not an editor command: :RemoteDiffFiles
Any ideas on this one?
TIA,
David
--
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.
For more options, visit https://groups.google.com/d/optout.
Vim-multibyte mailing list is closed
Hello Vim users,
The number of messages on the vim-multibyte mailing list has gone down
to nothing. Multi-byte text is a core part of Vim these days, mainly
because UTF-8 is wide spread now.
Therefore I have closed the vim-multibyte maillist. The archive will
remain, but posting new messages is no longer possible. You can use the
vim-use and vim-dev lists for multi-byte questions and discussions.
--
hundred-and-one symptoms of being an internet addict:
174. You know what a listserv is.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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.
For more options, visit https://groups.google.com/d/optout.
The number of messages on the vim-multibyte mailing list has gone down
to nothing. Multi-byte text is a core part of Vim these days, mainly
because UTF-8 is wide spread now.
Therefore I have closed the vim-multibyte maillist. The archive will
remain, but posting new messages is no longer possible. You can use the
vim-use and vim-dev lists for multi-byte questions and discussions.
--
hundred-and-one symptoms of being an internet addict:
174. You know what a listserv is.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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.
For more options, visit https://groups.google.com/d/optout.
Thursday, July 2, 2015
how to move tab by mouse
We can use :tabm buffer_Number to move tabs. How to use mouse to move it?
Can I custom tab menu?
Can autocomplete list selection support mouse?
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Can I custom tab menu?
Can autocomplete list selection support mouse?
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Posts (Atom)