Re: Vim 9 problem under Cygwin64

2024-02-16 Thread John Cordes
the tabs I had open in my searches. For now I'm relieved to have some sort of a fix, even though it may be a bit 'dirty'. A deeper understanding of what is causing the problem would be good to learn about—someday. John Cordes On Fri, Feb 16, 2024 at 7:55 PM Gary Johnson wrote: > On 2024-02

Re: Vim 9 problem under Cygwin64

2024-02-16 Thread John Cordes
My apologies for too many posts! I have added the export VIM command to cygwin's .bash_profile; I believe that should do the trick. Many thanks to Salman Halim for the suggestion. John Cordes On Fri, Feb 16, 2024 at 6:46 PM John Cordes wrote: > I tried something based on your origi

Re: Vim 9 problem under Cygwin64

2024-02-16 Thread John Cordes
I tried something based on your original suggestion: $ export VIM=/usr/share/vim which seems to 'work' (no longer any interruption when opening a file with vim, and syntax highlighting is working). How would I set this to always be implemented whenever cygwin is run? Thanks, John On Fri, Feb

Re: Vim 9 problem under Cygwin64

2024-02-16 Thread John Cordes
Thanks for the thought. In Cygwin echo $PATH shows all forward slashes. Did you mean to somehow edit things like $VIMRUNTIME? I'm not sure how that would be done. John On Fri, Feb 16, 2024 at 6:11 PM Salman Halim wrote: > This may be too simple, but have you tried changing the environm

Vim 9 problem under Cygwin64

2024-02-16 Thread John Cordes
ymap/insert_only_capslock.vim 4: ~/.vim/bufferlist.vim 5: ~/.vim/plugin/matchit.vim Thanks for any help! John Cordes -- -- 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:

Re: digraph_get('NU') returns 0xA

2023-03-20 Thread John Passaro
thank you for the explanation! from the perspective of interpreting the output of digraph_get*() functions, would this be the case any time it returns 0x0A, or is this a special case for "NU"? On Sun, Mar 19, 2023, 17:57 Bram Moolenaar wrote: > > > :echo char2nr(digraph_get('NU')) prints "10".

digraph_get('NU') returns 0xA

2023-03-19 Thread John Passaro
:echo char2nr(digraph_get('NU')) prints "10". this would seem to disagree with :h digraphs, which says that NU maps to "0" i.e. the null char. I don't think this is the result of an override as i certainly haven't tried to enact one and it happens even with -u NONE. is this a bug? -- -- You

Re: How to quickly move to a specific buffer?

2022-12-13 Thread John Passaro
good stuff. also, `:b` completion shows your open buffers. and ^6 is not only good for going between two, not if you have three and can remember their buffer numbers via :ls, ^6 takes you to buffer number n. On Tue, Dec 13, 2022, 20:21 Tim Chase wrote: > On 2022-12-13 20:09, Steve Litt wrote: >

Re: Long Vim start time after upgrading Debian [SOLVED]

2022-09-09 Thread John Magolske
Problem solved, * john magolske [220905 14:14]: > after upgrading my debian system from buster to bullseye (vim 8.1 to > 8.2), i'm seeing a noticeably longer start time for vim, about 5-6 > seconds. i tried: > > vim --startuptime vim.log > > and looking at that

Long Vim start time after upgrading Debian

2022-09-05 Thread John Magolske
) ... Not sure what changed in upgrading my Debian OS that could've caused this added startup time... any clues or suggestions much appreciated. Thanks, John -- John Magolske http://b79.net/contact -- -- You received this message from the "vim_use" maillist. Do not top-post! Type

Re: Vim-Plug’s “PlugInstall” fails

2022-05-12 Thread John Passaro
at a glance it seems possible you need to install xcode, it is the standard way to bootstrap a lot of standard building-stuff-relevant command line tools that vim-plug probably takes for granted, git for example. I don't have a handy link but it should be easy to search for. Also check the mac's

having a hard time with vim pasta ctrlp bug

2021-08-20 Thread John Davison
hello All, when I use ctrlp to search for something, like a file /foo/print.txt when I type the p character, I get the below error, Error detected while processing function 48_NormalPasta: line 13: E21: Cannot make changes, 'modifiable' is off I'm not super clear how to debug this, i'mma

Re: Prevent vim from polluting the file system with a bunch of temporary $HOME/.viminf[a-z] files

2021-07-05 Thread John Barbour
Side note, a "tmux" or "screen" session can helpful when network connectivity is and issue. On 2021-07-03 3:21 p.m., Chris Jones wrote: On Thu, Jul 01, 2021 at 09:37:33AM EDT, aroc...@vex.net wrote: The best way to avoid having those files laying around is to find out why Vim is unable to

Re: Substitute pattern over multiple lines

2020-12-24 Thread John Cordes
tput to be in. Things are working very well now thanks to the excellent help from Tim. John Cordes -- -- 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/mail

Re: Substitute pattern over multiple lines

2020-12-24 Thread John Cordes
On Wed, Dec 23, 2020 at 10:52:43PM -0600, Tim Chase wrote: > On 2020-12-23 22:34, John Cordes wrote: > > :g/^2 TYPE tngnote//2 NOTE /s/^2 NOTE \zs\(.*\n\(\%(\D\|3 CONC > > \).*\n\)\+\)/\=' > class="xxx">'.substitute(substitute(submatch(1), '\n3 CONC ', '', >

Re: Substitute pattern over multiple lines

2020-12-23 Thread John Cordes
On Wed, Dec 23, 2020 at 11:57 PM Tim Chase wrote: > On 2020-12-23 23:18, John Cordes wrote: > >> :g/^2 TYPE tngnote//2 NOTE /s/^2 NOTE \zs\(.*\n\(\%(\D\|3 CONC > >> \).*\n\)\+\)/\=' >> class="xxx">'.substitute(substitute(submatch(1), '\n3 CONC ',

Re: Substitute pattern over multiple lines

2020-12-23 Thread John Cordes
On Wed, Dec 23, 2020 at 10:34:38PM -0400, John Cordes wrote: > On Wed, Dec 23, 2020 at 10:07:26PM -0400, John Cordes wrote: > > > > On Wed, Dec 23, 2020 at 9:31 PM Tim Chase wrote: > > > > On 2020-12-23 20:39, John Cordes wrote: > > >&g

Re: Substitute pattern over multiple lines

2020-12-23 Thread John Cordes
On Wed, Dec 23, 2020 at 10:07:26PM -0400, John Cordes wrote: > > On Wed, Dec 23, 2020 at 9:31 PM Tim Chase wrote: > > On 2020-12-23 20:39, John Cordes wrote: > >> I'd start with this ugly monstrosity: > >> > >> :%s/^2

Re: Substitute pattern over multiple lines

2020-12-23 Thread John Cordes
On Wed, Dec 23, 2020 at 9:31 PM Tim Chase wrote: > On 2020-12-23 20:39, John Cordes wrote: > >> I'd start with this ugly monstrosity: > >> > >> :%s/^2 \u\{3,} \zs\(.*\n\(\%(\D\|3 CONC \).*\n\)\+\)/\=' >> class="xxx">'.substitute(substitute(subm

Re: Substitute pattern over multiple lines

2020-12-23 Thread John Cordes
be either the next or next but one line after "2 TYPE tngnote". I neglected to make it clear earlier that I need to first search on "2 TYPE tngnote" since there are other "2 TYPE" tags where I don't want to change anything. John -- -- You received this messag

Re: Substitute pattern over multiple lines

2020-12-23 Thread John Cordes
On Wed, Dec 23, 2020 at 05:08:32PM -0600, Tim Chase wrote: > On 2020-12-23 17:48, John Cordes wrote: > > I'm seeking help with editing a GEDCOM (genealogy) file. For > > this I'm using Vim 8.2 in Windows. Here is a segment of text from > > the file (the language doesn't

Substitute pattern over multiple lines

2020-12-23 Thread John Cordes
ointer for how to deal with this. Thanks, John Cordes -- -- 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 you are

Re: vimrc: identify "small" version vs "huge" version

2020-10-02 Thread John Little
repositories do not have a more recent version. I followed the instructions at https://phoenixnap.com/kb/how-to-install-vim-centos-7, except I did not remove anything, and did not include any of the interpreter stuff. It was quick and painless, now have a "huge" vim 8.2. Regards,

How can I find what is touching the timestamp of every file I open with vim

2020-08-10 Thread John Sellers
For unknown reasons, every time I open a file with Windows 10 Gvim (installed in C:\Program Files (x86), the timestamp displayed by Windows is touched for the file I open with Gvim. I've checked both text and binary diffs, including the metadata file wrapper and nothing but the timestamp

Re: gvim: how remove menu and toolbar, but keep original geometry

2020-08-03 Thread John Little
ize of gvim window, and make it larger than the screen, but having forced the size, it can't be changed subsequently. Regards, and HTH, John Little -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For mor

language handling confused

2020-07-17 Thread John Little
What's happening here? KDE, with $LANGUAGE=en_GB:en_US:fr and $LANG=en_NZ.UTF-8 :lang mess Langue courante pour messages : "en_NZ.UTF-8" vim --clean, also gvim --clean. I'm confused. Regards, John Little -- -- You received this message from the "vim_use"

Re: Input continuous stream of digraphs

2020-06-10 Thread John Passaro
you could write a function with a while 1 loop that calls getchar() twice and calls exec 'normal i' . char1 . char2, then calls itself recursively. Then ctrl-C would get you out. On Wed, Jun 10, 2020, 06:06 Manas wrote: > Hi guys, I want to know if it is possible to input digraphs continuously.

Re: X error and vim dies

2020-05-06 Thread John Little
xit() call. I have used this workaround for a BadWindow error for about a decade, with no ill effect. Regards, John Little -- -- 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, visi

Re: Using non-greedy quantifiers with substitute()

2020-03-16 Thread John Little
You've used a double-quote string, which processes backslash characters, for the pattern. Either double the backslash, or use a single-quote string: echo substitute("#|\nmulti-line comment\n|#",'#|.\{-}|#',"","g") > HTH, and regards, John Little -- -

Re: join() a list with a newline char for an echo

2020-02-06 Thread John Little
UL characters (they are stored in memory as newlines, 0x0a, and show as ^@). Have you tried chopping off the ends of the elements? Say, :let my_list = ["alice", "bob", "carol"] :call map(my_list, {k,v -> v[0:-2]}) :echo my_list ['alic', 'bo', 'caro'] HTH, John

Re: join() a list with a newline char for an echo

2020-02-06 Thread John Little
;) one two three Press ENTER or type command to continue Maybe you're on MS Windows? Used single quotes? Have some settings causing trouble? (try with vim --clean). HTH, John Little -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the

Re: How about dropping the MzScheme interface?

2020-02-03 Thread John Mon
gt; The question is just too bizarre for an actual human to be asking. >> >> --rob solomon >> > I know I found "John Mon"'s email address on Scribd in a supposed dump of > email addresses and passwords, so I wouldn't be surprised. > > John, if you're liste

unexpected ] mark after undo/redo

2020-02-03 Thread John Little
insertion of lines puts the ] mark on the last inserted line. Am I missing something? Regards, John Little -- -- 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/ma

Re: How about dropping the MzScheme interface?

2020-02-03 Thread John Mon
I know how to breathe since birth, I can't edit text! On Fri, Jan 31, 2020 at 3:36 AM wrote: > > > > On Mi, 29 Jan 2020, Jesus Arocho wrote: > > > >> I have been reading this thread and I am not sure I understand the > >> question: "why would anyone need to alter text" > > > > From the point of

Re: How about dropping the MzScheme interface?

2020-01-30 Thread John Mon
Please let me apologize to Dominque and Gabriele for wasting the group's time. I somehow got signed up to this list and sorry I didn't mean alter text I meant edit text.I'm not a troll! Let me thank Tony and Jesus for their answers and sorry for wasting the group's time! On Thu, Jan 30, 2020 at

Re: How about dropping the MzScheme interface?

2020-01-29 Thread John Mon
Sorry Jesus! I meant what do people use Vim or notepad for? On Wed, Jan 29, 2020 at 7:56 AM Jesus Arocho wrote: > I have been reading this thread and I am not sure I understand the > question: "why would anyone need to alter text" > > On Wed, Jan 29, 2020 at 12

Re: How about dropping the MzScheme interface?

2020-01-28 Thread John Mon
Thanks for your time Tony! I've often wondered about why people ever need to alter text? If you have time I would love to know the answer. Thanks in advance! On Tue, Jan 28, 2020 at 11:49 AM Tony Mechelynck < antoine.mechely...@gmail.com> wrote: > On Mon, Jan 27, 2020 at 2:58 PM John M

Re: How about dropping the MzScheme interface?

2020-01-27 Thread John Mon
Thanks Tony you mean like notepad in W10? On Sat, Jan 25, 2020 at 7:23 PM Tony Mechelynck < antoine.mechely...@gmail.com> wrote: > On Sun, Jan 26, 2020 at 1:09 AM John Mon wrote: > > > > What the h*** is vim? > > Vim is a text editor (I think it is the best one, but

Re: How about dropping the MzScheme interface?

2020-01-25 Thread John Mon
What the h*** is vim? On Fri, Jan 24, 2020 at 3:22 PM Bram Moolenaar wrote: > > Over time many features have been added to Vim. > Currently I'm looking into making Vim script faster, which will > eventually lead to Vim9 script (faster, better, etc.). > > Besides adding more, we should also

Re: set all - each option one line

2020-01-18 Thread John Little
If you can't build or obtain a very new vim version, using the python interface can serve with a bit of work. Use the :ver command to see what For example, my vim is compiled with python3, so in a scratch buffer py3 << eof b = vim.current.buffer for k in vim.options: b.append(k + '=' +

Re: Why does argsdo duplicates a file?

2019-11-26 Thread John Little
order, try :1,$-argdo vs | wincmd w :next Note there's lots of options affecting vim's behaviour here. For example, if you have 'splitright' set, it's simpler: :set spr :1,$-argdo vs :next Regards, John Little -- -- You received this message from the "vim_use" maillist. Do not top

Re: Execute command and insert its standard output at the beginning of non-empty line?

2019-09-10 Thread John Cordes
-n 'Chronicle Herald, '") . system("date +'%A, %B %d, %Y'") Perhaps you could experiment with that idea? -- John Cordes -- -- 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 info

Search and replace ^L character

2019-08-07 Thread John Musa
I converted a pdf to txt and it left a number of ^L highlighted blue, some are ^L alone which I removed, are others are embedded at the start of a word ^Lxyz. How do I write a search and replace for the latter? Thanks -- -- You received this message from the "vim_use" maillist. Do not

Re: Persist Clipboard after Exiting Vim

2019-08-06 Thread John Little
Eli the Bearded explained why the clipboard is "being cleared". TL;DR install a clipboard manager. The solution for most users on X is the DE runs a clipboard manager. I presume that your Arch install is bare bones and you haven't installed one yet. The Arch wiki entry for clipboard

Re: gvim visual mode very slow, even with -u NONE

2019-06-14 Thread John Zezelic
> I recall experiencing something similar many years ago. > gvim (gtk2) was sluggish and vim in terminal was fast. > Refreshing the screen was slow when pressing page-down > Changing my video driver on Linux fixed it somehow. > I don't have more details, it was a long time ago. > I'm not sure if

Re: gvim visual mode very slow, even with -u NONE

2019-06-14 Thread John Zezelic
Hi Mr. Moolenaar, > What system is this on? Some kind of Linux? > What GUI are you using? I'm running Archlinux, with xmonad window manager, and generally as lean system as I can. When you ask what GUI, I am not sure what you mean. > Since it works OK in the terminal version the selection

gvim visual mode very slow, even with -u NONE

2019-06-14 Thread John Z.
Hi all, I am having problems with graphical vim since not too long ago; terminal version works as great as always. The problem is that it became very choppy - there's about 500ms-1s lag between any keypress and reaction. Keypresses are queued, so if I rapidly type, they're

gvim visual mode very slow, even with -u NONE

2019-06-14 Thread John Z.
Hi all, I am having problems with graphical vim since not too long ago; terminal version works as great as always. The problem is that it became very choppy - there's about 500ms-1s lag between any keypress and reaction. Keypresses are queued, so if I rapidly type, they're

Re: :help :check inconsistent with :check

2019-06-02 Thread John Little
k"? I use the help when I don't know stuff, that's the point of it. Regards, John Little -- -- 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 -

:help :check inconsistent with :check

2019-06-01 Thread John Little
I just struck an inconsistency that had me confused. I was watching a steadily growing log file, and with autoread set, I used the command :check and nothing happened (but for a message I didn't understand). So I went to the help and ran :help :check and got the help for the

Re: Cursor shape in the console

2019-05-30 Thread John Little
On Wednesday, May 29, 2019 at 9:31:17 AM UTC+12, Tony Mechelynck wrote: > ... I haven't found how to make it work in both konsole > and xterm ... I use the XTERM_VERSION environment variable. xterm defines it, konsole doesn't. Note that if xterm is started with -bc for a blinking cursor, the

Re: Obscure shell syntax hifghlighting problem: Solved!

2019-05-30 Thread John Little
substitution, and arithmetic expansion. "0-9" is seen as arithmetic. "1-10" would serve, too. Regards, John Little -- -- 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 informa

Re: Announce: ECMAScript interface for Vim

2019-03-30 Thread John Elliott
Nice work Bob. :) If you are ever in the NYC area we'd love to have you share about integrating Duktape at our little vim meetup. As a developer using javascript and vim every day, the idea of being able to experiment with JS in vim is quite exciting. John -- -- You received this message

setting v:searchforward from a motion operator

2019-03-07 Thread John Passaro
I am creating an operator mapping that sets the selection register based on the user's motion. e.g. =*iW to search for the current cWORD and stuff like that. I would very much like to be able to set v:searchforward as part of this, but it's not clear how I can do this. Per :h

Re: hexa numbers operations : masking, shifting

2019-02-05 Thread John Little
>> 4". If a variable shift is called for maybe use float2nr(pow(2, x)). Regards, John Little -- -- 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/mai

Re: hexa numbers operations : masking, shifting

2019-02-03 Thread John Little
egards, John Little -- -- 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 you are subscribed to the Google Groups

Re: E474: Invalid argument: listchars=tab:?~V?\ ,eol:¬^[^[

2019-01-12 Thread John Little
having these two things and stumbling into this, perhaps using a conversion library that generates the horrible "?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?" text. HTH, and regards, John Little -- -- You received this message from the "vim_use" maillist. Do not t

Re: ALT key mapping in windows 10

2018-12-20 Thread John Little
vim isn't seeing the keys and has trouble mapping it. I see in gvim for alt+left. HTH, and regards, John Little -- -- 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:

Re: :wn to :x like map/abbrev ?

2018-12-06 Thread John Passaro
and ++options that :[w]next / :[w]quit / :x seem to all support, but it may be good enough for simple cases John Passaro (917) 678-8293 On Thu, Dec 6, 2018 at 4:02 PM M Kelly wrote: > Hi, > > When editting many files I can just do :wn to save and go to next, but > just curious, does

Re: Compiling Vim on Ubuntu

2018-11-07 Thread John Little
ixes this. Regards, John Little -- -- 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 you are subscribed t

Re: Compiling Vim on Ubuntu

2018-11-07 Thread John Little
in restricted universe multiverse HTH, and regards, John Little -- -- 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 bec

Re: gvim and sliding command output animation

2018-10-18 Thread John Little
On Thursday, October 18, 2018 at 11:13:21 PM UTC+13, Steven Holt wrote: > I've mentioned it. My DE is i3, i3wm.org. Sorry, I saw i3, and without thinking assumed it meant an Intel i3 CPU. It's a very long time since I used a tiling window manager. Regards, John Little -- -- You recei

Re: gvim and sliding command output animation

2018-10-18 Thread John Little
ttle prospect of achieving anything. Regards, John Little -- -- 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 bec

Re: ***note*** handling a large file

2018-10-16 Thread John Little
On Monday, October 15, 2018 at 7:43:34 PM UTC+13, Deepak kumar wrote: > Is there any way to avoid warning "***note*** handling a large file" while > opening a large file? The message comes from the LargeFile.vim plugin, so you could just find from where it's being loaded, and remove it. You

Re: vim syntax file for grub 2 grub.cfg

2018-10-15 Thread John Little
Before someone leaps to point this out, note that grub 2 is "bash-like", and the sh.vim syntax is useful, but can be misleading. -- -- 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

vim syntax file for grub 2 grub.cfg

2018-10-15 Thread John Little
Has anyone got a syntax file for Grub 2? The syntax/grub.vim is not useful, I presume it is for Grub legacy. vim presently "detects" grub.cfg as a .cfg file, which again is not useful. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the

Re: gvim and sliding command output animation

2018-10-14 Thread John Little
On Sunday, October 14, 2018 at 9:58:54 PM UTC+13, Steven Holt wrote: > In gvim, the output is sliding line by line from the status line to the > top window edge which takes maybe a second or two ... I don't see this, gvim 8.1.0438 Huge version with GTK2 GUI, on Kubuntu 18.04. :ls on 116 buffers

isident and iskeyword treat @ differently

2018-09-18 Thread John Little
with this option. While I'm at it, \k (and \f) do not match some punctuation, even above 256. For example, ; U+037E GREEK QUESTION MARK IMO this is good, perhaps the help should be revised. Regards, John Little -- -- You received this message from the "vim_use" maillist.

Re: Accessing mapping from rhs

2018-08-30 Thread John Passaro
Could you implement the function and accompanying mapping as follows? imap MyFunction("cr") imap n MyFunction("Leader-n") Sorry if this is obvious, if it is impractical for some reason I'm curious why. John Passaro (917) 678-8293 On Thu, Aug 30, 2018 at 1:18 PM, Chris

Re: editing textareas in Firefox with vim

2018-08-26 Thread John Little
On Saturday, August 25, 2018 at 11:25:19 PM UTC+12, Michael Henry wrote: > I've been using "textern" for this... Fantastic, I didn't know about this option. I'm typing this in gvim using the add-on. >... > - Press Ctrl-Shift-E to bring up editor. It defaulted to Ctrl-Shif

Re: why is cut and paste broken on X11?

2018-08-06 Thread John Little
rather than gvim, is "bracketed paste mode". IMO vim has been on top of this, but the implementations in various terminal emulators have had problems. Many emulators claim to emulate an xterm but how well varies. Regards, John Little -- -- You received this message from the &quo

Re: Formatting text and using the convention of putting 2 spaces after a period

2018-08-06 Thread John Little
sentence). With typewriters, to mimic this, the practice of two spaces was adopted. So, for text to be rendered properly in a variable width font one space is best, but with a monospace font, aka a typewriter font, such as vim uses, some of us cling to two spaces. Regards, John Little -- -- You

Re: Interloper vi

2018-08-01 Thread John Little
l/bin/vim) So, better use "type". Seeing vim hashed to something you don't expect would at least be a hint towards Tony's advice to try hash -r. Regards, John Little -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply be

Re: syntax highlighting not correct in bash script

2018-07-29 Thread John Little
, John Little -- -- 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 you are subscribed to the Google Groups "

Re: gvim8.1 on ubuntu

2018-07-21 Thread John Little
se the :gui command to confirm this. Either way, sudo make install makes /usr/local/bin/gvim a link to vim, to completely answer your question. Regards, John Little -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text

Re: Remember last command?

2018-07-18 Thread John Little
nnamed" macro, so that the viminfo mechanism could save and restore it. I googled for "vim automatic macro record" and "vim always record macro" with no pertinent results; I thought maybe someone had done a plugin to simulate it. Regards, John Little -- -- You received this mess

Re: "best" terminal library for vim

2018-06-23 Thread John Little
ges recursively, including library ones, that the Raspian packagers used to build their vim. The package list shows this as vim 7.3, so for vim 8 something else might be needed, but the above would at least be a very good start IMO. I wonder how well vim-gtk runs on a Pi... Regards, John Lit

Re: t_kB (shift tab) is not set when using st terminal

2018-06-04 Thread John Little
On Monday, June 4, 2018 at 5:08:05 PM UTC+12, phkbphkbphkb wrote: > ... t_kB is not set on > st (https://st.suckless.org/) I think it is. I downloaded the st-0.8.1.tar.gz from there, extracted st.info, ran tic st.info TERM=st-256color vim -c 'echo _kB' and it shows ^[[Z. (I ignored

Re: compressed undofiles

2018-06-03 Thread John Little
On Sunday, June 3, 2018 at 3:48:59 PM UTC+12, Adam Monsen wrote: > I use undofiles heavily. > Anyone interested in compressed undofiles? If you use a file system that supports transparent compression by directory, like btrfs or NTFS, there'd be no need for support in vim. (Historically

Re: VIM Advanced text string search HELP

2018-05-25 Thread John Little
It may help if you can start vim in non-compatible mode, such as with vi -N I suggest also turning on search highlighting: :set hlsearch If the path you want to replace does not have any dots, I would first search for the text that needs to be replaced, perhaps /\/\/\/[^.]\+\/ With

Re: Who maintains cobol.vim?

2018-05-20 Thread John Little
vim That says the file was changed on 1 September 2016; I suspect that was a vim facing change, rather than to do with cobol. However, taking files individually may not be a good idea; if you can cope with an 80 MiB download following the instructions at https://www.vim.org/git.php could be better.

options window ignored

2018-05-15 Thread John Little
I must be missing something here. :h :options says "For window and buffer specific options, the last accessed window is used to set the option value in" But the options window is ignored. F. ex. If I start vim with vim -u NONE -U NONE -i NONE -N then I type 200ii and press escape, 200

Re: shtags.pl

2018-04-02 Thread John Little
> I don't have the man page unfortunately. I found the man page in $VIM/runtime/tools/shtags.1 the same place as shtags.pl. It doesn't get installed, my post was partly about mentioning how I accessed it. I imagine that on a vanilla Windows OS nroff style man pages are problematic. I've

Re: shtags.pl

2018-04-02 Thread John Little
to distribute this, I think your patch should be applied. The opinions of the maintainers of {syntax,indent,ftplugin}/sh.vim might be sought. Regards, John Little -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you ar

Re: ci, (or something?)

2018-03-10 Thread John Passaro
https://github.com/b4winckler/vim-angry On Sat, Mar 10, 2018, 19:02 Jason Felice wrote: > Is there something that changes a function parameter in a C-style > language, e.g. delimited by commas or parens? I find myself wanting this > frequently. > > Thanks, > -Jason >

Vim disaster

2018-02-21 Thread John Musa
I had a 20,000 line file on my Windows 10 Vim I saved my work but after a Windows crash I restarted and when I tried to edit that file it was reduced to a single line entirely filled with ^@^@^@^@^@ etc Can anyone please help me solve this? I googled it but it wasn't much help. Especially the

Re: How to handle non-ascii characters?

2017-10-21 Thread John Cordes
(em dash): > > '—' U+2014 Dec:8212 EM DASH (-M) > > An optional register argument tells it a register to save the message > (similar to :yank etc.). > > Best regards, > Tony. Thanks for pointing out this very interesting plugin, Tony. I have installed it and am ex

Re: stray control characters appear on vim startup

2017-10-16 Thread John Passaro
On Mon, Oct 16, 2017 at 5:14 PM, Bram Moolenaar <b...@moolenaar.net> wrote: > > John Passaro wrote: > > > Sometimes when I open a new vim session, unpredictably, various > characters > > appear on the first line, they look like they are terminal control > >

stray control characters appear on vim startup

2017-10-16 Thread John Passaro
Sometimes when I open a new vim session, unpredictably, various characters appear on the first line, they look like they are terminal control characters but I don't know for sure. For example: ;2R^[[>0;95;0c They go away as soon as I type over them or redraw the screen. This doesn't happen

Re: A very naive question: any doc (book, web page, ...) to learn step by step how to custom configure vim?

2017-08-11 Thread John Passaro
ll be in a position to decide which > plugins are a help, and which are a hindrance. John Passaro (917) 678-8293 http://riemann-summary.blogspot.com http://www.soundcloud.com/a-straight-john-at-last On Fri, Aug 11, 2017 at 11:27 AM, Jose Caballero <jcaballero@gmail.com> wrote: > Hi,

Re: decrease number?

2017-06-19 Thread John Passaro
use the expression register: s/\v\w+\="\zs\d\d+\ze"/\=submatch(0)-10/g John Passaro (917) 678-8293 http://riemann-summary.blogspot.com http://www.soundcloud.com/a-straight-john-at-last On Mon, Jun 19, 2017 at 9:59 PM, stosss <sto...@gmail.com> wrote: > Placing cursor on th

Re: begin end folding problem

2017-06-15 Thread John Passaro
ending on the nature of your document. This can be useful if you have a way to hide them from your audience (e.g. comment them out), or if your audience is willing to ignore them. John Passaro (917) 678-8293 http://riemann-summary.blogspot.com http://www.soundcloud.com/a-straight-john-at-last On Th

Re: show reference about word under cursor under scope of all project files

2017-03-30 Thread John Passaro
I've been mapping "gb" to use vim-ack for this: nnoremap gb :Ack -w To do without ack, you could probably use this instead: nnoremap gb :grep -rw . On Mar 30, 2017 8:19 AM, "YZ Xie" wrote: Hi,is there a method show all references about the word under current cursor in

Re: Control redraws

2017-01-18 Thread John Passaro
g :set fdm=manual, then afterward doing :set fdm=expr (or syntax as the case may be). It still has to recalculate the folds which causes a visible pause, but this is for sure a big improvement. John Passaro (917) 678-8293 http://riemann-summary.blogspot.com http://www.soundcloud.com/a-straight-jo

Control redraws

2017-01-17 Thread John Passaro
xplain this behavior. For what it's worth, I looked at :autocmd TextChanged but it outputs nothing. Thanks in advance for any pointers! John Passaro P.S. Here's a reproducible example. On the following text, built-in html syntax creates folds from lines 1-5 and 8-12: I open both folds and type :

Re: Moving a file

2016-12-11 Thread John Passaro
Vim normally offers a pretty lightweight bit of change detection and I think Shawn was only asking how to apply that to a new filename. In that context, ":saveas" seems to work: $ vim a :saveas b :! echo hello >> b W11: Warning: File "b" has changed s

Re: opinion: 'set showmatch'?

2016-09-11 Thread John Little
I use both. You may want to tune the 'matchtime' option; the default, 5, gives half a second which for me is too slow for typing parentheses. I use a 5 Hz cursor blink, so I set matchtime to 2. Regards, John Little -- -- You received this message from the "vim_use" maillist. Do no

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

2016-08-06 Thread John Little
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 out if you can map them, start your usual vim, go into insert mode, type ctrl-V then

Re: evalutate $vim as argue of a command line

2016-07-03 Thread John Little
variable names, on unix and Linux anyway, not sure about windows and Mac OS. If I run OutSay 7z a Vim.7z $VIM I get 1613 more lines, and Vim.7z is created, about 5 MiB. Regards, John Little -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your r

Re: Help in writing vim script

2016-06-15 Thread John Little
the word Result and the colon and quotes, and assuming there's nothing else, let x = 'Result: "/tmp/abcd/1234"' let y = substitute(x, 'Result: "\(.*\)"', '\1', '') is one way to do it. Add .* to the beginning or end or both if there's characters to ignore there. Regard

  1   2   3   4   5   6   7   8   9   10   >