Hi,
I want to write Lua code with vim.
Currently I am missing the function of '%'
to jump from one scope delimiter to the corresponding
one for things like
function name()
end
. Here the missing "scope delimiter" are 'function' and 'end'.
There are several others more.
I am using a 6
I guess is was stupid: i tried to map in the same script.
Alexey.
--
--
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 becaus
> When and how? It may appear that you do this too late, too early, on wrong
> buffer or in wrong context (after running code in a specific context cursor
> is restored. I do not remember what context though: some autocmd maybe? Or
> &*expr, though they usually use textlock).
I tried cursor() b
Thanks for all the replies and for the explanation about `$ vim -u NONE`.
Indeed, it works if i start Vim with `vim -N -u NONE`.
It also works if i put this mapping in the end of my script, and not in the
middle. This is very strange, because i do not remap `` anywhere else, i
am still investi
Map with not
On Tuesday, 11 March 2014 19:55:36 UTC, Alexey wrote:
> (I believe i posted it here yesterday, but i do not see my message, so i am
> resending.)
>
> I am trying to do this:
>
> noremap :
>
> It does not work for me, the command seems to be just ignored. I tested
> starting
noremap :
Hi Alexey,
I had no problem using the above to map my Enter key (tested on gvim
that came with Lubuntu).
The only suggestion I have is to try running the map command with
`verbose` prepended:
verbose noremap :
Then try running `:messages` in case you're not seeing a
On 2014-03-11, Alexey wrote:
> (I believe i posted it here yesterday, but i do not see my
> message, so i am resending.)
I saw it yesterday.
> I am trying to do this:
>
> noremap :
>
> It does not work for me, the command seems to be just ignored. I
> tested starting Vim with
>
> $ vim -u
(I believe i posted it here yesterday, but i do not see my message, so i am
resending.)
I am trying to do this:
noremap :
It does not work for me, the command seems to be just ignored. I tested
starting Vim with
$ vim -u NONE
so it should not be because of my configuration. When i searc
On Mar 11, 2014 7:00 PM, "Matteo Cavalleri" wrote:
>
> I'm playing a bit with a vim script, and I'm stuck on this problem:
>
> if exists('b:current_line')
> echom "normal! ".b:current_line."G"
> exe "normal! ".b:current_line."G"
> echom 'line is '.line('
* Matteo Cavalleri [2014.03.11 11:16]:
> I'm playing a bit with a vim script, and I'm stuck on this problem:
>
> if exists('b:current_line')
> echom "normal! ".b:current_line."G"
> exe "normal! ".b:current_line."G"
> echom 'line is '.line('.')
>
It looks like there was a patch
[https://groups.google.com/forum/#!searchin/vim_dev/windows8%2420ime/vim_dev/JhtPJhOdTKo/E2d5RcIwL2AJ]
which was included in 7.4.142. From now on, I can type `chcp 1251` to change
to cyrillic codepage and then start terminal Vim. As a result, now I can see
Russia
I'm playing a bit with a vim script, and I'm stuck on this problem:
if exists('b:current_line')
echom "normal! ".b:current_line."G"
exe "normal! ".b:current_line."G"
echom 'line is '.line('.')
endif
If I run the script and then do :messages, the
Dear Linda,
It feels like Perl is not very trendy these days. Support for that many
languages was added because certain popular plugins are written partly (or
fully) in these languages rather than Vim Script. Python is probably the
most popular language for extending Vim right now, perhaps after V
On Mar 11, 2014 11:33 AM, "Paul Isambert" wrote:
>
> Hello Ethan,
>
> Ethan Hereth a écrit:
> > I have a question that I think should have a better answer.
> >
> > I used to have a couple normal mode maps in my .vimrc that went like
this:
> >
> > nnoremap n nzz
> > nnoremap N Nzz
> >
> > which, a
Ethan Alan
On Tue, Mar 11, 2014 at 3:33 AM, Paul Isambert wrote:
> Hello Ethan,
>
> Ethan Hereth a écrit:
>> I have a question that I think should have a better answer.
>>
>> I used to have a couple normal mode maps in my .vimrc that went like this:
>>
>> nnoremap n nzz
>> nnoremap N Nzz
>>
>>
I have seen this in more than one place, where a section of code
has a long text literal (150-200 characters) in single quotes.
The text after the fold is colored as "quoted" -- even though
it isn't.
If the fold is opened, it parses normally. I was unable to
get any resync using "Control-L".
Alexander Shukaev wrote:
Hey everyone,
Vim for Windows [https://bitbucket.org/Haroogan/vim-for-windows] has been
updated to 7.4.193. Starting from this release, the support for the latest Lua
(5.2) has been included.
Um... you seemed to have missed including perl all-together.
You got
Hey everyone,
Vim for Windows [https://bitbucket.org/Haroogan/vim-for-windows] has been
updated to 7.4.193. Starting from this release, the support for the latest Lua
(5.2) has been included.
Best regards,
Alexander Shukaev
--
--
You received this message from the "vim_use" maillist.
Do not
On 11/03, KF wrote:
On Tuesday, March 11, 2014 2:30:47 PM UTC+8, Niels Kobschätzki wrote:
is there a way when using surround.vim with visual selection doesn't add white
space?
When having:
"This is some text"
and I select "some" and hit "S(" it becomes:
"This is ( some ) text"
but I want
Hello Ethan,
Ethan Hereth a écrit:
> I have a question that I think should have a better answer.
>
> I used to have a couple normal mode maps in my .vimrc that went like this:
>
> nnoremap n nzz
> nnoremap N Nzz
>
> which, as I'm sure I don't need to tell most of you, causes the next search
>
On Tuesday, March 11, 2014 2:30:47 PM UTC+8, Niels Kobschätzki wrote:
> is there a way when using surround.vim with visual selection doesn't add
> white space?
>
> When having:
>
> "This is some text"
>
> and I select "some" and hit "S(" it becomes:
>
> "This is ( some ) text"
>
> but I want
Hi,
Niels Kobschätzki wrote:
>
> is there a way when using surround.vim with visual selection doesn't add
> white space?
>
> When having:
> "This is some text"
> and I select "some" and hit "S(" it becomes:
> "This is ( some ) text"
> but I want
> "This is (some) text"
use the closing pare
22 matches
Mail list logo