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
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
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
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
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:
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".
: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
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:
>
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
)
...
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
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
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
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
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
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 ', '',
>
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 ',
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
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
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
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
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
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
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,
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
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
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"
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.
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
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
--
-
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
;)
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
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
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
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
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
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
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
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
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
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 + '=' +
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
-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
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
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
> 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
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
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
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
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
-
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
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
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
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
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
>> 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
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
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
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:
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
, 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
"
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
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
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
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
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
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
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.
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
> 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
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
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
>
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
(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
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
> >
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
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,
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
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
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
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
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 :
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
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
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
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
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 - 100 of 1468 matches
Mail list logo