Re: How to set comment character as double dash in front of formatted text?

2017-10-10 Thread Tony Mechelynck
On Tue, Oct 10, 2017 at 12:43 PM, Igor Forca wrote: [...] > NOW TO THE PROBLEM: > In my coding language comment is not # but instead > double dash: -- > > I should probably set some setting for formatting > to tell which character is comment or similar. > > Is it possible to set

Re: Max chars on vim command

2017-10-08 Thread Tony Mechelynck
On Sun, Oct 8, 2017 at 8:01 PM, Ni Va <nivaem...@gmail.com> wrote: > Le dimanche 8 octobre 2017 18:59:15 UTC+2, Tony Mechelynck a écrit : >> On Sun, Oct 8, 2017 at 6:50 PM, Ni Va <nivaem...@gmail.com> wrote: >> > Hi, >> > >> > >> > Testing

Re: Max chars on vim command

2017-10-08 Thread Tony Mechelynck
On Sun, Oct 8, 2017 at 6:50 PM, Ni Va wrote: > Hi, > > > Testing this code, it appears that testlist of 1 chars abort call. > How is the max and how can I pass all the data by job_starting vim ? > > Thank you in advance. > Niva > > function! awl#testfunc(arg) "{{{ >

Re: Automatically insert a special character at the beginning of a sentence

2017-10-05 Thread Tony Mechelynck
On Thu, Oct 5, 2017 at 9:36 AM, Steve wrote: > Dear Vimers, > > In French, some capital letters must be accentuated. For exemple, one must > write À and not A, especially when at the beginning of a sentence. > > I could try to remember to hit "CTRL-k !A" in order to input that >

Re: Lost in formatoptions …

2017-10-01 Thread Tony Mechelynck
On Sun, Oct 1, 2017 at 1:01 PM, Matěj Cepl wrote: [...] > As a rule of thumb, the more qualifiers there are before the name > of a country, the more corrupt the rulers. A country called The > Socialist People's Democratic Republic of X is probably the last > place in the world

Re: How to scroll back in Vim's built-in terminal?

2017-10-01 Thread Tony Mechelynck
On Sun, Oct 1, 2017 at 7:24 PM, Redesorr wrote: > Hello, > I am using Vim's built-in ":terminal", it works well. > > However, I found it is impossible to scroll back in this terminal. > > I have tried several terminal emulators and Gvim. But none of them can let me > scroll

Re: How to display tabs characters as ^I

2017-09-21 Thread Tony Mechelynck
On Thu, Sep 21, 2017 at 12:59 PM, Igor Forca wrote: > Hi, > when I open the file which includes tabs characters I can replace tabs with > some other characters if I want like using: > :%s/^I/ /g > To get ^I I press Control+V and then press i key. > > I know ^I is a symbol for

Re: Don't load specific keymap when pasting

2017-09-15 Thread Tony Mechelynck
You can also disable keymaps temprarily while pasting. Toggling keymaps is Ctrl-^ in Insert mode or ":let = !" (without the quotes) in Normal mode; and if your keyboard (like my Belgian AZERTY) doesn't give easy access to Ctrl-^ you can remap it to something else: I use F8, as follows (this

Re: Summary of new quickfix features since Vim 8.0

2017-09-13 Thread Tony Mechelynck
On Thu, Sep 14, 2017 at 3:47 AM, Yegappan Lakshmanan wrote: > Hi all, > > Below is a summary of the new quickfix features introduced since Vim 8.0. [...] I notice that in the quickfix.txt helpfile, part of the |quickfix-ID| helptext, including the tag, is duplicated. I

Re: Encoding issues with Windows gvim

2017-09-10 Thread Tony Mechelynck
On Sat, Sep 9, 2017 at 9:26 PM, Joseph L. Casale <jcas...@gmail.com> wrote: > On Saturday, September 9, 2017 at 12:16:27 PM UTC-6, Tony Mechelynck wrote: >> In your Windows gvim, at the point where you would be reading your >> problematic file, do instead >>

Re: Encoding issues with Windows gvim

2017-09-09 Thread Tony Mechelynck
On Sat, Sep 9, 2017 at 8:08 PM, Joseph L. Casale wrote: > I have a utf-16-le based file with a bom which I can view on a linux host > with vi without issue: > > # file utf16.txt > utf16.txt: Little-endian UTF-16 Unicode text, with CRLF line terminators > > # od -t x1 -N 2

Re: how to redefine paragraphs?

2017-09-08 Thread Tony Mechelynck
On Sat, Sep 9, 2017 at 12:18 AM, Jose Caballero wrote: > I have searched on google using the same words as the subject, but > didn't get too much information. Or didn't understand what I found. > Maybe people in this list can provide for hints on how to google it > more

Re: Controlling the display of a syntax highlighting group

2017-08-28 Thread Tony Mechelynck
On Tue, Aug 29, 2017 at 3:51 AM, Jeffery Small wrote: > To find non-ascii characters in a file, I have defined the following: > > syntax match nonascii "[^\x00-\x7F]" > highlight nonascii ctermbg=13 > > I can disable this with the command: > > syntax off > > I

Re: Evoking the option for :help in a mapping

2017-08-28 Thread Tony Mechelynck
On Mon, Aug 28, 2017 at 7:02 PM, Graham Lawrence wrote: > I have the customary mappings for :help, > > nmap :exec "help " . expand("") > nmap :exec "help " . expand("") > > and have been trying to develop similar do the option on the cursor > word, something like > >

Re: vim opening *.html files in readonly mode (and yes, the file does NOT have readonly attribute set)

2017-08-28 Thread Tony Mechelynck
On Mon, Aug 28, 2017 at 6:18 PM, hackware wrote: > Over the years, I've installed many .vim files to customize vim for various > uses/projects... > > After upgrading to winbloz-10 and vim to 7.4, I get errors in the LH vim lib, > and editing any .html file will open in

Using menus in konsole

2017-08-21 Thread Tony Mechelynck
I had formerly been using menus in Vim in konsole by triggering them with Shift-F1; however konsole no longer passes Shift-F1 to the application running in it. The following (with F10 instead) works, however, and not only in konsole: if has('wildmenu') set wildmenu

Re: Any way to make packadd load plugins in start when -u NONE or --noplugins are passed

2017-08-15 Thread Tony Mechelynck
On Tue, Aug 15, 2017 at 6:14 PM, skeept <ske...@gmail.com> wrote: > On Monday, August 14, 2017 at 11:16:50 PM UTC-5, Tony Mechelynck wrote: >> On Tue, Aug 15, 2017 at 5:44 AM, skeept wrote: >> > I have some plugins in the locations: >> > >> > >> &g

Re: gVim : multiple tab / desktop environnement integration

2017-08-15 Thread Tony Mechelynck
On Tue, Aug 15, 2017 at 6:59 PM, Patrice Delineo wrote: [...] > "--remote-tab-silent" seems not to be present in man page (v7.4 for > GnuLinux), but appears with --help option. > I looked only into man page. Vim is one of the very few programs whose online help covers

Re: wrong encoding for digraph page

2017-08-15 Thread Tony Mechelynck
On Tue, Aug 15, 2017 at 7:16 AM, Adam Monsen wrote: > Looks like this is still an issue. > > On Sun, Feb 26, 2012 at 7:59 PM, Adam Monsen wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> I think there's a problem with >>

Re: Any way to make packadd load plugins in start when -u NONE or --noplugins are passed

2017-08-14 Thread Tony Mechelynck
On Tue, Aug 15, 2017 at 5:44 AM, skeept wrote: > I have some plugins in the locations: > > > ~/.vim/pack/bundle/start > ~/.vim/pack/bundle/opt > > if I start vim with > vim --noplugins > vim -u NONE > > then I can load plugins from opt but not from start. > So if a plugin say,

Re: [OT] "steep learning curve" ... but what is it actually?

2017-08-08 Thread Tony Mechelynck
On Tue, Aug 8, 2017 at 11:10 PM, Ben Fritz wrote: [...] > It's not that you're *able* to learn a lot quickly, it's that you're *forced* > to learn so much before becoming productive, that makes a "steep leaning > curve" into a negative. At least Vim has one of the best

Re: Map CTRL-[ to CTRL-T, is it possible

2017-08-04 Thread Tony Mechelynck
On Sat, Aug 5, 2017 at 4:09 AM, Tony Mechelynck <antoine.mechely...@gmail.com> wrote: > On Sat, Aug 5, 2017 at 1:03 AM, Pablo Giménez <pablog...@gmail.com> wrote: >> Hello, I would like to map CTRL-[ to do the same action as CTRL-T, or in >> other words >> to

Re: Map CTRL-[ to CTRL-T, is it possible

2017-08-04 Thread Tony Mechelynck
On Sat, Aug 5, 2017 at 1:03 AM, Pablo Giménez wrote: > Hello, I would like to map CTRL-[ to do the same action as CTRL-T, or in > other words > to go back one step in the tag stack, doing a :pop command. > It makes a lot of sense to me to use CTRL-] to go forward and CTRL-[

Re: [OT] "steep learning curve" ... but what is it actually?

2017-07-30 Thread Tony Mechelynck
I think the learning curve is said to be steep by comparison with an uphill path. So x would be how far you get and y would be the amount of expended effort. But does Vim really have a steep learning curve? IMHO what it has is a virtually unlimited set of capabilities — considering that it has a

Re: Vim nightly download for Windows 64 in Firefox reports "Deceptive Site" and marked as being dangerous

2017-07-25 Thread Tony Mechelynck
On Tue, Jul 25, 2017 at 12:42 PM, Igor Forca wrote: > Now I have also tested on "Ubuntu 17.10 Daily" and using "Firefox Nightly" > and I get the same security warning. I somehow expected this, so in this case > probably your browser is something special, you may not use

Re: Vim nightly download for Windows 64 in Firefox reports "Deceptive Site" and marked as being dangerous

2017-07-25 Thread Tony Mechelynck
On Tue, Jul 25, 2017 at 7:36 AM, Igor Forca wrote: > Hi, > today on Vim nightly for Windows > https://github.com/vim/vim-win32-installer/releases/ > I tried to download gvim_8.0.0771_x64.zip so link is >

Re: How to get the vim buildin variable list?

2017-07-21 Thread Tony Mechelynck
On Sat, Jul 22, 2017 at 4:24 AM, Zhe Lee wrote: > I know the variable $HOME, $VIM, and $VIMRC > > I want to get all the buildin list how to get that ? These are not built-in; on the contrary, they are environment variables. You can set any environment variable on starting

Re: set iminsert: why global, not local?

2017-07-18 Thread Tony Mechelynck
On Tue, Jul 18, 2017 at 8:34 PM, RingoRangoRongo <9876...@gmail.com> wrote: > Thanks for your reply, Tony! > > 1-2. Then I AM missing something, I assume: http://i.imgur.com/1SqcHwW.gif > Like, why the Russian keymap — even though set locally via "setlocal > iminsert=1" — applies to all buffers?

Re: set iminsert: why global, not local?

2017-07-18 Thread Tony Mechelynck
On Tue, Jul 18, 2017 at 6:48 PM, RingoRangoRongo <9876...@gmail.com> wrote: > Hi, > > > Am I missing something, or is it impossible to set iminsert for a specific > buffer only, not for Vim globally? > > I mean, I have "set keymap=russian-jcukenmac; set iminsert=0", and if I > switch to the

Re: Really simple abbreviation I can't do

2017-07-14 Thread Tony Mechelynck
On Sat, Jul 15, 2017 at 12:49 AM, Nikolay Aleksandrovich Pavlov wrote: > 2017-07-14 23:16 GMT+03:00 : >>> Use mappings as suggested here: >>> >> >> Thanks for everyone who has responded. I'm still curious about the extra >> space inserted by the :ab, when

Re: Really simple abbreviation I can't do

2017-07-13 Thread Tony Mechelynck
On Thu, Jul 13, 2017 at 9:55 PM, wrote: > > I hesitate to ask this question, since it appears to be so simple, but the > answer ought to be useful to a lot of people. > > There are many constructs in most programming languages which involve > paired characters - {} () []

Re: enabling tag_any_white

2017-07-13 Thread Tony Mechelynck
On Thu, Jul 13, 2017 at 9:16 PM, Christian Brabandt wrote: > > On Do, 13 Jul 2017, Robert wrote: > >> I am trying to help someone that posted in the /r/vim Reddit forum. They are >> trying to get "tag_any_white" compiled in. >> >> He has tried the following: >> >>

Re: execute "set =..."

2017-07-13 Thread Tony Mechelynck
On Thu, Jul 13, 2017 at 6:06 PM, Lifepillar wrote: > Using Vim on macOS, I had this in my .vimrc: > > cmap b > cmap f > > which allowed me to use -arrows in command mode to jump > between words. It worked, but it caused a 'timeout' delay > when I was pressing

Re: Failing to do an install in $HOME from git

2017-06-30 Thread Tony Mechelynck
first from a clean slate, and then proceeds to compile and link if the configure step doesn't end in an error. Best regards, Tony. On Fri, Jun 30, 2017 at 10:18 PM, Tony Mechelynck <antoine.mechely...@gmail.com> wrote: > See also http://users.skynet.be/antoine.mechelynck/vim/compunix.ht

Re: Failing to do an install in $HOME from git

2017-06-30 Thread Tony Mechelynck
See also http://users.skynet.be/antoine.mechelynck/vim/compunix.htm — it is written for Mercurial but you should have no difficulty adapting it for git. Beware of false friends however: "hg fetch" corresponds to "git pull" and vice-versa, and their options may be different. Apart from getting the

Re: Trouble downloading VIm via FTP (MS Edge)

2017-06-29 Thread Tony Mechelynck
On Thu, Jun 29, 2017 at 11:07 PM, Andrew Pennebaker wrote: > The ftp://ftp.vim.org/pub/vim/pc/gvim80-586.exe URL for downloading Vim > doesn't play well with modern Web browsers like Edge, which now limit FTP > support. > > Could we move Vim installation media to HTTP

Re: How does vim choose a color that is not in the terminals color palette?

2017-06-15 Thread Tony Mechelynck
On Thu, Jun 15, 2017 at 1:17 PM, S. Jacobi <sjac...@mailueberfall.de> wrote: > On Wed, 14 Jun 2017 17:54:50 -0700 (PDT) > Tony Mechelynck <antoine.mechely...@gmail.com> wrote: > >> On Thursday, June 15, 2017 at 2:35:39 AM UTC+2, S. Jacobi wrote: >> > I am u

Re: How does vim choose a color that is not in the terminals color palette?

2017-06-14 Thread Tony Mechelynck
On Thursday, June 15, 2017 at 2:35:39 AM UTC+2, S. Jacobi wrote: > I am using termite as my terminal emulator, which advertises 256 colors > support via terminfo. I only defined 20 colors: fg, fg_bold, bg, cursor > and the 16 colors in their normal and bright variants. > I do not use a vim

Re: "superscript" asterisk is gone!

2017-05-18 Thread Tony Mechelynck
In Bitstream Vera Sans Mono 8 in gvim 8.0.600 for GTK3 (which I just made using "make reconfig" after an update of the python2, python3 and IIRC lua packages), U+20F0 is present in the buffer and gvim recognises it as a composing character, but its display is easy to miss: AFAICT only 3 pixels are

Re: am getting a CRITICAL error using gvim and linux

2017-05-17 Thread Tony Mechelynck
On Thu, May 18, 2017 at 5:35 AM, Charles E Campbell wrote: > > Here it is: > > ** (gvim:62530): CRITICAL **: murrine_style_draw_box: assertion 'width >= > -1' failed > > Suggestions appreciated. > > Regards, > Chip Campbell [...] Is that at every startup (even with

Re: open two files in two separate gvim windows

2017-05-14 Thread Tony Mechelynck
On Sun, May 14, 2017 at 4:41 PM, kamaraju kusumanchi wrote: > Is there an easy way to open two files in two separate gvim windows? > Currently, I am doing > > % for i in foo.txt bar.txt > do > gvim $i > done > > I looked in gvim --help which lists -o, -O that splits

Re: Please explain highlight groups User1 ... User9!!!

2017-05-10 Thread Tony Mechelynck
On Wed, May 10, 2017 at 6:09 AM, <jrfrank...@georgiasouthern.edu> wrote: > On Tuesday, May 9, 2017 at 11:35:47 PM UTC-4, Tony Mechelynck wrote: >> On Wed, May 10, 2017 at 3:04 AM, <jrfrank...@georgiasouthern.edu> wrote: >> [...] >> > Thanks a ton for

Re: Please explain highlight groups User1 ... User9!!!

2017-05-09 Thread Tony Mechelynck
On Wed, May 10, 2017 at 3:04 AM, wrote: [...] > Thanks a ton for the reply, Tony! > > So, just to confirm: There is NO WAY to conveniently specify a pair of > colors that the status line will use to alternate between to indicate > active/inactive status? I find

Re: Please explain highlight groups User1 ... User9!!!

2017-05-09 Thread Tony Mechelynck
On Wed, May 10, 2017 at 12:59 AM, wrote: > Hello All, > > I've been trying to master my statusline customizations, and I've hit a wall > in the application of colors to the statusline. > > The documentation suggests to use the User1 to User9 highlight groups. >

Re: already at oldest change - how to suppress this message

2017-04-25 Thread Tony Mechelynck
On Tue, Apr 25, 2017 at 10:18 AM, Christian Brabandt wrote: > Hi Jim! > > On Mo, 24 Apr 2017, Jim Wilmore wrote: > >>I recently got a new laptop, so I decided I would install gvim80 after >> using gvim73 for many years. >>As an old Unix user from the 70s onward, I

Re: Anybody using the Farsi feature?

2017-04-18 Thread Tony Mechelynck
On Wed, Apr 19, 2017 at 12:01 AM, Behdad Esfahbod wrote: > Humm. I don't like it that :set arabic activates a vim-side Arabic > keyboard. I run vim in gnome-terminal and want to use my X11 keyboards... > :set arabic, like :set nocompatible, :behave mswin, :vimdiff, :source

Re: Substitution ignoring combining marks

2017-04-15 Thread Tony Mechelynck
On Sat, Apr 15, 2017 at 2:54 PM, BPJ wrote: > It seems that I at some point, or a default, has set s/// to automatically > ignore differences in combining marks, which at the moment is a problem > since I'm searching for the word "ánd", with a combining accent, in a text > with

Re: Shift + Insert (behave mswin not working) in latest version.

2017-04-10 Thread Tony Mechelynck
On Sun, Apr 9, 2017 at 10:01 PM, wrote: > Sorry if I posted this twice. > So using this installer: ftp://ftp.vim.org/pub/vim/pc/gvim80-069.exe > When installing, I mark the checkbox "create bat files" for console use. > However in the console version ctrl ins + shift ins does

Re: :tabdo -- get back to original tab

2017-04-09 Thread Tony Mechelynck
On Mon, Apr 10, 2017 at 3:06 AM, 'Suresh Govindachar' via vim_use wrote: > Hello, > > Any suggestions for getting back to the starting tab after issuing the > following command?: > > :tabdo windo set nocursorbind > > Thanks, > > --Suresh :let save_tab =

Re: Anybody using the Farsi feature?

2017-04-09 Thread Tony Mechelynck
On Sun, Apr 9, 2017 at 2:47 PM, Bram Moolenaar wrote: > > Vim includes Farsi support. This implementation is quite old and uses > an encoding standard that is not widely used: ISIR-3342. In fact, > searching for that standard has the first 9 matches in Vim code. > It does

Re: Alt key mapping: "set " works in Normal/Command mode, but not in Insert mode

2017-04-05 Thread Tony Mechelynck
On Wed, Apr 5, 2017 at 3:48 PM, Jacky Liu wrote: > My Vim version is 8.0.540 if it helps What does ":verbose set timeoutlen" answer? I recommend someting like the following settings: if exists('+timeout') " should a timeout be applied to keys and mappings? " 'timeout'

Re: Trouble building Huge Vim8 on CentOS 7

2017-04-05 Thread Tony Mechelynck
On Wed, Apr 5, 2017 at 4:18 AM, Mun wrote: > Hi, > > On Tue, Mar 21, 2017 at 07:13 PM PDT, L A Walsh wrote: > LAW> Mun wrote: > LAW> >I tried to find a yum package that provides SMlib.h, but my system said: > LAW> >"No matches found". Sigh. > LAW> > LAW>I found I had

Re: How to make vim embed my own custom version of python ?

2017-04-03 Thread Tony Mechelynck
On Mon, Apr 3, 2017 at 2:13 PM, Jacky Liu <bluegene8...@gmail.com> wrote: > On Monday, April 3, 2017 at 11:11:27 AM UTC+8, Tony Mechelynck wrote: >> Configure has a lot, but really a lot, of possible arguments. To see >> them all, use >> >> src/auto/conf

Re: How to make vim embed my own custom version of python ?

2017-04-02 Thread Tony Mechelynck
Configure has a lot, but really a lot, of possible arguments. To see them all, use src/auto/configure --help |less For your usecase, I think the following might perhaps be relevant (but you might want to read it all): --enable-pythoninterp=OPTS Include Python interpreter. default=no

Re: Edit a Mac file with 0x13 CR newlines on Windows?

2017-03-23 Thread Tony Mechelynck
OOps, I meant 0x0A or 10 decimal, not 0x10, and 0x0D or 13 decimal, not 0x13. Tony. On Fri, Mar 24, 2017 at 5:25 AM, Tony Mechelynck <antoine.mechely...@gmail.com> wrote: > On Thu, Mar 23, 2017 at 4:02 PM, Paul Watson <paul.hermeneu...@gmail.com> > wrote: >> Is it pos

Re: Edit a Mac file with 0x13 CR newlines on Windows?

2017-03-23 Thread Tony Mechelynck
On Thu, Mar 23, 2017 at 4:02 PM, Paul Watson wrote: > Is it possible on Windows to edit a old-style, pre-OS/X file from a Mac that > uses 0x0D (CR) as the newline? If so, how? > > Does this have something to do with 'set ffs='? Yes. The 'fileformats' option specifies

Re: Minimum tabstop to get all columns aligned

2017-03-14 Thread Tony Mechelynck
To get all columns aligned, you must of course know the width of the widest column. If that can be known from the first line, it should be possible to set 'tabstop' accordingly, depending on that first line's format (in particular, is it a comma-separated list of column widths, or a "format line"

Re: How to delete hidden .swap files (.sw?) if there are no changes?

2017-03-11 Thread Tony Mechelynck
On Sun, Mar 12, 2017 at 1:41 AM, L A Walsh wrote: > I have near a dozen files where I have both a ".cc and a .h" > open but had a desktop reboot, so all have swap files now. > Just now, I opened them all and found that only 1 > pair had any changes that needed to be addressed, but

Re: Why is Menubar and Toolbar gone?

2017-03-07 Thread Tony Mechelynck
On Tue, Mar 7, 2017 at 2:19 PM, David Fishburn wrote: > > > On Tue, Mar 7, 2017 at 5:17 AM, Joey Ling wrote: >> >> I uninstalled Vim and Reinstall it, the Menubar and Toolbar is gone! See >> the Attachment! >> > > Depends on what your (g)vimrc

Re: Ambiguity about what $ means?

2017-03-07 Thread Tony Mechelynck
On Mon, Mar 6, 2017 at 9:20 PM, Nikolay Aleksandrovich Pavlov wrote: [...] > For reference: Vim documentation names such things “zero-width match” > (`:h /zero-width`). `\n` may match a character if you use it in > functions like `substitute()` (where pattern applies to one of

Re: What is location list?

2017-03-05 Thread Tony Mechelynck
On Mon, Mar 6, 2017 at 8:23 AM, 'Suresh Govindachar' via vim_use wrote: > > Hello, > > Looked at :help for new-location-list, location-list-window, lopen etc. but > am still clueless about what location list is. > > No matter what I tried, :lopen always reports E776. > >

Re: Binary version of Vim that support all features

2017-03-02 Thread Tony Mechelynck
Steve Hall regularly compiles (console) Vim and (GUI) gvim for Windows with most features compiled-in, and makes them available at https://sourceforge.net/projects/cream/files/Vim/ These are "unofficial" binaries built from the "official" sources, but out of Bram's control, hence the "unofficial"

Re: setup on dos machine

2017-02-19 Thread Tony Mechelynck
Best regards, Tony. On Sun, Feb 19, 2017 at 2:31 AM, email from wrote: > is this complicated directory hard coded into vim. > i would like to put all the files in one directory. You can't. 1) MS-DOS is not supported anymore in recent versions of Vim 2) Vim needs its runtime

Re: VIM scroll bar is missing scroll box

2017-02-15 Thread Tony Mechelynck
On Wed, Feb 15, 2017 at 5:48 AM, wrote: > Thanks for reading. > I am using Terminal VIM and it works very well. > And the scroll bar for Terminal works fine. > But when I run VIM (from Terminal or batch file), > the scroll bar has no "scroll box". > The "scroll box" is that

Re: Buffer number explodes when :vimgrep is called.

2017-02-14 Thread Tony Mechelynck
On Wed, Feb 15, 2017 at 1:00 AM, wrote: > Hello all, > > When I call :vimgrep, I'll usually search a directory of 600-1000 files. The > number of unlisted buffers explodes after the call (I assume because buffers > must be loaded into vim in order for the text

Re: gVim under Linux starts too low when it is configured to take all vertical space.

2017-02-14 Thread Tony Mechelynck
On Tue, Feb 14, 2017 at 10:44 AM, Hans Deragon wrote: > For some odd reason, when I am staring gVim on my Linux Ubuntu 16.04 LTS > laptop using the Unity desktop, it starts to low when I am asking it to take > all the vertical space available. It starts at position y=53

Re: Searching pattern in vim

2017-02-06 Thread Tony Mechelynck
To erase everything until the last slash on every line of the current file: :%s/.*\// i.e "replace any number of characters" (dot means "anything except a line break"), "as many as possible" (that's the star), "ending in a (backslash-escaped) slash, by nothing". The % range is short for 1,$ i.e.

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Tony Mechelynck
P.S. See also «:help 'cinoptions'» if it is a C-like language. Best regards, Tony. On Wed, Jan 25, 2017 at 9:23 PM, Tony Mechelynck <antoine.mechely...@gmail.com> wrote: > On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee <imlegend...@gmail.com> wrote: >> here is the thing: >>

Re: How to make the curly brace on the same line when press enter between them ?

2017-01-25 Thread Tony Mechelynck
On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote: > here is the thing: > {|}, | is my curve when I press enter now the curly braces will not on the > same line. > How to fix it? > If you mean they are not in the same (vertical) _column_ then I'm not sure; it may or may not

Re: Pasting from wrong register(?)

2017-01-01 Thread Tony Mechelynck
On Sat, Dec 31, 2016 at 6:27 PM, Fabian Furger wrote: > I'm setting clipboard to unnamed. I can't claim to fully understand yet how > this (and related) options work so I played around a bit and found that it > works when I have the `exclude:` part of the default clipboard

Re: Is there a key map conflict in my Vim?

2016-12-23 Thread Tony Mechelynck
On Fri, Dec 23, 2016 at 2:22 AM, Zhe Lee wrote: > I use the two command below to map my `j` and `k`, the purpose of these > command is that when the current line is too long, it will be wrapped in vim > window, and you don't want to jump it when you press j or k. So ~ >

Re: Why make visual mode default? This editor is now useless to me.

2016-12-21 Thread Tony Mechelynck
On Wed, Dec 21, 2016 at 5:37 PM, Ervin Ruci wrote: > After your recent update the behavior of the mouse changed. > > Selecting some text with the mouse automatically enters visual mode. I rarely > use the visual feature and when I use it I prefer using the v keyboard >

Re: How to set the language of ui in gvim

2016-12-17 Thread Tony Mechelynck
On Thu, Dec 15, 2016 at 12:08 PM, Dominique Pellé wrote: > Zhe Lee wrote: > >> On Tuesday, December 13, 2016 at 10:02:16 PM UTC+8, Zhe Lee wrote: >>> According to this link I already add the language setting code into my >>> vimrc file. >>>

Re: Re: How to set the language of ui in gvim

2016-12-13 Thread Tony Mechelynck
It is not always possible or desirable to disable +multi_lang. Which languages are recognized (and acceptable as argument to the :language command and its subcommands) depends on your OS and on hos it is installed. On Windows, ":language messages en" usually works, ":language messages C"

Re: how to delete specified pattern

2016-12-11 Thread Tony Mechelynck
On Sun, Dec 11, 2016 at 10:59 AM, Sand Glass wrote: > >> by the way, in windows environment, how can I copy command line to clipboard? >> I select and try 'y' or 'Ctrl+c', not worked. > > paste: > :+ > copy: > q: > > similar for find line > /+ > q/ To copy _the command

Re: how to delete specified pattern

2016-12-11 Thread Tony Mechelynck
/<*>/ in Vim means "any number of < followed by one >. To delete "one < followed by any number of non-<> followed by one >, use /<[^<>]*>/ See :help /* :help /[] Best regards, Tony. On Sun, Dec 11, 2016 at 10:16 AM, Sand Glass wrote: > I want to delete the <*>

Re: How to fix the python syntax reminder in Vim ?

2016-12-05 Thread Tony Mechelynck
On Mon, Dec 5, 2016 at 3:43 PM, 李哲 <imlegend...@gmail.com> wrote: > 在 2016年12月5日星期一 UTC+8下午10:00:28,Tony Mechelynck写道: >> On Mon, Dec 5, 2016 at 12:52 PM, 李哲 <imlegend...@gmail.com> wrote: >> > There is nothing wrong with my code but Vim still make the wave line un

Re: How to fix the python syntax reminder in Vim ?

2016-12-05 Thread Tony Mechelynck
On Mon, Dec 5, 2016 at 12:52 PM, 李哲 wrote: > There is nothing wrong with my code but Vim still make the wave line under > the code.And I don't know how to fix it. Any ideas? - Do you see the same thing with no color scheme (or with ":colorscheme default" which removes the

Re: What is the blank char in my file?

2016-11-08 Thread Tony Mechelynck
On Tue, Nov 8, 2016 at 1:22 PM, A. S. Budden wrote: >> On 1 November 2016 at 17:00, 李哲 wrote: >>> As the pic say~ >>> >>> I find a blank char in my file but I can't match it by \s+, I want to >>> delete it, what should I do? > On 8 November 2016 at

Re: Load one key- map

2016-10-24 Thread Tony Mechelynck
On Mon, Oct 24, 2016 at 6:25 PM, Guido Milanese wrote: > Perfect, thank you. I think that using "-c" for short commands and a file for > long sequences is a very wise choice. > An additional question: how could I unmap the keys leaving the vim session > without asking

Re: Load one key- map

2016-10-23 Thread Tony Mechelynck
On Mon, Oct 24, 2016 at 1:50 AM, Nikolay Aleksandrovich Pavlov <zyx@gmail.com> wrote: > 2016-10-24 2:03 GMT+03:00 Tony Mechelynck <antoine.mechely...@gmail.com>: >> On Mon, Oct 24, 2016 at 12:15 AM, Guido Milanese >> <guido.milan...@gmail.com> wrote: >

Re: Load one key- map

2016-10-23 Thread Tony Mechelynck
On Mon, Oct 24, 2016 at 12:15 AM, Guido Milanese wrote: > Dear all, > I'm probably making a mountain out of a molehill, but I'm lost in a > (probably) very simple problem. > > I have written a simple bash script that performs some transformations in a > file, calls

Re: color name definitions in Bash on Ubuntu on Windows

2016-10-19 Thread Tony Mechelynck
On Wed, Oct 19, 2016 at 11:42 PM, Erhy wrote: > Hello! > I struggle with the colors in VIM. > (in the Ubuntu Subsystem of Windows 10) > Because comment lines with syntax on was not readable for me. > > I found the file rgb.txt in the folder /usr/share/vim/vim74 >

Re: How to input character 'ƒ' (U+0192)

2016-10-10 Thread Tony Mechelynck
On Sat, Oct 8, 2016 at 9:29 PM, Steve wrote: > Hi Linda, > > diphraphs are what you are looking for. > > Type :h digraphs or simply :digraphs for a comprehensive list. > > for some usefull information. > > I would type km3 to get ϝ. > > Steve See also :help i_CTRL-V_digit

Re: Where to download Vim 8.0 for Windows? Official download web page does not download the installation file?

2016-10-06 Thread Tony Mechelynck
On Thu, Oct 6, 2016 at 1:31 PM, Igor Forca wrote: > Hi, > I tried to download gVim 8.0 from http://www.vim.org/download.php#pc and link > points to ftp://ftp.vim.org/pub/vim/pc/gvim80.exe but clicking on this link > and nothing happens (actually it starts downloading file

Re: ***sorry*** this version of netrw requires vim v7.4 with patch 213

2016-10-01 Thread Tony Mechelynck
On Sat, Oct 1, 2016 at 4:24 PM, BPJ wrote: > This, and an empty window, is what I'm greeted by when doing `:e .`: > > ***sorry*** this version of netrw requires vim v7.4 with patch 213 > > Most confused! > > $ vim --version > VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep

Status line vs. CursorColumn in diff (or scrollbind?) mode

2016-09-25 Thread Tony Mechelynck
IMHO this is not a bug, just a quirk, maybe even a feature. In diff mode (or maybe whenever 'scrollbind' is set?), then in the windows other that the current one, the CursorColumn highlight doesn't move, but the status line follows the cursor movement in the current window, as follows: %c

Re: mapping :h to ;

2016-09-25 Thread Tony Mechelynck
gt; Shortcuts, Global Keyboard Shortcuts, > then in that KDE Component scroll box scroll to kwin, go down to Maximize > Window and delete its mapping Thanks, I think I found the appropriate menuitem in the konsole Settings. > > good luck... > > On Sat, Sep 24, 2016 at 10:46

Re: Is vim supporting 24 bit colors?

2016-09-24 Thread Tony Mechelynck
On Sat, Sep 24, 2016 at 5:40 PM, Nikolay Aleksandrovich Pavlov <zyx@gmail.com> wrote: > 2016-09-24 7:05 GMT+03:00 Tony Mechelynck <antoine.mechely...@gmail.com>: >> On Fri, Sep 23, 2016 at 4:26 AM, KiYugadgeter <zyouhousik...@gmail.com> >> wrote: >>>

Re: mapping :h to ;

2016-09-24 Thread Tony Mechelynck
P.S. I recently noticed that on some terminals, is used by the terminal itself to toggle between Maximize and Unmaximize and is not passed to the application. This means that I go on using my and mappings in gvim to go to the next window up or down, but in Console Vim I must fall back to the

Re: mapping :h to ;

2016-09-24 Thread Tony Mechelynck
On Sat, Sep 24, 2016 at 8:02 AM, wrote: > I am a novice in gVim. I often need the help function. :h. I > understand I can map this combination of 4 keystrokes to a single key. > Is ; a good choice? > > The website

Re: Is vim supporting 24 bit colors?

2016-09-23 Thread Tony Mechelynck
On Fri, Sep 23, 2016 at 4:26 AM, KiYugadgeter wrote: > Is vim supporting 24 bit colors? > > I want to use vim on windows10 bash. > > windows 10 bash is supporting 24bit colors on beta version. > > Will vim support 24bit colors? Vim supports between 2 (2^1) and 16777216

Re: without using J,K,H,L and arrow keys -> motion.txt

2016-09-14 Thread Tony Mechelynck
On Wed, Sep 14, 2016 at 10:29 PM, Amit Christian <isong4wors...@gmail.com> wrote: > On Tuesday, September 13, 2016 at 4:08:41 PM UTC-5, Tony Mechelynck wrote: >> On Tue, Sep 13, 2016 at 5:43 PM, Sven Guckes <guc...@guckes.net> wrote: >> > * Amit Christian <isong4

Re: Vim 8.0 released!

2016-09-12 Thread Tony Mechelynck
In Vim 8.0.0003 ":echo v:version" answers 800 for me. Try recompiling from scratch (e.g. on Linux, "make reconfig", assuming your config options are set by environment strings, see http://users.skynet.be/antoine.mechelynck/vim/compunix.htm ). IIUC, on Windows the -B ("build") command-line switch

Re: Compiling Vim GUI on Ubuntu

2016-09-07 Thread Tony Mechelynck
P.S. On Linux, unlike on Windows, a single executable can run both as a GUI or as a console application, so if you build a gui-enabled vim, and install the correct symlinks (e.g. "pushd /usr/local/bin; ln -sv vim gvim; popd) you will be able to run the same executable in the console by calling it

Re: Compiling Vim GUI on Ubuntu

2016-09-07 Thread Tony Mechelynck
On Thu, Sep 8, 2016 at 6:09 AM, David Fishburn wrote: > I have a script which builds Vim for me. > > Right now, it is only installing console Vim and not the GUI. > > uname -a > Linux ubuntu-virtualbox 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 > 20:22:11 UTC 2016

French documentation gone AWOL

2016-08-23 Thread Tony Mechelynck
According to http://www.vim.org/translations.php the French translation of the Vim help is "complete". Alas, AFAICT, the site vim.dindinx.net where it used to be has gone missing. Best regards, Tony. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

Re: what does & mean in the vim command?

2016-08-17 Thread Tony Mechelynck
The f after and with no space between them means that the f is part of the {lhs} (q.v.): when you type F6 followed by f, Vim will execute the command :!firefox etc., starting Firefox and (as said above) not waiting for it to finish. Best regards, Tony. On Thu, Aug 18, 2016 at 5:01 AM, Sam IBM

Re: Vim 8 pre-announcement

2016-08-16 Thread Tony Mechelynck
On Tue, Aug 16, 2016 at 6:43 PM, Bram Moolenaar wrote: > > Hello Vim users, > > Work on Vim 8.0 is coming close to an end. I hope version 8.0 can be > released in about two weeks. > > This is a last chance to modify new features in a way that is not > backwards compatible.

Re: wwhat's wrong with my map in my vimrc file?

2016-08-07 Thread Tony Mechelynck
On Sun, Aug 7, 2016 at 7:31 AM, John Little wrote: > On Friday, August 5, 2016 at 9:22:02 PM UTC+12, 李哲 wrote: >> nnoremap h >> nnoremap l > >> the key map dosent work > > Your OS or window manager might use those. Mine (KDE) uses C-A-l to lock the > session. To find

<    1   2   3   4   5   6   7   8   9   10   >