Re: User-defined tabulations

2017-09-21 Thread Mikhail V
On Wednesday, September 20, 2017 at 7:26:33 AM UTC+2, Christian Brabandt wrote: > On Di, 19 Sep 2017, Mikhail V wrote: > > > Is there in gVIM (I am gVIM user) a possibility to define > > different tabulations widths in single file? > > > > Like in a DTP software e.g. Indesign or Word, > > I

Re: :terminal command in Vim 8

2017-09-21 Thread marco restelli
2017-09-21 22:16 GMT+02:00, Bram Moolenaar : > > Marco Restelli wrote: > >> Dear all, >>I am experimenting with the :terminal command in Vim 8 after >> reading about it on this list. The feature is great! >> >> I have a couple of questions about it: >> >> 1) to enter

Re: :terminal command in Vim 8

2017-09-21 Thread Bram Moolenaar
Marco Restelli wrote: > Dear all, >I am experimenting with the :terminal command in Vim 8 after > reading about it on this list. The feature is great! > > I have a couple of questions about it: > > 1) to enter Terminal-Normal mode I would like to use instead of > the combination CTRL-W N

Re: how to quickly change block data order

2017-09-21 Thread Tim Chase
On 2017-09-21 08:08, Gary Johnson wrote: > Get rid of the indentation of the first line: > > gg0dw Or either of the following gg :set fo= > :set tw=39 > gggqG If you prefer to do it with standard *nix tools outside of vim, you can use sed 's/^\s*//' in.txt | fmt -w 40 >

Re: how to quickly change block data order

2017-09-21 Thread Gary Johnson
On 2017-09-21, Sand Glass wrote: > I have the following situation. I want to change it > >b390 62b3 9062 b390 61b2 > 8f61 b28e 5fb2 8d5d b18c 5aaf 8955 ad86 > 50ab 834a a97f 45a7 7c3f a579 3aa3 7635 > a174 30a0 722d 9e6f 2a9e 6e27 9d6c 249c > 6b23 9b6b 219b

Re: how to quickly change block data order

2017-09-21 Thread arocker
> I have the following situation. I want to change it > >b390 62b3 9062 b390 61b2 > Accually there are many lines (ten thousand more) data need to change > their order. How can I do it? > It's not obvious from the example what transformation you're trying to

how to quickly change block data order

2017-09-21 Thread Sand Glass
I have the following situation. I want to change it b390 62b3 9062 b390 61b2 8f61 b28e 5fb2 8d5d b18c 5aaf 8955 ad86 50ab 834a a97f 45a7 7c3f a579 3aa3 7635 a174 30a0 722d 9e6f 2a9e 6e27 9d6c 249c 6b23 9b6b 219b 6a20 9b69 1f9b 681f 9a68 1e9a 681d 9a68 1d9a 681d

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: How to display tabs characters as ^I

2017-09-21 Thread Tim Chase
On 2017-09-21 03:59, Igor Forca wrote: > So, how to display ^I (as single character) instead of horizontal > spacing produced by tab key? You want the 'list' setting: :set list or toggle it with :set list! which you can read about at :help 'list' -tim -- -- You received this

How to display tabs characters as ^I

2017-09-21 Thread Igor Forca
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 tabs. But is there a way instead of horizontal spacing produced by pressing tab key

:terminal command in Vim 8

2017-09-21 Thread marco restelli
Dear all, I am experimenting with the :terminal command in Vim 8 after reading about it on this list. The feature is great! I have a couple of questions about it: 1) to enter Terminal-Normal mode I would like to use instead of the combination CTRL-W N . I see I can use termkey to define

Re: clicked cword

2017-09-21 Thread Xavier Noria
On Sun, Sep 17, 2017 at 12:49 AM, Xavier Noria wrote: For the archives: I realized you can use in the RHS of the > mapping, this is working well: > > nmap :exe 'tag ' . expand('') > Even simpler, since makes the clicked word the cword, that can be simplified leveraging