Re: count folds ?

2018-09-30 Thread h_east
lnum) let fstart = foldclosed(a:lnum) if fstart == -1 return -1 else return foldclosedend(a:lnum) - fstart + 1 endif endfunc echo GetFoldLines(".") sample end -- Best regards, Hirohito Higashi (h_east) -- -- You received this message from the "vim_use

Re: About using vartabstop

2018-08-30 Thread h_east
o is indeed missing from vartabstop, > because this was done some time after the vartab patch has been created > and that feature has than not made it back into the vartabs patch. > > I'll have a look at it in more detail later. I also tried Fibonacci indent with the vartabstop o

Re: [ANN] minpac v1.0: a minimal package manager for Vim 8

2017-04-27 Thread h_east
16 +0200 patch 7.4.2164 Problem:It is not possible to use plugins in an "after" directory to tune the behavior of a package. Solution: First load plugins from non-after directories, then packages and finally plugins in after

Re: Passing current line number to shell command

2017-03-19 Thread h_east
es. See document. :help :let-$ Sample: :let $xxx=line('.') :echo $xxx 12 :!echo $xxx 12 Press ENTER or type command to continue -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply bel

Re: 'set paste' toggles 'set ruler': why?

2017-03-14 Thread h_east
hanged? > > [*] Alright. The ':set noshowmatch' is also puzzling, but I rarely This behavior is documented. :help 'paste' -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your rep

Re: new err msg in vim 8 re: setting history size

2017-01-11 Thread h_east
"feels" like a change that > > happened for 8.0 :) > > > === > Yup...opensuse here..similar thing. The reasons for setting the upper limit are as follows: https://groups.google.com/d/topic/vim_dev/cxvBwnSaWrY/discussion I hope it will be helpful. -- Best regards, Hirohito Higa

Re: new err msg in vim 8 re: setting history size

2017-01-10 Thread h_east
; set and to the Vim default value when 'compatible' is reset. > --- > still no mention of a max. It seems that you are referring to an old document. (At least before 7.4.335) The change of the maximum value of 'history' was done in 7.4.336 (Jun 25 2014 !!). Perhap

Re: Vim highligh not working properly with different colorschemes

2017-01-06 Thread h_east
ollowing help. :h highlight-cterm :h attr-list -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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.

Re: 'maxfuncdepth' ignored

2017-01-03 Thread h_east
Hi neovim guy, 2017-1-3(Tue) 7:58:59 UTC+9 ZyX: > 2017-01-02 23:36 GMT+03:00 Brett Stahlman : > > On Monday, January 2, 2017 at 11:40:32 AM UTC-6, ZyX wrote: > >> 2017-01-01 0:40 GMT+03:00 Brett Stahlman : > >> > On Saturday, December 31, 2016 at 12:23:10 PM UTC-6, ZyX wrote: > >> >> 2016-12-30 20

Re: Remapping CTRL-L, CTRL-K etc… as used in line/dictionary completion

2016-12-09 Thread h_east
id CTRL-X mode command) is mapped. doc> Also, when doing completion with 'complete' mappings apply as usual. -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you

Re: print full file name

2016-11-10 Thread h_east
x27; to be expanded as well. But if that is > the best we can do, I will take it. I can do it by using external > programs such as > > :!realpath % > > But was hoping if it can be done with pure vim. How about this one? :echo expand("%:p") -- Best regards, Hirohito

Re: after vim 8 installation, yanking (yy) doesn't work in global command and macros

2016-11-04 Thread h_east
al to "NONE" (all uppercase), all > initializations from files and environment variables are > skipped, including reading the |gvimrc| file when the GUI > starts. Loading plugins is also skipped. -- Best regards, Hirohito Higashi (a.k.a.

Re: Vim 8.0 released!

2016-09-12 Thread h_east
Hi Bram and Vim developers and users! Congrats!! I'll continue to write a patch in the future :-) -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replyi

Re: Changing the defaults with Vim 8

2016-08-21 Thread h_east
is already included at patch 7.4.2232. https://github.com/vim/vim/commit/e07e797db0c5ef1aafc650d8bb0d39fb052cf1e1 I think "100" is enough as the default. I might be okay with a smaller value, I think that it would be changed in the individual. -- Best regards, Hirohito Higashi (a.k.a. h

Re: Changing the defaults with Vim 8

2016-08-20 Thread h_east
utlen' default value is -1. This means that use the 'timeoutlen' to the key code time-out value. That one second. I think most user feels "Vim is slow" in the following operation. This is disadvantage. - When the transition to the normal-mode by pressing the XXX

Re: Changing the defaults with Vim 8

2016-07-25 Thread h_east
Hi Bram and All, I think it is better to change the default value of Vim body for some of the options. i.e. set wildmenu set ruler set showcmd set tags=./tags;,tags; etc... Obviously useful things should be changed. Thanks. -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You

Re: Changing the defaults with Vim 8

2016-07-24 Thread h_east
n a file the last > time. I never encounter negative effects. > > > As a backwards incompatible change, my biggest want would be that the > > outer-quotation text objects (a" and a') would no longer eat leading > > whitespace. I've never wanted the out-of-box

Re: [ANN] An excellent Vim's syntax highlighting file for Vim script.

2016-07-16 Thread h_east
Hi Vim script developers, Catch up Vim 7.4.2054! https://github.com/vim-jp/syntax-vim-ex I was corresponding to the following reports in vim_dev. [PATCH resend] is not highlighted when editing Vim configuration files https://groups.google.com/d/msg/vim_dev/zhzo438Kvhg/AH0Q11arBwAJ Minor update

Re: Argument complaint

2016-05-17 Thread h_east
1 2 -c next -c "set hidden modified" -c prev No error $ vim -Nu NONE 1 -c "set hidden modified" -c prev E163: There is only one file to edit $ vim -Nu NONE 1 2 -c "set hidden modified" -c prev E164: Cannot go before first file -- Best regards, Hirohito Higashi (

Re: Argument complaint

2016-05-17 Thread h_east
Hi Jan, 2016-5-17(Tue) 23:50:41 UTC+9 Jan: > On Tuesday, 17 May, 2016 at 15:43:34 BST, h_east wrote: > >Oops, This patch breaks other ex-command. > >Wait a moment. > > It also failed to apply against the latest code for me. No rush, I'll look > back in a few h

Re: Argument complaint

2016-05-17 Thread h_east
Oops, This patch breaks other ex-command. Wait a moment. -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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://w

Re: Argument complaint

2016-05-17 Thread h_east
Hi Jan, 2016-5-17(Tue) 22:54:40 UTC+9 Jan: > On Tuesday, 17 May, 2016 at 14:49:04 BST, h_east wrote: > >2016-5-17(Tue) 21:49:39 UTC+9 Jan: > >> 1. Edit two new files: "vim -u NONE 1 2" > >> 2. ":set hidden" > >> 3. ":next&q

Re: Argument complaint

2016-05-17 Thread h_east
nce last change (add ! to > override)"? I'm not actually changing away from the buffer, and even if I > were, "hidden" is set. Yeah, This is obviously a bug. I'll begin an investigation to correct from now. Thanks for the reporting. -- Best regards, Hirohito Higashi

Re: how I can quickly change number like this

2016-04-23 Thread h_east
gle.com/d/topic/vim_dev/5u4nnnUbA70/discussion Please use Vim 7.4.754 or later. -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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

Re: how I can quickly change number like this

2016-04-23 Thread h_east
t; > /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ > > ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ > > \\\ an exciting new programming language -- http://www.Zimbu.org/// > > \\\help me help AIDS

Re: how I can quickly change number like this

2016-04-18 Thread h_east
Hi, > Please see document. > :help v_CTRL-A Oops, I was half asleep. :help v_g_CTRL-A -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For

Re: how I can quickly change number like this

2016-04-18 Thread h_east
r_line+31, > call append(curr_line+13, call append(curr_line+32, Please see document. :help v_CTRL-A -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to.

Re: [ANN] An excellent Vim's syntax highlighting file for Vim script.

2016-04-13 Thread h_east
erated based on the document, So it is automatically fixed in the next release When a document is modified. Thanks. -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are

Re: How to open from bash file A and B in vertical split and file C in second tab?

2016-04-10 Thread h_east
st -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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 because

Re: [ANN] An excellent Vim's syntax highlighting file for Vim script.

2016-04-10 Thread h_east
Hi, 2016-4-9(Sat) 10:26:40 UTC+9 h_east: > Hi Vim users, > > An excellent Vim's syntax highlighting file for Vim script. > > https://github.com/vim-jp/syntax-vim-ex > > Of course, we have to follow the updates of the latest of Vim! (7.4.1721) > Please check it.

[ANN] An excellent Vim's syntax highlighting file for Vim script.

2016-04-08 Thread h_east
Hi Vim users, An excellent Vim's syntax highlighting file for Vim script. https://github.com/vim-jp/syntax-vim-ex Of course, we have to follow the updates of the latest of Vim! (7.4.1721) Please check it. Thanks. -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received

Re: Packages

2016-03-08 Thread h_east
?"), and maybe a few other uses > > > I can't think of right now. > > > > > > "Vim should _always_ load this plugin" is fine. > > > > I'll second that. That was a very nice explanation. > > The more I think about it, the more I t

Re: Go to definition and open in new tab

2016-03-08 Thread h_east
nd why it doesn't work. The shortcuts on the right seem to do > exactly what I want when using them one after the other. Like this? nnoremap R ":tab stjump " . expand("") . "" R is changed to your liking. -- Best regards, Hirohito Higashi (a.k.a h_east)

Re: inclusive-linewise: Is the help topic wrong?

2016-02-09 Thread h_east
ys include the start and end position. Perhaps, this is described in only here. Because annoying when writing a description individually. Thanks. -- Best regards, Hirohito Higashi (a.k.a h_east) -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your

Re: Try this with release gvim74-1024.exe

2016-01-12 Thread h_east
"^\s*$" and therefore the loop happily continues. > Therefore add an extra condition like this: > >while(textm =~ '^\s*$') " will always exit from while > if cline < i >break >endif >let i = i + 1 >le

Re: Ignore some filenames

2015-12-03 Thread h_east
Hi, 2015-12-4(Fri) 14:48:23 UTC+9 h_east: > Hi Paolo, > > 2015-12-4(Fri) 13:55:27 UTC+9 Paolo Bolzoni: > > Dear list, > > > > I use vim to write C++ code and often I start the program using a > > command line like > > $ vcpp classX.* > > (vcpp is an

Re: Ignore some filenames

2015-12-03 Thread h_east
side. In case of Bash: $ export GLOBIGNORE=*.o -- Best regards, Hirohito Higashi (a.k.a h_east) -- -- 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 ---

Re: auto indentation corrupted after comment block in c++ file

2015-11-17 Thread h_east
> indentation changes back one column which is > not what I want. > > Any idea how to change that strange behavior? This problem fixed by Patch 7.4.891. https://groups.google.com/d/topic/vim_dev/1bwr9Okj8yg/discussion Please use Vim 7.4.891 or later. -- Best regards, Hirohito Higas

Re: gVIM Screen Corruption

2015-09-16 Thread h_east
later. -- Best regards, Hirohito Higashi (a.k.a h_east) -- -- 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 because yo

Re: gVIM Screen Corruption

2015-09-15 Thread h_east
more times > than not. >   > Charles M Norton > Database Programmer/Systems Integrator > > > > > > > > On Saturday, September 12, 2015 2:15 AM, h_east wrote: > > > > Hi! > > 2015-9-11(Fri) 0:26:22 UTC+9 Tim Chase: > &

Re: gVIM Screen Corruption

2015-09-11 Thread h_east
little wonky. Your PC's GPU is manufactured by Intel? In that case, it is better and try the following patch. https://groups.google.com/d/msg/vim_dev/NpTfb5c1Rc0/c3Uuw0FdBwAJ --Best regards, Hirohito Higashi (a.k.a h_east) -- -- You received this message from the "vim_use" mai

Re: V selects past end of line. How to stop this?

2015-07-09 Thread h_east
t to 'g_'. :h g_ When following command typed in normal mode, Those of your hopes are character-wise visual selected. 0vg_ -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below th

Re: How to let vim immediate update the screen when I type ESC (in TUI mode)?

2015-06-24 Thread h_east
help for these > options. > > Also, note that the command line can be closed with as well. I use the following settings in my .vimrc. This works fine for me. set timeout set timeoutlen=500 set ttimeoutlen=50 -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received thi

Re: make existing subwindow as preview window

2015-06-10 Thread h_east
27;previewwindow' option. :set previewwindow -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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/maill

Re: indentation failure on java for loop

2015-05-08 Thread h_east
sults. :set ft? indentexpr? cino? -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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

Re: vim-go issue, installed with vundle

2015-04-17 Thread h_east
Hi, Richard You required below at last line of .vimrc filetype plugin indent on -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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,

Re: Bunch of files loaded ==> convertion into "loaded into single tabs"

2015-03-28 Thread h_east
or how can one name > > that? 8) into the "with separated tabs"-loading scheme without > > restart vim again? > > You could try > > :argdo tab sp > > (:"sp"lit) Maybe this might better simple. :tab all Best regards, Hirohito Higashi (a.k

Re: Ctrl-V block highlighting includes cursor column

2015-02-12 Thread h_east
change this. What are the settings that control whether > Ctrl-V block highlighting includes the cursor's column? Perhaps you're wanting the 'selection' option set to 'exclusive'. set selection=exclusive Best regards, Hirohito Higashi (aka h_east) -- -- You r

Re: The window to be chosen for quickfix

2014-12-04 Thread h_east
in the window that was active at the time the > > :copen command was executed. In this case, that would be the left > > window. > > > > Yes! Gary, thank you so much for following up. That's exactly what I mean. > I should have explain with such pictures. I hope this b

Re: Plans for Vim 7.4

2013-05-10 Thread h_east
Hi, Bram and list 2013/5/9(Thu) 12:51:48 UTC+9 Bram Moolenaar: > Hello Vim users, > > We are now at patch level 7.3.931. In a few weeks we would reach 999. I > > don't want to find out what happens if we go over that, so it's time for > > Vim 7.4! In recent years, the resolution of the displa