I added some commands in .vimrc
source ~/vimfiles/matchit.vim
let b:match_words =
'\:\,'.'\:\,'.'\:\,'.'\:\'
If the cursor is at "begin" and "shift+%" will go to "end" of the statement.
If i opened another file in newtab or "sp " . "Shift+%" is not
working.(Working only in the first file) And
I use follow two method, but it only show ^M and ^@, who know how to add a
newline. thanks
let n_line = substitute(n_line,'\({\)','\r\1','g')
let n_line = substitute(n_line,'\({\)','\n\1','g')
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply bel
On 29/01/13 11:13, h2ero wrote:
I use follow two method, but it only show ^M and ^@, who know how to add a
newline. thanks
let n_line = substitute(n_line,'\({\)','\r\1','g')
let n_line = substitute(n_line,'\({\)','\n\1','g')
In :s[ubstitute], \n in the pattern finds a newline, \r in the
re
On Tuesday, January 29, 2013 8:13:59 PM UTC+13, Axel Bender wrote:
> virtcol(...) doesn't "work" in the example given. Please note that the
> end/start - depending from where you start to select - of the block is in the
> "void", i.e. after the line's end (as indicated by "$"). Here even
> virtc
On 25.01.2013 03:15, Tony Mechelynck wrote:
On 24/01/13 11:34, Andrew wrote:
Hi there! Recently I've started using vim, and tried to enable
spellchecking for russian.
So I've tried ":setlocal spell spelllang=ru". Vim said, that it doesn't
have spellfile for russian and
offer to download it, I ac
On Tuesday, January 29, 2013 6:57:44 PM UTC+8, Tony Mechelynck wrote:
> On 29/01/13 11:13, h2ero wrote:
>
> >
>
> > I use follow two method, but it only show ^M and ^@, who know how to add a
> > newline. thanks
>
> > let n_line = substitute(n_line,'\({\)','\r\1','g')
>
> > let n_line = substi
@John
Thanks for the answer. You're right, I've actually set 'virtualedit' to
'block'. Nevertheless I would have assumed (hoped), that - whatever mode I'm in
- 'block', or 'all' - virtcol("'<") would reflect the actual start column.
One can - of course - argue in favor or against that, but I wo
Addendum: It's obviously sufficient to set virtualedit to 'block' just before
retrieving from virtcol(), and resetting it thereafter. I'm using this in a
plugin mapping that operates on a visual area or on a motion.
--
--
You received this message from the "vim_use" maillist.
Do not top-post!
Hi, guys
vim-alignment has been updated,
after you operate, the lines will be keep selected.
2013/1/29 月忧茗
> Yes,Byzanz is an awesome tool for record your desktop to GIF files
>
>
> 2013/1/29 Christian Brabandt
>
>> Hi Aaron!
>>
>> On Mo, 28 Jan 2013, Aaron Webster wrote:
>>
>> > How di
Hi,
mail.vim links syntax group mailSubject to LineNr. My preferred colourscheme
makes line numbers receed, whereas I want mail subjects to stand out.
How can I override vim's built-in mail.vim with my own version?
thanks
Mark
--
--
You received this message from the "vim_use" maillist.
Do
On Tue, January 29, 2013 16:19, Bitterjug wrote:
> Hi,
>
> mail.vim links syntax group mailSubject to LineNr. My preferred
> colourscheme makes line numbers receed, whereas I want mail subjects to
> stand out.
>
> How can I override vim's built-in mail.vim with my own version?
As far as I can see,
I generate CTags for C code with the following:
" -R : recursive
" --extra=+f : include file name as a tag
" --fields=+S : include signature (e.g. parameter list)
" K : include kind of tag as full name
" -k : not kind of tag as single letter
" --totals : print
On Sunday, January 27, 2013 8:40:39 PM UTC-6, yueyoum wrote:
> https://github.com/yueyoum/vim-alignment
>
> ctrl+v selete some lines
>
>
> [ align the start positions of lines
> = align the = positions of lines.
This looks neat, but what does it offer that Dr. Chip's Align.vim does not
On Tuesday, January 29, 2013 3:57:11 AM UTC-6, ali jaan wrote:
> I added some commands in .vimrc
>
>
>
>
>
> source ~/vimfiles/matchit.vim
>
> let b:match_words =
>
> '\:\,'.'\:\,'.'\:\,'.'\:\'
>
>
>
>
>
> If the cursor is at "begin" and "shift+%" will go to "end" of the statement.
>
On Monday, January 28, 2013 8:39:19 PM UTC-6, JoongKeun Kim wrote:
>
> Hello I am JK. I have same problem on cscope with vim.
>
> previous recommendation using ":copen" is now work for me.
>
>
What do mean by "is not working for me"? Do you mean :copen shows no results?
Do you mean it shows r
On Monday, January 28, 2013 4:28:21 PM UTC-6, Paul wrote:
> When using folds with foldmethod=indent, is there a way to show a user
>
> specified number of lines before actually folding? For example, if
>
> the user specified context is 2 lines before and after the fold, then
>
> a fold is only
Hi naaj_ila!
On Di, 29 Jan 2013, naaj_ila wrote:
> I added some commands in .vimrc
>
>
> source ~/vimfiles/matchit.vim
> let b:match_words =
> '\:\,'.'\:\,'.'\:\,'.'\:\'
>
>
> If the cursor is at "begin" and "shift+%" will go to "end" of the statement.
> If i opened another file in newtab or
On Tue, Jan 29, 2013 at 12:11 PM, Ben Fritz wrote:
> On Tuesday, January 29, 2013 3:57:11 AM UTC-6, ali jaan wrote:
> > I added some commands in .vimrc
> >
> > source ~/vimfiles/matchit.vim
> >
> > let b:match_words =
> >
> >
> '\:\,'.'\:\,'.'\:\,'.'\:\'
>
> b:match_words is a buffer-local variab
On Monday, January 28, 2013 4:20:24 PM UTC-6, Paul wrote:
> >
>
> > There are multiple ways to get an up-to-date Vim on Windows, my
>
> > preferred method being the 32-bit "Vim without Cream" installer from
>
> > the Cream project.
>
> > See
> > http://vim.wikia.com/wiki/Where_to_download_Vimo
On Tue, Jan 29, 2013 at 12:32 PM, Ben Fritz wrote:
> On Monday, January 28, 2013 4:20:24 PM UTC-6, Paul wrote:
> >
> > There are multiple ways to get an up-to-date Vim on Windows, my
> > preferred method being the 32-bit "Vim without Cream" installer
> > from the Cream project.
> >
> > See http://
On Wednesday, January 30, 2013 3:08:04 AM UTC+13, Axel Bender wrote:
>If(!) I'm able to create a block with corners in the void using 'block' mode,
>>then why should virtcol() not adapt to that?
It does, the point in your example is the observation affecting the result. By
going to the command
First , this script is a life change one, Thanks Ingo for it. However, I do
have a few questions regarding to it. After playing with this script for a few
hours, I still failed to figure out how to use it for two important scenario:
1, Suppose I am edit a big file, and I want to search for a pat
Solution: Apparently, this error is not caused by vim itself. It seems to be a
malfunctioning interplay between GNOME 3 and the NVIDIA drivers. Reverting to
GNOME Classic solved the problem.
Best regards
Ole
On Monday, January 21, 2013 4:31:22 PM UTC+1, Ole Juul Andersen wrote:
> Hi.
>
> After
On Tue, Jan 29, 2013 at 08:48:00AM -0800, Ben Fritz did gyre and gimble:
I generate CTags for C code with the following:
" -R : recursive
" --extra=+f : include file name as a tag
" --fields=+S : include signature (e.g. parameter list)
" K : include kind of tag as full n
Hi Vim,
I have a load of csv files in which some rows have an arrow at the end. The
arrow seems to have been made using Windows ALT 26.
It shows up in Vim as ^Z^M.
Can anyone tell me how to remove these pesky objects?
Thanks,
John
--
Time flies like an arrow. Fruit flies like bananas.
~-~-~-
On Wed, 30 Jan 2013 12:53:20 +1100 John McGlynn
wrote:
> Hi Vim,
>
> I have a load of csv files in which some rows have an arrow at the
> end. The arrow seems to have been made using Windows ALT 26.
>
> It shows up in Vim as ^Z^M.
>
> Can anyone tell me how to remove these pesky objects?
I th
On Tuesday, January 29, 2013 7:53:20 PM UTC-6, John McG wrote:
> Hi Vim,
>
> I have a load of csv files in which some rows have an arrow at the end. The
> arrow seems to have been made using Windows ALT 26.
>
I assume you mean somebody entered a unicode RIGHTWARDS ARROW character by
holding AL
ah ok I found some hoops to jump through
function! TabCursor()
let currentchar = getline('.')[col('.')-1]
if currentchar == ''
if mode() == "n"
normal v
redraw
sleep 4m
28 matches
Mail list logo