:set listchars=tab:..
Otherwise, if for example you want your tabs to look like this (a
greater-than symbol, followed by multiple dashes):
int
main(int ac, char **av)
{
>---print("Hello, world!");
}
you need to:
:set listchars=tab:>-
Cheers,
Matteo
On Tue, Nov 15, 2011 at 5:35 AM, Jean-Rene
Thanks a lot! Your solution works great! I suppose I just
misunderstood some mapping features. Could you please explain why you
use "i" command? AFAIK, "i" stands for "insert" - I don't understand
how can you issue yank command, then go to insert mode and select a
word there. Also I'm confused on h
On 2011-11-14, Peng Yu wrote:
> Hi,
>
> I'm developing some indent and syntax files. Instead of putting them
> in ~/.vim. I'd like to put them in a different directory. In order to
> load them automatically, I think that I just need to append the
> directory to runtimepath. Is it going to cause so
On Monday, 14 November, 2011 at 22:51:54 GMT, Peng Yu wrote:
I have a .jags file. I am able to indent it (although incorrectly). I
don't find jags.vim in my ~/.vim/indent directory. I'm wondering how
to figure out what cause the .jags file be indentable.
':set filetype?' will show you what file
Hello
Can the syntax file for sh scripts be updated to accept the new features
for parameter, command and arithmetic substitution ?
Parameter substitution:
${parameter:-word}
${parameter-word}
${parameter:=word}
${parameter=word}
${parameter:?word}
Sapfeer wrote:
> Thanks a lot! Your solution works great! I suppose I just
> misunderstood some mapping features. Could you please explain
> why you use "i" command? AFAIK, "i" stands for "insert" - I
> don't understand how can you issue yank command, then go to
> insert mode and select a word ther
Hi there,
do we have some built-in functionality in vi so that I could jump to
the error location a compiler tells in its output?
- Gergely
--
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
On Tue, November 15, 2011 2:20 pm, Gergely Buday wrote:
> do we have some built-in functionality in vi so that I could jump to
> the error location a compiler tells in its output?
If you mean vi as in plain old vanilla vi, than I doubt it is possible.
Vim however has this feature builtin. Read the
Peng Yu wrote:
[snip]
Also is
'syn match' slower than 'syn keyword'?
Yes -- keywords are matched using hashing; syn match uses the regular
expression engine.
Chip
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying
Timothy Madden wrote:
Hello
Can the syntax file for sh scripts be updated to accept the new
features for parameter, command and arithmetic substitution ?
Parameter substitution:
${parameter:-word}
${parameter-word}
${parameter:=word}
${parameter=word}
${parameter:?word}
On Nov 15, 3:24 am, Paul wrote:
> On Monday, 14 November, 2011 at 22:51:54 GMT, Peng Yu wrote:
> >I have a .jags file. I am able to indent it (although incorrectly). I
> >don't find jags.vim in my ~/.vim/indent directory. I'm wondering how
> >to figure out what cause the .jags file be indentable
On Nov 14, 9:52 pm, Peng Yu wrote:
> Hi,
>
> I'm developing some indent and syntax files. Instead of putting them
> in ~/.vim. I'd like to put them in a different directory. In order to
> load them automatically, I think that I just need to append the
> directory to runtimepath. Is it going to c
On Nov 14, 6:47 pm, Dun Peal wrote:
> Hi there,
>
> I'd like to setup a keyboard shortcut that would work similar to `gf`,
> except it will regard the entire cursor line as the filename to open.
>
Map something to Vgf and you've got it. Or maybe 0v$gf (I'm not 100%
certain line-wise visual acts
I read :help 26.4 and I'm still a bit stuck.
I was previously using Vim 7.2 with the following:
file fixnbsp.vim contained:
:%s/> />\ /g
:%s/ />\ /g
%s/ http://www.vim.org/maillist.php#vim clicking the "tips
archive" from the "Comments" section gives a 404.
Fuzzy
--
You received this message
Am 26.10.2011 22:47, schrieb Thilo Six:
Peng Yu wrote the following on 25.10.2011 22:25
Hello
-- --
I'm glad it works, but something is wrong here.
-- --
It seems tabbar.vim is involved, though i haven't currently figured how. Peng do
you also have tabbar.vim installed?
No. I have t
Hello all,
the default behavior on Ubuntu system is to launch text files in new tabs
on an existing Gedit instance. I have always liked to use Gvim instead but
keeping this same scenario, so I make some changes on the gvim.desktop file
as suggested here vim.wikia.com/wiki/Launch_files_in_new_tabs_
When I do :tag trim_headers , I get 'tag pattern not found' error, even
though this tag is in tags file and tags file is in :set tags. Some
other tags can be found, though (in the same file), and some more tags
also can't be found. It's a python file and this tag refers to function
definition.
H
Am 15.11.2011 23:39, schrieb AK:
When I do :tag trim_headers , I get 'tag pattern not found' error, even
though this tag is in tags file and tags file is in :set tags. Some
other tags can be found, though (in the same file), and some more tags
also can't be found. It's a python file and this tag
Maybe there's a way to make it work just for particular files, with an
autocmd that sets a relative undodir? My experimentation has not paid
off.
--
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, vi
On 11/15/2011 06:59 PM, Andy Wokula wrote:
Am 15.11.2011 23:39, schrieb AK:
When I do :tag trim_headers , I get 'tag pattern not found' error, even
though this tag is in tags file and tags file is in :set tags. Some
other tags can be found, though (in the same file), and some more tags
also can'
> How do I debug something like this?
The tags option has tricky semantics, you may be picking up a tags
file in an unexpected place. To eliminate this possibility, I'd set
the tags option to point to a single full pathname, f. ex.
:set tags=/tmp/aktags
to be sure which tags file is being used
Hi,
If I open a file X from command line, the file can be indented
correctly. But if I first open a file of different type, which include
a string to X, then open X with ctrl_W, then the indentation is not
correct. Does anybody know what I should check to fix this bug?
--
Regards,
Peng
--
You
On Wed, November 16, 2011 2:59 am, Paul wrote:
> Maybe there's a way to make it work just for particular files, with an
> autocmd that sets a relative undodir? My experimentation has not paid
> off.
Well, first check that
:echo undofile(@%) points to the same undofile across each platform.
If this
23 matches
Mail list logo