Fernando Basso wrote:
Let's say I'm writing a comment, and it takes two lines long.
I start like this:
/* When user clicks, remove both 'narrow' and 'large' css classes and
(I hit Return here, and continue on the next line)
* make the page use the default styling. */
Then I notice that I
Gareth Oakes wrote:
On Oct 14, 10:18 am, Stahlman Family brettstahl...@comcast.net
wrote:
Christian Brabandt wrote:
Hi Rahul!
On Mi, 13 Okt 2010, Rahul wrote:
I maintain a simple Todo file using vim. Each line has a task.
Sometimes for an important task it would be nice if I had a keystroke
Rahul wrote:
...
Worked like a charm! ;-) Yes,Rahul, you could certainly use Txtfmt for
this purpose. Txtfmt gives you a sort of rich text highlighting
capability in any sort of text file: you can apply foreground and
background colors, as well as all combinations of bold, underline,
italic,
Bram Moolenaar wrote:
Brett Stahlman wrote:
I've noticed that Vim displays the NO-BREAK SPACE character (Unicode
00A0) incorrectly for several single-byte encodings (e.g., cp437, cp850
and cp775), which typically encode it as 0xFF.
To reproduce...
:set enc=cp850
Enter the following 2
I've noticed that Vim displays the NO-BREAK SPACE character (Unicode
00A0) incorrectly for several single-byte encodings (e.g., cp437, cp850
and cp775), which typically encode it as 0xFF.
To reproduce...
:set enc=cp850
Enter the following 2 lines in an empty buffer...
ff2345
12345
...where ff
Steven wrote:
Hi, I am having trouble building vim with gui on Fedora 13. I am
using ./configure --enable-gui=auto --with-features=huge --prefix=
$HOME/myvim but I get
checking for X... (cached) no
checking if X11 header files can be found... no
checking --enable-gui argument... no GUI
Timothy Madden wrote:
On 05.09.2010 15:25, Timothy Madden wrote:
Hello
My gvim 7.2 on Windows 7 first runs the entire make and only after can I
see make out. Can I get it to show lines output by make while make is in
progress ?
For example vim 7.0.237 has this behavior by default on Linux
Sampan Xu wrote:
...[snip]...
Have you tried Txtfmt (The Vim Highlighter)?
http://www.vim.org/scripts/script.php?script_id=2208
It's a token-based highlighter that lets you set the
foreground/background color, as well as the format attributes (bold,
underline, italic, etc...) of
panshi...@routon.com wrote:
vim_use@googlegroups.com 写于 2010-09-25 19:44:03:
I ask you; What is wrong with tar.gz?
It is not easily extractable on Windows, if you don't have any extra
archiver installed. And this is not always possible to install them. So
I release my plugins as .vba.
Does
panshi...@routon.com wrote:
vim_use@googlegroups.com 写于 2010-09-26 09:51:37:
The more steps required, the more likely he is to move
on to something else without trying the plugin.
Agree, so why not simply provide .vim files, which does not need to be
decompressed at all?
Well, in my case,
bill lam wrote:
Сбт, 25 Сен 2010, Stahlman Family писал(а):
more likely he is to move on to something else without trying the
plugin.
I agree this likely to happen, but it is also likely that some people who will
just move on without trying the plugin if it is a vimball format. FWIW I'm
one
robert song wrote:
Hi, everyone.
Sometimes it's useful to display different keywords in different
colors, here I can use * to highlight the word under cursor, but how
to highlight the other keywords in some other colors at the same time ?
Have you tried Txtfmt (The Vim Highlighter)?
Tom wrote:
For example,
now that many users (at least some that I know) are using the plugin
loader pathogen, all the plugins are installed as
~/.vim/plugin_name/ftplugin/foo.vim. Installing with a vimball
would place the files in their original vim directories.
I ask you; What is wrong
Jakson A. Aquino wrote:
...[snip]...
Is there an official recommendation on this subject? I haven't noticed any
guidelines on the scripts upload page, which simply refers to a collection
of bundled files. I seem to remember at some point seeing a script page
that provided both .zip and some
Christian Brabandt wrote:
On Thu, September 16, 2010 12:10 am, hsitz wrote:
I have Vim documents that have codeblock areas that use 'syntax
include' regions to have different syntax highlighting from the main
document. For example, I have a syntax region named 'pyregion' defined
that I use
According to the help on cmdline-completion...
The 'wildchar' option defaults to Tab (CTRL-E when in Vi compatible
mode; in a previous version Esc was used). In the pattern standard
wildcards '*' and '?' are accepted. '*' matches any string, '?' matches
exactly one character.
The ?
Kyro El wrote:
I have trouble forcing Vim to use findstr /N as grepprg on Windows. I don't
know what tricks does Vim do under the hood, but my grepprg is set to 'grep
-nH $*' by default. However, while I do have a copy of grep in my path, it
doesn't support the '-H' option.
I then put 'set
Ben Fritz wrote:
On Aug 21, 9:15 am, Stahlman Family brettstahl...@comcast.net wrote:
Now comes the unexpected part... With the cursor on the 2nd line (the
one containing the yz region), and Vim in normal mode, the region end
token (Z) is displayed as cchar (`-') (as expected), but the start
Consider the following example...
--- Sample text file ---
ABC Just after an abc match
Y Inside a yz region Z
--- Syntax file ---
syn match abc /ABC/ conceal cchar=-
hi link abc Comment
syn region yz matchgroup=yz_ends start=/Y/ end=/Z/ concealends cchar=-
hi link yz
aleCodd wrote:
if i want to customise and define my _own_ mapping for the command line, is
there a way to define these mapping like in vim i.e. :noremap or
:noabbreviate etc. or do i have to learn the gun readline style to do this..
i don't want to learn a new style in order to get further
Peter Hodge wrote:
Dear Vimmers,
Is there a way to make vim write a file using dos line endings (CR NL) but
*without* the EOL at the end?
Isn't this just another way of saying mac format?
:set ff=mac
:help ff
Brett Stahlman
Currently it seems vim will only let me:
A) Add newlines for
Stahlman Family wrote:
Peter Hodge wrote:
Dear Vimmers,
Is there a way to make vim write a file using dos line endings (CR
NL) but *without* the EOL at the end?
Isn't this just another way of saying mac format?
Ah. It occurred to me after I'd read Sven's reply that you probably
meant
Libo Song wrote:
On Mon, Jul 26, 2010 at 4:35 AM, Liu Lei orphen.lei...@gmail.com wrote:
Hi, All:
I'm using VIM+Cscope+Ctags+OmniCppComplete for coding.
But, I found that the OmniCppComplete can NOT complete the anonymous members in
struct/union.
Example.
Xell Liu wrote:
Hi all,
For example, when I want to search all letters and digits (i.e. all
[:alnum:] ) except the two letters a and b (without quotes), how
should I do that instead of stupidly enumerating all the characters I
want?
The real question I want to ask is:
1. The items I want to
Stahlman Family wrote:
Xell Liu wrote:
Hi all,
For example, when I want to search all letters and digits (i.e. all
[:alnum:] ) except the two letters a and b (without quotes), how
should I do that instead of stupidly enumerating all the characters I
want?
The real question I want to ask
On Tue, 2010-07-27 at 15:55 +0800, winterTTr wrote:
I know that we can use the set nomodifiable to make a buffer
read-only,
which makes all the text in it not modifiable.
But is it possible to make some text in a buffer read-only but not for
the whole buffer?
I mean maybe we can bind a
Andres Perera wrote:
Hello,
On Fri, Jun 11, 2010 at 10:55:13AM -0700, Brett Stahlman wrote:
To support all possible permutations of 8 fg colors, 8 bg colors, and
bold/underline/italic requires well over 3000 regions. Txtfmt supports
a configuration (disabled by default for performance
aleCodd wrote:
instead of 'printable' it should be 'unprintable'.
No. 'Printable' is correct. It is saying that without :execute, you
would need to type...
:normal CTRL-W CTRL-W
...where each CTRL-W represents a single Control character typed at the
keyboard. The :execute command lets
Adriaan wrote:
Dear Vim Wizards,
I've a text which is tagged with an XML/HTML like syntax, like this:
Lorem ipsum A dolor sit amet, consectetur adipisicing /A elit, sed
B do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis /B nostrud exercitation
Ben Fritz wrote:
On Jun 6, 10:19 pm, Stahlman Family brettstahl...@comcast.net wrote:
Steps to reproduce...
:e file1
:set noma
:sp file2
At this point, `set ma?' indicates that file2's buffer is
'nomodifiable'. This seems strange to me, given that the 'modifiable'
option is local to buffer
Pablo Giménez wrote:
Hello vims.
I have recently begin to use UTF-8 as the default encoding I picked up this
snippet and put it in my vimrc to enable it:
if has(multi_byte)
if termencoding ==
let termencoding = encoding
endif
set encoding=utf-8
setglobal fileencoding=utf-8 bomb
Steps to reproduce...
:e file1
:set noma
:sp file2
At this point, `set ma?' indicates that file2's buffer is
'nomodifiable'. This seems strange to me, given that the 'modifiable'
option is local to buffer, and file1 and file2 obviously do not share
a buffer. The result is the same when :e is
Pablo Giménez wrote:
...[snip]...
Hmmm... That's very strange. Are you sure that the `hi Ignore
ctermfg=black' command is never executed? I'm wondering whether it's
possible that something else is changing the Ignore ctermfg setting after
the `hi Ignore' command... There are several ways
Pablo Giménez wrote:
2010/6/2 Stahlman Family brettstahl...@comcast.net
Pablo Giménez wrote:
...[snip]...
Pablo,
Thanks for the screenshot. I'll check into it tonight when I have
access to a real terminal on my Linux system at home. Do you mind
telling me what colorscheme and terminal
Stahlman Family wrote:
...[snip]...
I seem to remember urxvt supporting italic, but it doesn't seem to be
working for me now. I'll investigate and get back with you...
Ah... I didn't have TERM set to rxvt-unicode. If you're using urxvt and
TERM=rxvt-unicode when Vim starts up, italic
Pablo Giménez wrote:
Hi Brett.
I am checking some text formatted with tftfmt in a terminal and for some
colorschemes the characters used to format the test appear visible in the
buffer.
Pablo,
The following section in the Txtfmt help gives a detailed explanation...
:help
Pablo Giménez wrote:
2010/5/28 Stahlman Family brettstahl...@comcast.net
Pablo Giménez wrote:
Hi.
I have some help files along with my scripts and I wanto give them a
better
formatting.
So far the text layout is not too bad, but I am wondering is there is
anyway to make some letter
Pablo Giménez wrote:
...[snip]...
Pablo,
Thanks for the screenshot. I'll check into it tonight when I have
access to a real terminal on my Linux system at home. Do you mind
telling me what colorscheme and terminal you're using? Also, what type
of region is being applied to the text with the
ShayAllen wrote:
I want to match everything between and including Begin and End. There are
several blocks in the file:
Begin
dfsdfsdf
sdfsdf
End
Begin
sasdfsa
sdfgsd
hghfgh
End
My best guess so far:
:%s/Begin\_.*\(End\)\{-1}/This was one block/
Try this...
Pablo Giménez wrote:
Hi.
I have some help files along with my scripts and I wanto give them a better
formatting.
So far the text layout is not too bad, but I am wondering is there is
anyway to make some letter to appear as bold or italic, like when you write
a wiki.
Is this possible with vim
Christian Brabandt wrote:
On Fri, May 21, 2010 10:13 am, David Chanters wrote:
Sometimes i split vim horizontally -- and then i often wished i could
create a vertical split on one side of the screen that spanned the
entire height of vim -- but of course splitting vim vertically creates
a new
xiaweitang wrote:
Hi, I have been using vim, then emacs, now vim again. In emacs, I can still
use the editing commands like Alt+B in the command windows (mini buffer),
but in vim I can't use the normal editting command. Am I missing something
here?
:help cmdline-window
Hope it helps...
BC wrote:
I installed the Notes plugin by Hari Krishna in gvim on Windows Vista
64, but I can't set the path to the directory for storing the notes.
I've created directories named notes in several locations, but no
matter what path I try in my _gvimrc, I get this error on reopening
Gvim:
John Little wrote:
Assuming the pattern /^-$/ matches lines 1,7,13,19 and so on, you can
use g with relative line numbers to delete lines.
For File A, copy and use
:g/^-$/d2|+,+3d
for File B, copy and use
:g/^-$/d3|+,+2d
for File C, copy and use
:g/^-$/d4|+d
for File D, copy and
Christian Brabandt wrote:
Hi Stahlman!
On Mi, 14 Apr 2010, Stahlman Family wrote:
...[snip]...
Or, to do it all in one fell swoop from the shell...
for i in 3 4 5 6; do sed -n $i~6p test.txt test$((i-2)).out; done
You could do the same thing from within Vim by editing the file
Tony Mechelynck wrote:
On 08/04/10 12:49, John Little wrote:
On Apr 8, 2:44 pm, Duane Johnsonduane.john...@gmail.com wrote:
When I learned to touch type in high school...
...practice those ones over and over again...
I think you're swimming against the strengths of vim. In vim if you
Now that someone's taken an interest in this plugin again, I thought I'd
bump a couple of my posts, which had previously been ignored...
Thanks,
Brett Stahlman
Brett Stahlman wrote:
On Aug 6, 9:15 am, Brett Stahlman brettstahl...@comcast.net wrote:
...snip...
Note that in the test case
MasterKey,
Here's another previously ignored OmniCppComplete post... You asked for
it... ;-)
Thanks,
Brett Stahlman
Brett Stahlman wrote:
I've found the omnicppcomplete plugin to be very useful; however, I've
recently experienced a problem. The problem isn't due to any bug in
epanda wrote:
Hi,
I have some lines like that
foo0.5
foobar 1
bar0.5
Is it possible to sum which result as 2 by using regexp and writing
the result line below all lines checked ?
foo0.5
foobar 1
bar0.5
epanda wrote:
I am under Windows
So am I when I'm at work. That shouldn't prevent you from using Unix
tools. In my opinion, if you want to harness the full power of Vim, you
should have Cygwin or some other sort of Unix emulation installed, and
should have 'shell' pointing to a unix-style
AK wrote:
Brett Stahlman wrote:
On Mar 16, 7:31 am, Rainy andrei@gmail.com wrote:
Hi, I'm trying to use 'formatlistpat' to format unordered lists with
'-' as a bullet:
:set flp=^\s*-\s*
You need to escape the backslashes...
:set flp=^\\s*-\\s*
:help option-backslash
Also, be
AK wrote:
Stahlman Family wrote:
...[snip]...
Excellent, it does work when exceeding tw and with 'gq' command. I was
in fact trying to trigger it with Return and didn't realize that
wouldn't work.. Thanks very much, this was a big annoyance to me for a
while..
No problem.
Brett
Adrian Johnson wrote:
Hi:
While using Excel for removing 2nd column, it saves all weird
characters in other columns. It is driving me crazy.
How do I remove/delete column 2 in a tab delim file using vim.
How about this:
%s/^[^\t]*\zs\t[^\t]*\ze//g
Brett Stahlman
thank you.
Adrian
rameo wrote:
I would like to find a way to de-select the search highlight.
The only way I found is to do another search which isn't in the text
p.e.
/f
Isn't there another way to de-select the search highlight?
:nohls
:help nohlsearch
Brett Stahlman
--
You received this
Lrt wrote:
Is there any way to save SIGNed code, so that it can persists between
sessions?
Out of curiosity, what is SIGNed code?
Brett Stahlman
--
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
williey wrote:
How can I open a highlighted text string in Vim? Can I set an option
in my .vimrc file to do this?
Willie,
The Txtfmt plugin allows you to highlight arbitrary text strings in Vim:
Txtfmt (The Vim Highlighter):
http://www.vim.org/scripts/script.php?script_id=2208
williey wrote:
How can I open a highlighted text string in Vim? Can I set an option
in my .vimrc file to do this?
Willie,
Can you elaborate on what you mean by open a highlighted text string?
Thanks,
Brett Stahlman
Thanks,
Willie Yarbrough
--
You received this message from the vim_use
epanda wrote:
Hi,
I would like to generate my header ;
func! GenereHeader()
let l:header = \** . \n
let l:header .= \\\* ... . \n
let l:header .= \\\* @author ONEPERSON . \n
let l:header .= \\\* . \n
call setline(line('.'),l:header .
Dan S wrote:
Hi -
I have a project where I'd like code in vim to be coloured, with the
colours changing in real time (to reflect some audio-related data
being generated). For example, say the text Merti() represents an
audio object - I'd like to be able to update the colouring of that
text to
Consider the following test sequence...
:new
:ls
1 #a [No Name]line 1
2 %a [No Name]line 1
:hide
:ls
1 %a [No Name]line 1
2 h [No Name]line 0
:new somefile.txt
:ls
1 #a [No Name]
Andy Wokula wrote:
Am 07.02.2010 17:16, schrieb Stahlman Family:
Consider the following test sequence...
:new
:ls
1 #a [No Name] line 1
2 %a [No Name] line 1
:hide
:ls
1 %a [No Name] line 1
2 h [No Name] line 0
:new somefile.txt
:ls
1 #a [No Name] line 1
2 h [No Name] line 0
3 %a somefile.txt
Gregor Uhlenheuer wrote:
Hi,
I have got a small problem with a syntax region meant to match some
nested comments in a syntax script.
That's the line:
syn region mComment start=/\/\*/ end=/\*\// contains=mComment
short example:
/* this should be highlighted as a /* comment */ */
this text
Andy Wokula wrote:
Am 23.01.2010 17:16, schrieb Brett Stahlman:
From the Vim help on :append and :insert...
When these commands are used with :global or :vglobal then the lines
are
obtained from the text following the command. Separate lines with a
NL
escaped with a backslash:
Tim Chase wrote:
Stahlman Family wrote:
Andy Wokula wrote:
Am 23.01.2010 17:16, schrieb Brett Stahlman:
From the Vim help on :append and :insert...
A similar thread from July 2009
Subject: :global problem
http://groups.google.com/group/vim_use/browse_thread/thread/2ff60cd19b813e62
Ah
When :new is used *without* a count and 'equalalways' is set, the height
of all existing windows is reduced to make room for the new one. (Well,
technically, it's possible that the height of a small window will be
increased, but the bottom-line is that, because of 'equalalways', all of
the
Christian Brabandt wrote:
Hi Brett!
[...]
My understanding is that this caveat applies to :insert generally, not
only to :insert within a :global command. Note, however, that I get
errors for the :global usage even when it does not appear within one
of those constructs. Were you saying
...snip...
Is this a bug, or is there an option setting that could be preventing
the example from working as expected?
Note that what I really want is to use :append and :insert *without*
global: e.g.,
insert
one line
another line
.
...And this actually does what I want. I hesitate to use
Peter Berntsen wrote:
Running 7.2.245 under Slackware Linux 13.0 and I have noticed that
my .vimrc file doesn't seem to be read. For example to not keep a
backup file I comment out the code for that in the vimrc file like
this.
if has(vms)
set nobackup do not keep a backup file, use
Michael Maurer wrote:
On Thu, Jan 7, 2010 at 2:34 PM, Stahlman Family
brettstahl...@comcast.net wrote:
Michael,
Although you may wish to customize the map sequence (as described in my
previous post) simply because Ctrl-Alt-ß is harder to type than Ctrl-\, I'm
wondering whether there could
Paul wrote:
On Tue, Jan 12, 2010 at 12:35:18PM +0100, Dennis Benzinger wrote:
To switch back to the default colorscheme you can use :colorscheme
default . Read :help colorscheme
Hi Dennis, I tried that. It did change the colours but not to the
previous ones. For example, the shebang line,
Michael Maurer wrote:
The following concerns the Txtfmt (The Vim Highlighter)-plugin by
Brett Stahlmann. I hope this is not too specific for this list.
I'm using Txtfmt with GVim under Windows XP SP3. After enabling all
background colors via
let b:txtfmt_cfg_bgcolormask=
Michael,
jojahti wrote:
I have tried write highligting pattern, than search variables.
\(\(int\|long\|short\|char\|void\|double\)[[:space:]]\+\)\@=[^[:space:]^(^).]\+\([[:space:]]\)\@
=
Then the pattern, that search this variable in other places of the file.
Stahlman Family wrote:
jojahti wrote:
I have tried write highligting pattern, than search variables.
\(\(int\|long\|short\|char\|void\|double\)[[:space:]]\+\)\@=[^[:space:]^(^).]\+\([[:space:]]\)\@
=
Then the pattern, that search this variable in other places of the file.
\(\(int
jojahti wrote:
There's a better way to do what you're trying to do, which uses \zs
instead of \@=.
Thanks.
Mmmm. But if i use \zs instead \@= in next example - he not work at
all.
\(\(int\|long\|short\|char\|void\|double\)[[:space:]]\+\)\@=[^[:space:]^(^).]\+\([[:space:]]\)\...@=
But
Anthony Campbell wrote:
Having recently rather unexpectedly found myself back on this list after
being unable to get on it for several years, I seem to see a difference
in emphasis. Most people who post here appear to be programmers,
whereas previously there were other kinds of users as
jojahti wrote:
I have tried write highligting pattern, than search variables.
\(\(int\|long\|short\|char\|void\|double\)[[:space:]]\+\)\@=[^[:space:]^(^).]\+\([[:space:]]\)\@
=
Then the pattern, that search this variable in other places of the file.
Ben Fritz wrote:
On Jan 1, 12:28 pm, Stahlman Family brettstahl...@comcast.net wrote:
I believe you may have uncovered a bug. It can be demonstrated with an
even simpler example...
\(i\(.\)\)\@=\2
...which will match just after an i followed by any character, even when
the character
Peng Yu wrote:
o or O will move the cursor. Is there a command that don't move the
cursor?
If all you're trying to do is create the line, then perhaps something
like...
:call append(line('.'), '')
:help append()
Brett Stahlman
--
You received this message from the vim_use maillist.
Nick wrote:
Hi all,
Vim 7.2 on Linux. I'm having problems getting my head around how to
escape chars in a string used within a function. BTW, I'm a programmer
and experienced vim user, but new to vim scripting.
I want to insert some html tags at current cursor location, not the next
Reckoner wrote:
Hi,
I use :g/pattern/p frequently to see where functions are used in a
very large program. It would be very helpful to be able to see the
output of this in a separate buffer with corresponding syntax
highlighting.
Is this possible? Is there a plug-in for this?
You
Tony Mechelynck wrote:
On 17/11/09 16:55, Jürgen Krämer wrote:
Hi,
Yogi wrote:
I want to be able to highlight bold, italics, and underlined words in
a text file. My solution was to use
...snip...
Any ideas how I can do it? Do I need to write a syntax file for this?
you can define up
Aarto Matti wrote:
Hi,
I can freely use whitespaces with let command, both let my_var = 1 and
let my_var=1 are equal correct, but something like set tabstop = 4 is
impossible. Any reason why there are such restrictions in VimL?
Aarto,
You can use arbitrary expressions on the rhs if you
Stahlman Family wrote:
fritzophrenic wrote:
On Dec 10, 7:29 am, jack jack.mort...@gmail.com wrote:
sorry gays for my misleading request,
what i want is how to change the background colors of some lines
Vim is not really meant to do that kind of thing...it's a text editor,
not a word
Peng Yu wrote:
I can copy highlighted text. I'm wondering if there is a way to search
only in highlighted text.
Use the \%V regex assertion
:help /\%V
Brett Stahlman
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more
Tony Mechelynck wrote:
On 06/10/09 13:43, Stahlman Family wrote:
Paul wrote:
On Mon, 5 Oct 2009, Brett Stahlman wrote:
nnoremapF8 :exe resize . (line('.') - line('w0') + 1)CR\|zb
Yes, you have the idea. That works for horizontal split. Now, how about for
vertical split? I don't see
setog3 wrote:
Hi,
I am starting a PhD and I need a tool to take notes and organize
them. My
editor is vim since a while, so why not using vim for this. To
organize my
notes, I was thinking of a wiki; so I try the viki script, which works
fine,
but I want to know what do you think
Overview
If you like to edit plain text documents in Vim, but sometimes miss
a word processor's ability to highlight specific regions of text with
colors and format attributes (bold, underline, italic, etc...), the
Txtfmt plugin is for you...
snip
.
.
To get Vim help file syntax highlighting in your notes files, you would
need simply to set ft=help. You could do this either in a modeline, or
using autocommands based upon the file extension. If you want additional
highlighting capabilities, beyond those provided by Vim's help
Chris Sutcliffe wrote:
The cCpp in cCppParen stands for C Preprocessor. The group used to
highlight parens in C and C++ is cParen. The problem is that the
cParen region is defined with the transparent attribute, so changing
its guifg attribute has no visible effect.
I've come up with a
You can use the SessionLoadPost autocommand to do whatever you like just
after a session file is sourced.
Caveat: doautoall is used to execute the SessionLoadPost autocommands,
so they're executed for each loaded buffer.
:help :au
:help SessionLoadPost
If it doesn't hurt to source your script
Paul wrote:
On Mon, 5 Oct 2009, Brett Stahlman wrote:
nnoremap F8 :exe resize . (line('.') - line('w0') + 1)CR\|zb
Yes, you have the idea. That works for horizontal split. Now, how about for
vertical split? I don't see a column() function...
Well, I see that Christian has already
Stahlman Family wrote:
Paul wrote:
On Mon, 5 Oct 2009, Brett Stahlman wrote:
nnoremap F8 :exe resize . (line('.') - line('w0') + 1)CR\|zb
Yes, you have the idea. That works for horizontal split. Now, how about for
vertical split? I don't see a column() function...
Well, I see
Paul wrote:
On Mon, 5 Oct 2009, Brett Stahlman wrote:
nnoremap F8 :exe resize . (line('.') - line('w0') + 1)CR\|zb
Yes, you have the idea. That works for horizontal split. Now, how about for
vertical split? I don't see a column() function...
If the start of the line is not visible
Nathan Huesken wrote:
Hi,
When I issue :make in my projects root, I can see by te console output, that
it should generatate a errorfile (using tee). But when I try to open this
file, it does not exist. I tried to set makeef to different files, non is
created.
Any hints why?
Nathan,
the stdout of tee.
Note that the 21 is required, since otherwise, the tee program would
never see the errors...
:help makeprg
Brett Stahlman
Thanks!
Nathan
On Sun, Oct 04, 2009 at 07:25:04AM -0500, Stahlman Family wrote:
Nathan Huesken wrote:
Hi,
When I issue :make in my projects root, I
viki wrote:
I have au rule for Makefiles:
au BufWritePre Makefile :something
Now it turns out that Makefiles in directory $PDIR and $PDIR/**
shall be excluded from this rule.
How do I express such exception in au rule ?
You can test the path in the autocommand itself: e.g.,
jason wrote:
Hi Brett
I did it as you said.
my test.c is in dir $HOME/test
these is my steps:
1.cd ~/test
2.run command ctags -R --c++-kinds=+p --fields=+iaSn --extra=+q .
3.run vim
4.put cursor at the end of pb-
5.press C-X C-O
It shows Omni Completion (^O^N^P)* pattern not found.
jason wrote:
Hi Brett
I tried omnicppcomplete-0.41 as Dominique's setting,
but it didn't work for me.
Error message is Omni Completion (^O^N^P)* pattern not found***
I tested it in the same file.
I saw omnifunc=omni#cpp#complete#Main,
which is from omnicppcomplet-0.4.1.
I have no idea
Anton Sharonov wrote:
Brett Stahlman wrote:
Anton Sharonov wrote:
jan wrote:
Hello,
I am taking lengthy notes on something. I want to write a table of
contents to
find my way around these notes. I want to jump to a specified place in the
notes-file from this TOC.
Do I have to create
Lenin Lee wrote:
I want to write notes and save them into plain text files, in my notes,
there are always some pieces of code.
I want to apply syntax color of that language only to the block of code, is
there a way to do so ?
I think the following tip from the Vim tips wiki describes how
1 - 100 of 134 matches
Mail list logo