Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206573

Re: text editors

From mick crane <mick.crane@gmail.com>
Newsgroups linux.debian.user
Subject Re: text editors
Date 2019-03-25 11:40 +0100
Message-ID <xFvbk-5vQ-3@gated-at.bofh.it> (permalink)
References <xFpyW-1ZJ-5@gated-at.bofh.it> <xFquZ-2AV-1@gated-at.bofh.it> <xFsGu-3SO-3@gated-at.bofh.it> <xFuRX-5pa-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2019-03-25 10:12, Erik Christiansen wrote:
> On 25.03.19 07:53, mick crane wrote:
>> not heard about folding.
> 
> It can be very handy. I have around 420 pages of notes in one file. 
> They
> present as a one-page contents table with section page counts. While
> cursoring down and then across opens a chosen fold, there are several
> folding levels to the bottom. Hierarchical groping and digging is an
> inefficient constraint suffered by GUIs; it is much quicker to just use
> vim's '/' to search for a keyword. Given capitalised headings and
> keywords, suffixed with a ':' for the major section on that topic, the
> right line in 28532 lines is quickly found, and the required folds
> opened automatically.
> 
>> I'm not very good at this.
> 
> Give it 30 years. Experience creeps up on you.
> 
>> kind of related I'm having difficulty copy and pasting.
>> If on windows [sorry] and in putty session for Debian no gui vi, if
> 
> Commiserations. I'd be sorry too if I had to use windows. (Avoided it
> entirely during 30 years in IT - took a fat redundancy package when
> windows finally caught up, and retired.
> 
>> highlight text with mouse then it is automatically saved to windows
>> clipboard for pasting but then in putty cannot scroll past bottom of 
>> screen.
> 
> Sounds like a putty limitation? I'll admit to only ever having copied 
> to
> an X11 clipboard, so can't offer relevant experience. I've never used
> gvim - plain vim in an xterm works fine with the X11 clipboard, so long
> as I remember to turn off autoindent before pasting, to avoid a
> stairstep paste. (I have the F12 key mapped to toggle vim's "paste"
> attribute, so a single key handles both on and off.)
> 
>> If set marks and then yank to other mark text is yanked but is not in
>> windows clipboard buffer for pasting.
> 
> Have you checked whether the yank goes into the "* (clipboard) 
> register?
> Check also the "+ register, in case the windows clipboard is looking
> there instead. A post on the vim-use ML might elicit more info related
> to your environment. Back in 2011, Gary Johnson had a "Copy and paste
> problem" which was fixed for windows with "set clipboard^=unnamed".)
> 
>     :help 'clipboard'
>     :help :set^=
> 
> I tend to just use a mouse drag to grab text to the X11 clipboard for
> pasting into something GUI.
> 
>> In visual mode I can highlight all text with go to mark but that is 
>> not in
>> windows buffer either.
>> I tried all different commands to try to get text into windows buffer 
>> but
>> nothing seems to work.
> 
> Check   " :set clipboard ? "
> 
> IIUC, it should include unnamed and unnamedplus for problem-free
> communication with the windows clipboard - inferring from a couple of
> archive posts from 2011,12. Including unnamedplus isn't good for the
> linux clipboard, though.
> 
> If all else fails, the vim-use mailing list is a darned sight more
> knowledgeable on vim/windows stuff.
> 
> Erik

tried "set clipboard=unnamed" and that.
":%y *" is supposed to copy to buffer and ":%y +" also says unrecognized 
register or something"
": reg" shows
""
"0
":
"%
so I don't know.
obviously buffers are on different machines and maybe putty just buffers 
what's on the screen.
Just wondered why it didn't work.

mick






-- 
Key ID    4BFEBB31

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

text editors mick crane <mick.crane@gmail.com> - 2019-03-25 05:40 +0100
  Re: text editors Cindy-Sue Causey <butterflybytes@gmail.com> - 2019-03-25 06:00 +0100
    Re: text editors Jude DaShiell <jdashiel@panix.com> - 2019-03-25 06:10 +0100
  Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-25 06:40 +0100
    Re: text editors mick crane <mick.crane@gmail.com> - 2019-03-25 09:00 +0100
      Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-25 11:20 +0100
        Re: text editors mick crane <mick.crane@gmail.com> - 2019-03-25 11:40 +0100
  Re: text editors Dan Hitt <dan.hitt@gmail.com> - 2019-03-25 07:00 +0100
  Re: text editors john doe <johndoe65534@mail.com> - 2019-03-25 07:40 +0100
  Re: text editors <tomas@tuxteam.de> - 2019-03-25 12:10 +0100
    Re: text editors rhkramer@gmail.com - 2019-03-25 12:50 +0100
      Re: text editors rhkramer@gmail.com - 2019-03-25 13:10 +0100
      Re: text editors Étienne Mollier <etienne.mollier@mailoo.org> - 2019-03-25 21:20 +0100
        Re: text editors deloptes <deloptes@gmail.com> - 2019-03-25 22:10 +0100
  Re: text editors Teemu Likonen <tlikonen@iki.fi> - 2019-03-25 13:30 +0100
    Re: text editors mick crane <mick.crane@gmail.com> - 2019-03-26 08:40 +0100
      Re: text editors Teemu Likonen <tlikonen@iki.fi> - 2019-03-26 16:50 +0100
        Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-26 18:00 +0100
          Re: text editors Håkon Alstadheim <hakon@alstadheim.priv.no> - 2019-03-26 21:20 +0100
          Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-27 03:30 +0100
            Re: text editors rhkramer@gmail.com - 2019-03-27 13:10 +0100
              Re: text editors <tomas@tuxteam.de> - 2019-03-27 14:30 +0100
                Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-27 15:10 +0100
                Re: text editors <tomas@tuxteam.de> - 2019-03-27 15:40 +0100
                Re: text editors rlharris@oplink.net - 2019-03-27 17:30 +0100
                Re: text editors rlharris@oplink.net - 2019-03-28 18:40 +0100
                keyboard macros (was: Re: text editors) rhkramer@gmail.com - 2019-03-28 19:00 +0100
                Re: keyboard macros John Hasler <jhasler@newsguy.com> - 2019-03-28 19:30 +0100
                Re: keyboard macros Cindy-Sue Causey <butterflybytes@gmail.com> - 2019-03-28 20:00 +0100
                Re: keyboard macros rlharris@oplink.net - 2019-03-28 19:50 +0100
                Re: keyboard macros John Hasler <jhasler@newsguy.com> - 2019-03-28 20:10 +0100
                xfce launchers rlharris@oplink.net - 2019-04-03 18:40 +0200
                Re: xfce launchers Mike Kupfer <mkupfer@alum.berkeley.edu> - 2019-04-04 07:20 +0200
                Re: xfce launchers rlharris@oplink.net - 2019-04-04 07:40 +0200
                Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-29 06:20 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-28 03:40 +0100
                Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-28 03:50 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-28 08:00 +0100
                Re: text editors <tomas@tuxteam.de> - 2019-03-28 09:20 +0100
                Re: text editors <tomas@tuxteam.de> - 2019-03-28 10:40 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-28 21:10 +0100
                Emacs without knowing any Lisp (was: text editors) Ben Finney <bignose@debian.org> - 2019-03-29 02:50 +0100
                Re: Emacs without knowing any Lisp (was: text editors) Bill Wood <william.wood3@comcast.net> - 2019-03-29 06:50 +0100
                Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-28 14:10 +0100
                Re: text editors <tomas@tuxteam.de> - 2019-03-28 14:50 +0100
                Re: text editors David Wright <deblis@lionunicorn.co.uk> - 2019-03-28 14:30 +0100
                Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-28 15:20 +0100
                Re: text editors <tomas@tuxteam.de> - 2019-03-28 15:30 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-28 21:30 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-29 00:40 +0100
                Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-29 06:30 +0100
                Re: text editors Teemu Likonen <tlikonen@iki.fi> - 2019-03-29 09:00 +0100
                Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-29 10:20 +0100
                Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-29 12:40 +0100
                Re: text editors Stefan Monnier <monnier@iro.umontreal.ca> - 2019-03-29 18:00 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-29 19:50 +0100
                Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-29 20:10 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-30 00:10 +0100
                Re: text editors Gene Heskett <gheskett@shentel.net> - 2019-03-30 00:30 +0100
                Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-30 01:20 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-30 01:40 +0100
                Re: text editors David Wright <deblis@lionunicorn.co.uk> - 2019-03-30 04:30 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-30 09:30 +0100
                What does all this mean? was Re: text editors David Wright <deblis@lionunicorn.co.uk> - 2019-03-30 17:20 +0100
                Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-30 05:30 +0100
                Re: text editors Bob Bernstein <poobah@ruptured-duck.com> - 2019-03-30 02:20 +0100
                Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-30 02:30 +0100
                Re: text editors David Wright <deblis@lionunicorn.co.uk> - 2019-03-30 01:50 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-04-01 12:10 +0200
                Re: text editors <tomas@tuxteam.de> - 2019-04-01 12:10 +0200
                Re: text editors Gene Heskett <gheskett@shentel.net> - 2019-04-01 12:50 +0200
                Re: text editors David Wright <deblis@lionunicorn.co.uk> - 2019-04-01 16:40 +0200
                Re: text editors Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-04-01 16:00 +0200
                Re: text editors "Thomas Schmitt" <scdbackup@gmx.net> - 2019-04-01 16:30 +0200
                Re: text editors deloptes <deloptes@gmail.com> - 2019-04-01 16:50 +0200
                Re: text editors Curt <curty@free.fr> - 2019-04-01 17:40 +0200
                Re: text editors Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-04-01 18:20 +0200
                Re: text editors "Thomas Schmitt" <scdbackup@gmx.net> - 2019-04-01 19:50 +0200
                Re: text editors John Hasler <jhasler@newsguy.com> - 2019-04-01 18:40 +0200
                Re: text editors deloptes <deloptes@gmail.com> - 2019-04-01 16:50 +0200
                Re: text editors <tomas@tuxteam.de> - 2019-04-01 17:10 +0200
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-29 11:00 +0100
                Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-29 13:00 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-28 21:20 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-29 10:50 +0100
                Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-29 11:50 +0100
                Re: text editors David Wright <deblis@lionunicorn.co.uk> - 2019-03-28 17:20 +0100
                Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-28 17:50 +0100
                Re: text editors Curt <curty@free.fr> - 2019-03-28 18:20 +0100
                Re: text editors Dekks Herton <dekkzz78@gmail.com> - 2019-03-29 10:40 +0100
                Re: text editors David Wright <deblis@lionunicorn.co.uk> - 2019-03-29 20:30 +0100
                Re: text editors Jude DaShiell <jdashiel@panix.com> - 2019-03-30 03:20 +0100
                Re: text editors David Wright <deblis@lionunicorn.co.uk> - 2019-04-01 18:40 +0200
                Re: text editors Dekks Herton <dekkzz78@gmail.com> - 2019-03-29 10:40 +0100
              Re: text editors Teemu Likonen <tlikonen@iki.fi> - 2019-03-27 20:40 +0100
              Re: text editors Stefan Monnier <monnier@iro.umontreal.ca> - 2019-03-28 01:30 +0100
          Re: text editors Dan Purgert <dan@djph.net> - 2019-03-27 12:10 +0100
            Re: text editors Teemu Likonen <tlikonen@iki.fi> - 2019-03-28 07:30 +0100
              Re: text editors <tomas@tuxteam.de> - 2019-03-28 11:40 +0100
                Re: text editors "tomas@tuxteam.de" <tomas@tuxteam.de> - 2019-03-28 12:30 +0100
                Re: text editors "tomas@tuxteam.de" <tomas@tuxteam.de> - 2019-03-28 13:00 +0100
                Re: text editors Pierre Fourès <pierre.foures@gmail.com> - 2019-03-28 17:50 +0100
                Re: text editors deloptes <deloptes@gmail.com> - 2019-03-28 21:40 +0100
        Re: text editors mick crane <mick.crane@gmail.com> - 2019-03-27 10:00 +0100
          Re: text editors Curt <curty@free.fr> - 2019-03-27 11:20 +0100
          Re: text editors Teemu Likonen <tlikonen@iki.fi> - 2019-03-27 16:50 +0100
    Understanding (some) Lisp (was: Re: text editors) rhkramer@gmail.com - 2019-03-28 17:10 +0100
      Re: Understanding (some) Lisp Teemu Likonen <tlikonen@iki.fi> - 2019-03-28 17:20 +0100
  Re: text editors Ben Finney <bignose@debian.org> - 2019-03-26 03:30 +0100
    Re: text editors Teemu Likonen <tlikonen@iki.fi> - 2019-03-26 06:30 +0100
  Re: text editors Tony Rowe <ay986@chebucto.ns.ca> - 2019-03-26 23:40 +0100
    Re: text editors Stefan Monnier <monnier@iro.umontreal.ca> - 2019-03-28 01:30 +0100
      Re: text editors John Hasler <jhasler@newsguy.com> - 2019-03-28 03:00 +0100
      Re: text editors <tomas@tuxteam.de> - 2019-03-28 09:20 +0100
  Re: text editors mick crane <mick.crane@gmail.com> - 2019-03-27 12:10 +0100
    Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-29 07:30 +0100
      Re: text editors Erik Christiansen <dvalin@internode.on.net> - 2019-03-29 09:30 +0100
        Re: text editors mick crane <mick.crane@gmail.com> - 2019-03-30 12:20 +0100

csiph-web