On Tue, September 13, 2011 9:30 pm, Steve Hall wrote:
From: Benjamin R. Haskell, Tue, September 13, 2011 3:06 pm
^M == \r CR carriage return
^J == \n LF line feed
Slightly off-topic here, but it is a shame differences between CR and
LF can't be managed via listchars. A few sensible defaults
On Tue, 13 Sep 2011, lith wrote:
$ strace -e trace=file gvim +q | grep themes/ | sed 1q
access(/home/bhaskell/.themes/Raleigh/gtk-2.0/gtkrc, F_OK) = -1 ENOENT
(No such file or directory)
I use a custom theme based on Ambiance theme. When I run the above
command (with | since strace prints
If I start vim from a console and execute :!ls, the whole vim window
disappears and I can see the output in the console.
If I run vim inside a screen session and execute the same command, the
vim buffer is scrolled upwards so that I can see parts of the vim
buffer and the output of ls at the same
On 10:54 Wed 14 Sep , Rickard Lindberg wrote:
If I start vim from a console and execute :!ls, the whole vim window
disappears and I can see the output in the console.
If I run vim inside a screen session and execute the same command, the
vim buffer is scrolled upwards so that I can see
On Wed, September 14, 2011 10:54 am, Rickard Lindberg wrote:
If I start vim from a console and execute :!ls, the whole vim window
disappears and I can see the output in the console.
If I run vim inside a screen session and execute the same command, the
vim buffer is scrolled upwards so that I
Hello to everyone.
I got one silly question: I want to delete all lines matching pattern
completely, but I :%s/.*{PATTERN}.*// delete only text till the end of line.
Using :s/^$// after doesnt't work also.
Is where a simple way to do such substitution?
--
Best regards
Golubev Mikhail
--
You
On Wed, Sep 14, 2011 at 11:31 AM, Christian Brabandt cbli...@256bit.org wrote:
On Wed, September 14, 2011 10:54 am, Rickard Lindberg wrote:
If I start vim from a console and execute :!ls, the whole vim window
disappears and I can see the output in the console.
If I run vim inside a screen
On Wed, September 14, 2011 11:32 am, Михаил Голубев wrote:
I got one silly question: I want to delete all lines matching pattern
completely, but I :%s/.*{PATTERN}.*// delete only text till the end of
line.
Using :s/^$// after doesnt't work also.
Is where a simple way to do such substitution?
Nice! Thank you Karol! Actually I found another solution accidentally
browsing through vim help: :%s/^.*{PATTERN}.*\n// (e.d using \n instead of
$ atom)
2011/9/14 Karol Samborski edv.ka...@gmail.com
2011/9/14 Михаил Голубев qsolo...@gmail.com:
Hello to everyone.
I got one silly question:
Thank you Christian for detailed solution. I repeat your advice a couple of
minutes after your reply)
2011/9/14 Christian Brabandt cbli...@256bit.org
On Wed, September 14, 2011 11:32 am, Михаил Голубев wrote:
I got one silly question: I want to delete all lines matching pattern
completely,
It works also for me, but I use white background colour in xterm and dark
one in vim. The output has colours from the terminal. Is there a way to
preserve the vim colour scheme?
Best,
Marcin
On 11:52 Wed 14 Sep , Rickard Lindberg wrote:
On Wed, Sep 14, 2011 at 11:31 AM, Christian Brabandt
On Wed, September 14, 2011 2:37 pm, Marcin Szamotulski wrote:
It works also for me, but I use white background colour in xterm and dark
one in vim. The output has colours from the terminal. Is there a way to
preserve the vim colour scheme?
I don't think so, but I don't really know enough about
On 09/14/11 04:55, Christian Brabandt wrote:
But of course you can achieve the same using a :s command. In your case
you only forgot to include the \n in your pattern, so Vim leaves it
in, which means you still have an empty line, but including it in your
:s command should also work:
Once I've typed in a command to search and replace for something, for
example:
%s/search/replace/g
how can I re-execute that command without retyping it? (I have a string
of source files between which I'm moving via :n each time and I don't
want to have to retype the command; dot won't
On Wed, 2011-09-14 at 09:56 -0400, AK wrote:
On 09/14/2011 09:45 AM, Russell Bateman wrote:
Once I've typed in a command to search and replace for something, for
example:
%s/search/replace/g
how can I re-execute that command without retyping it? (I have a string
of source files
On Wed, September 14, 2011 3:19 pm, Tim Chase wrote:
On 09/14/11 04:55, Christian Brabandt wrote:
But of course you can achieve the same using a :s command. In your case
you only forgot to include the \n in your pattern, so Vim leaves it
in, which means you still have an empty line, but
On 09/14/11 08:45, Russell Bateman wrote:
Once I've typed in a command to search and replace for something, for
example:
%s/search/replace/g
how can I re-execute that command without retyping it? (I have a string
of source files between which I'm moving via :n each time and I don't
On 09/14/2011 09:45 AM, Russell Bateman wrote:
Once I've typed in a command to search and replace for something, for
example:
%s/search/replace/g
how can I re-execute that command without retyping it? (I have a string
of source files between which I'm moving via :n each time and I don't
want
On 09/14/2011 09:45 AM, Russell Bateman wrote:
Once I've typed in a command to search and replace for something, for
example:
%s/search/replace/g
how can I re-execute that command without retyping it? (I have a string
of source files between which I'm moving via :n each time and I don't
want
Thank you anyway!
Marcin
On 11:31 Wed 14 Sep , Christian Brabandt wrote:
On Wed, September 14, 2011 10:54 am, Rickard Lindberg wrote:
If I start vim from a console and execute :!ls, the whole vim window
disappears and I can see the output in the console.
If I run vim inside a screen
On Tue, Sep 13, 2011 at 2:06 PM, Benjamin R. Haskell v...@benizi.com wrote:
^M == \r CR carriage return
^J == \n LF line feed
So, I think it's what's described at:
:help CR-used-for-NL
or
:help sub-replace-special
Maybe not the right explanation(s)... but I think it's the same reason:
Just hit '(single quotation mark) twice
this command jump to location before you use gd command.
I hope it help you ^^
On 9월13일, 오후7시55분, Dotan Cohen dotanco...@gmail.com wrote:
I just discovered the terrific gd command. What a gem that is!
After using the gd command, is there a way to jump
Thanks, all.
Here's another solution:
':set lines? columns?' to see the current values,
then add one to each and map:
nnoremap F11 :set columns=160 lines=57CR
nnoremap F10 :set columns=160 lines=54CR
Now, when I maximize or fullscreen (XFCE), I just
alt-F10 F10
or
alt-F11 F11
Not tested on my
Just switched. After 8-9 years or so, I went a little deeper into
colorschemes and plugins and found that vim was trashed outside of X. I'm
sure there's a way to call vim from the command line without plugins or
.vimrc, but I wouldn't remember it.
I use customized gvim in X now and bare vim
Hi,
If I search some text wtih '/',
then vim highlights this search expression in the entire text, (which is
nice).
Sometimes I'd like just to unhighlight the search.
currently I search for something non existing to do so.
However I assume, there is something slighty more elegant.
What would
Hi Gelonida,
On Wed, Sep 14, 2011 at 03:45 PM PDT, Gelonida N wrote:
GN Hi,
GN
GN If I search some text wtih '/',
GN then vim highlights this search expression in the entire text, (which is
GN nice).
GN
GN Sometimes I'd like just to unhighlight the search.
GN
GN currently I search for
On 09/14/11 17:45, Gelonida N wrote:
If I search some text wtih '/',
then vim highlights this search expression in the entire text, (which is
nice).
Sometimes I'd like just to unhighlight the search.
currently I search for something non existing to do so.
However I assume, there is something
On 14/09/11 22:55, Shay wrote:
Just switched. After 8-9 years or so, I went a little deeper into
colorschemes and plugins and found that vim was trashed outside of X. I'm
sure there's a way to call vim from the command line without plugins or
.vimrc, but I wouldn't remember it.
[...]
without
On 09/15/2011 12:45 AM, Gelonida N wrote:
Hi,
If I search some text wtih '/',
then vim highlights this search expression in the entire text, (which is
nice).
Sometimes I'd like just to unhighlight the search.
currently I search for something non existing to do so.
However I assume,
On 01:03 Thu 15 Sep , Gelonida N wrote:
On 09/15/2011 12:45 AM, Gelonida N wrote:
Hi,
If I search some text wtih '/',
then vim highlights this search expression in the entire text, (which is
nice).
Sometimes I'd like just to unhighlight the search.
currently I search for
30 matches
Mail list logo