2018年11月25日(日) 14:51 :
>
> str2float('0x1') returns 1 ( as expected )
> but
> str2float('0b1') returns 0 ( why ? )
If you want to convert strings of hexadecimal (0xa), octal (0755),
binary (0b) to integers, you can use unary + operator.
:echo +'0xa'
=> 10
:echo +'0755'
=> 493
:echo +'0b11
Hi list,
When I access to http://www.vim.org , I was redirected to
https://sourceforge.net/error-404.html .
("Page not found - SourceForge.net")
But it seems https://vim.sourceforge.io/ is alive, though.
--
Takuya Fujiwara
--
--
You received this message from the "vim_use" maillist.
Do not
Hi Ni Va,
You can choose what you like.
let list = ['foo', 'bar']
let pattern = 'oo'
echo map(copy(list), 'v:val =~# pattern ? v:key : v:val')
" or
echo map(copy(list), 'v:val =~# '.string(pattern).' ? v:key : v:val')
" or (Vim 8 or higher)
echo map(copy(list), {i,v -> v =~# pattern ? i : v})
2
2017/10/20 16:29 "lith" :
> I have tried a couple of other vim plugins for testing with little/no
success.
Which one did you try? Are you looking for something like vader <
https://github.com/junegunn/vader.vim>?
Or if you want a full stack one, themis.vim is also the thing.
https://github.com/
2014/01/31 2:34 "tyru" :
>
> Hi.
>
> Passing arguments to programs on Windows is difficult at several points,
> especially when you pass multiple arguments or *special character* at
many many sides...
>
> Vim side:
> on Windows, when 'shellslash' o
Hi.
Passing arguments to programs on Windows is difficult at several points,
especially when you pass multiple arguments or *special character* at many
many sides...
Vim side:
on Windows, when 'shellslash' option is set, shellescape() returns a string
wrapped by single quotes which cmd.exe doesn'
Another one here:
https://github.com/vim-jp/vim
On Thu, Mar 21, 2013 at 5:44 AM, Christian Brabandt wrote:
> Hi skeept!
>
> On Mi, 20 Mär 2013, skeept wrote:
>
>> Hi,
>>
>> I recall someone having a(non-official) copy of the vim sources on github.
>> This is useful for me because I can download t
Hi Sayth Renshaw
Try this script:
http://www.vim.org/scripts/script.php?script_id=3133
On Thu, Oct 18, 2012 at 8:26 AM, Sayth Renshaw wrote:
> Hi
>
> I have been looking for a way to send a html file to browser to review
> it. There is a lot of attempts, there is one here on stackoverflow
> http
2011/09/23 8:38 "tyru" :
>
>
> 2011/09/23 2:47 "Matt Martini" :
>
> >
> > I would like to know if there is a way to conditionally load a bundle,
or if there is an way to load a bundle manually.
>
> rtputil.vim has the functionality to load a bundle
2011/09/23 2:47 "Matt Martini" :
>
> I would like to know if there is a way to conditionally load a bundle, or
if there is an way to load a bundle manually.
rtputil.vim has the functionality to load a bundle manually.
https://github.vim/thinca/vim-rtputil
>
> I was getting really long load times
)
yeah, ref.vim is nice but cursoroverdictionary seems to fit your requirements.
I think ref.vim is overspec just to look up an English or Japanese word.
On Fri, Feb 25, 2011 at 5:14 PM, robert song wrote:
> On 2/25/11, tyru wrote:
>> I haven't used cursoroverdictionary yet
>>
> I use CentOS 5.5 and vim version is
> vim-enhanced-7.0.109-6.el5
hmm.. I don't have vim older than 7.2 so I can't test that.
I recommend to upgrade your vim.
On Fri, Feb 25, 2011 at 5:05 PM, robert song wrote:
> Hi, tyru,
>
> On 2/25/11, tyru wrote:
>>> I ru
ef.vim is my friend so I
quickly can send a bug report/patch/feature request! :p
2011/2/25 robert song :
> By the way, there is another plugin
> cursoroverdictionary : Look up word or phrase in English-Japanese
> Dictionary
> http://www.vim.org/scripts/script.php?script_id=2680
>
have english help. I will report or
send pull request to ref.vim's author)
Please tell me your Vim's version and OS.
and check if you installed program required for ref-alc source.
2011/2/25 robert song :
> Hi, tyru,
> thank you very much.
>
> On 2/24/11, tyru wrote:
>&
http://alc.co.jp/ supports English to Japanese, Japanese to English.
and if you want to look up in vim,
ref.vim is good.
http://www.vim.org/scripts/script.php?script_id=3067
" Translate "word" to Japanese.
:Ref alc word
" Translate "単語" to English.
:Ref alc 単語
> And any free dict file?
alc.co.jp
Hi.
On May 18, 8:25 pm, robert song wrote:
> Thank you very much, Ephraim,
>
> > I like to just :set hidden, which keeps all buffers in memory even when they
> > are not visible. I tend to think the default, which doesn't do this is a
> > holdover from when memory was much more expensive.
>
> ye
Hi.
Try smartword.
http://www.vim.org/scripts/script.php?script_id=2470
On Mar 26, 9:42 am, AK wrote:
> Is there any way to get vim's 'w' command (and similar) to move from
> word to word?
>
> E.g.: tar
>
> I want vim to see this as 4 words separated by non-words (i.e.
> whitespace and punctu
Hi.
Sorry to send mails again and again.
'inoremap' is better than 'imap'.
autocmd FileType fuf inoremap
autocmd FileType fuf inoremap
On Mar 12, 1:01 am, tyru wrote:
> Hi.
>
> I asked this question at chat room about vim.
> Room's member told me
t;
> Thanks.
>
> autocmd BufEnter,BufFilePost \[fuf\] imap
>
> works. But I still see '[R]' at the beginning of each selection. Any idea
> what it signifies? Hope it's not an issue.
>
> Thanks,
> voxner
>
> On Thu, Mar 11, 2010 at 6:25 PM, tyru wrote:
>
&
at it signifies? Hope it's not an issue.
>
> Thanks,
> voxner
>
> On Thu, Mar 11, 2010 at 6:25 PM, tyru wrote:
>
> > On Mar 11, 9:34 pm, voxner wrote:
> > > Hi,
>
> > > Thanks for the tip. But I am facing a weird problem, the first time I
gt; use the tab key to cycle through selections.
>
> Thanks,
> voxner
>
> On Thu, Mar 11, 2010 at 5:37 PM, tyru wrote:
> > Hi voxner.
>
> > ':set wildmenu' does not change fuzzyfinder's behavior.
> > How about this?
>
> > autocmd BufEnter
Hi voxner.
':set wildmenu' does not change fuzzyfinder's behavior.
How about this?
autocmd BufEnter \[fuf\] imap
autocmd BufEnter \[fuf\] imap
On Mar 11, 2:46 pm, voxner wrote:
> Hi,
>
> I use fuzzyfinder to cycle between buffers. I am forced to use the
> command to cycle between selec
Hi voxner.
':set wildmenu' does not change fuzzyfinder's behavior.
How about this?
autocmd BufEnter \[fuf\] imap
autocmd BufEnter \[fuf\] imap
On Mar 11, 2:46 pm, voxner wrote:
> Hi,
>
> I use fuzzyfinder to cycle between buffers. I am forced to use the
> command to cycle between selec
if your gvim gets sometimes freezed,
put this on your .vimrc
if has('unix')
set nofsync
set swapsync=
endif
I'm using Vim 7.2 on CentOS 5.3.
oren_a wrote:
> I've recently installed centos and it seems that gvim (version 7.1)
> works much slower than it used to work on the redhat version
24 matches
Mail list logo