Re: Paste into a :term window?

2018-10-27 Thread 'Marcin Szamotulski' via vim_use
Hi, There's Ctrl-w-" followed by a register name, which puts the register in a terminal. It works only in terminal mode. Check out `:h terminal-typing`. Best regards, Marcin -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are re

Re: Bash in :shell vs :terminal

2018-06-03 Thread 'Marcin Szamotulski' via vim_use
Hi Jason, You can set `set shell=/bin/bash\ --rcfile=$HOME/.vim_bashrc` and set the environment variable there (and source your ~/.bashrc file as well). Best regards, Marcin Szamotulski ​Sent with ProtonMail Secure Email.​ ‐‐‐ Original Message ‐‐‐ On May 30, 2018 4:06 PM, Jason

Re: Background streaking

2017-11-21 Thread Marcin Szamotulski
On 11:23 Tue 21 Nov , Phil Dobbin wrote: > On 21/11/17 10:46, Christian Brabandt wrote: > > > > On Di, 21 Nov 2017, Phil Dobbin wrote: > > > >> On 17/11/17 12:32, I wrote: > >> > >>> I have an annoying problem with the way Vim displays in Gnome terminal. > >>> Attached is a screenshot that de

Re: Updating a quickfix/location list asynchronously without interfering with another plugin

2017-11-17 Thread Marcin Szamotulski
On 06:44 Thu 16 Nov , Yegappan Lakshmanan wrote: > Hi all, > > There was a recent thread in reddit/r/vim about two Vim plugins updating > the same quickfix list at the same time thereby interfering with each other: > > https://www.reddit.com/r/vim/comments/7c5f1a/two_plugins_writing_to_quickf

Re: Advice needed: best practices for vim plugin testing

2017-10-20 Thread Marcin Szamotulski
On 10:10 Fri 20 Oct , Luc Hermitte wrote: > Hi, > > > However my concerns are broader as I'm trying to figure out ways of > > having a > > vim project maintained by different people but enforcing that their > > coding > > standards/modifications adhere to a test framework. > > So, you're not

Re: Advice needed: best practices for vim plugin testing

2017-10-20 Thread Marcin Szamotulski
On 23:49 Thu 19 Oct , Felipe M. Vieira wrote: > On Thu, October 19, 2017 at 23:36, Marcin Szamotulski wrote: > > On 11:10 Thu 19 Oct , Felipe Vieira wrote: > > > Hi everyone, > > > > > > I've been trying to develop a plugin and I'm used to wr

Re: Advice needed: best practices for vim plugin testing

2017-10-19 Thread Marcin Szamotulski
On 11:10 Thu 19 Oct , Felipe Vieira wrote: > Hi everyone, > > I've been trying to develop a plugin and I'm used to writing testing for the > softwares I develop. The problem is that I cannot find a suitable testing > platform for vim plugins. This makes me feel uncomfortable in pushing > impro

set an option for terminal buffer

2017-09-30 Thread Marcin Szamotulski
Hello, I was trying to find out a way how to set options for a terminal buffer and there seems to be no way to to that. BufAdd and BufEnter trigger to early (buftype not yet set) and OptionSet autocommand is not triggered. Is there other way? Best regards, Marcin -- -- You received this messag

Re: libvterm color palette

2017-09-23 Thread Marcin Szamotulski
On 23:36 Sat 23 Sep , Bram Moolenaar wrote: > > Marcin Szamotulski wrote: > > > Is there a way to redefine color palette used by the `:terminal` > > (libvterm)? > > No, but you can use RGB colors ('termguicolors'). I am using termguicolors and the forg

libvterm color palette

2017-09-23 Thread Marcin Szamotulski
Hello vim_use, Is there a way to redefine color palette used by the `:terminal` (libvterm)? Best regards, Marcin -- -- 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: how to set background color for vim terminal

2017-08-29 Thread Marcin Szamotulski
On 16:15 Mon 28 Aug , Bram Moolenaar wrote: > > Lifepillar wrote: > > > On 28/08/2017 00:13, Bram Moolenaar wrote: > > > > > > Marcin Szamotulski wrote: > > > > > >> I was looking how to set up background color for the `:termainal` (on

Re: how to set background color for vim terminal

2017-08-28 Thread Marcin Szamotulski
On 10:24 Mon 28 Aug , Lifepillar wrote: > On 28/08/2017 00:13, Bram Moolenaar wrote: > > > > Marcin Szamotulski wrote: > > > >> I was looking how to set up background color for the `:termainal` (on > >> linux). I cannot find proper documentation

how to set background color for vim terminal

2017-08-27 Thread Marcin Szamotulski
Hi Vim_Use, I was looking how to set up background color for the `:termainal` (on linux). I cannot find proper documentation on how to adjust libvterm. Best regards, Marcin Szamotulski -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

vim-8 packages and package managers

2017-07-08 Thread Marcin Szamotulski
Hello vim_use Vim-8 has packages. Is this a breaking feature for some of the vim package managers out there, and to which extend they support it?. I know that pathogen supports them, what about others like VAM, vundle, neobundle? Best regards, Marcin Szamotulski -- -- You received this

Re: Vim 8.0 released!

2016-09-13 Thread Marcin Szamotulski
Congrats and thanks for the work! Marcin On 14:53 Mon 12 Sep , Bram Moolenaar wrote: > > > Hello Vim users! > > > Announcing: Vim (Vi IMproved) version 8.0 > > > This the first major Vim release in ten years. There are interesting > new features, many small improvements and lots of bu

Re: Changing the defaults with Vim 8

2016-08-20 Thread Marcin Szamotulski
Hi Tim and Bram > > > As a backwards incompatible change, my biggest want would be that the > > > outer-quotation text objects (a" and a') would no longer eat leading > > > whitespace. I've never wanted the out-of-box behavior, always > > > wanting to change just the string-cum-quotes. > > > > >

Re: [ANN] An excellent Vim's syntax highlighting file for Vim script.

2016-04-18 Thread Marcin Szamotulski
On 05:14 Wed 13 Apr , h_east wrote: > Hi Marcin, > > 2016-4-13(Wed) 18:44:29 UTC+9 Marcin: > > Hi, > > > > Have you reached the maintainer of the original syntax file. He might > > be interested in issues you found. > > I know that he is watching this thread. (Hi Charles :-) > Because, Mos

Re: [ANN] An excellent Vim's syntax highlighting file for Vim script.

2016-04-13 Thread Marcin Szamotulski
Hi, Have you reached the maintainer of the original syntax file. He might be interested in issues you found. Best regards, Marcin On 08:20 Sun 10 Apr , h_east wrote: > Hi, > > 2016-4-9(Sat) 10:26:40 UTC+9 h_east: > > Hi Vim users, > > > > An excellent Vim's syntax highlighting file for Vi

Re: V selects past end of line. How to stop this?

2015-07-10 Thread Marcin Szamotulski
Hi Reckoner, A one character shorter solution is to use `0y$` but if what you really need is the visual mode then `g_` seems unavoidable. -Marcin On 21:59 Thu 09 Jul , h_east wrote: > Hi Reckoner, > > 2015-7-10(Fri) 12:48:11 UTC+9 ZyX: > > 2015-07-10 5:36 GMT+03:00 Reckoner : > > > The norm

Re: VimL string index

2015-05-04 Thread Marcin Szamotulski
On 05:39 Mon 04 May , Mark Volkmann wrote: > I don't see a builtin function to find the index of a substring within a > string. > Does that exist? > For example, I want something like index('foobarbaz', 'bar') to return 3. > It seems the index function works on lists, but not strings. > > ---

Re: Search backwards in script

2015-04-13 Thread Marcin Szamotulski
On 02:02 Mon 13 Apr , av wrote: > Hi, > > I know it is possible to set a search by doing let @/ = 'searchString' but > there is not the possibility to do let @? = 'searchString' to search > backwards, the register just doesn't exists. It does not make a search, it only changes the search re

Re: vim markdown syntax.

2015-03-24 Thread Marcin Szamotulski
On 08:38 Sun 22 Mar , Iain Hill wrote: > ​Hello people, > > My first post here ​I would be grateful for your help: > Whilst writing .md files and .markdown files in vim; I am having difficulty > with the appropriate syntax colouring; it is working fine until I use the > ``` marker after which

Re: Redirect output from command to a file?

2015-02-01 Thread Marcin Szamotulski
On 23:47 Sat 31 Jan , DwigtArmyOfChampions wrote: > I want to redirect output from the :hi command to a text file so I can > compare :hi before and after doing some syntax highlighting stuff. If my > sequence of commands is the following: > > :hi > :syntax reset > :hi > > I want to run a di

Re: how to display different color in vi

2014-12-25 Thread Marcin Szamotulski
On 01:12 Thu 25 Dec , skyworld wrote: > Hi John, > > thanks for your help. I have tried several times, but always failed. > > 1. I first tried to set "abc" in my file to be red as: > > :match abc /\/ > > the system seems to be idle and there is no response. > > 2. I checked help with "mat

Re: The window to be chosen for quickfix

2014-12-03 Thread Marcin Szamotulski
On 19:20 Mon 01 Dec , neknekneknek.ky...@gmail.com wrote: > Hi, I've encountered a weird behaviour of quickfix so let me ask a few > questions. > > When I open a quickfix window with :copen, the quickfix window is opened at > the bottom right and the corresponding source code is opened at th

Re: copy paste works first time but not afterwards

2014-09-12 Thread Marcin Szamotulski
On 23:49 Wed 10 Sep , kamaraju kusumanchi wrote: > I am using putty 0.62 from Windows 7 (64 bit) to connect to a Red Hat > Enterprise Linux Server release 6.4 running gvim 7.2. In short the set up is > > Windows 7 -> putty -> Linux -> gvim > > When I copy text from gvim and paste it on the pu

Re: Keep Vim light and clean

2014-09-08 Thread Marcin Szamotulski
On 10:11 Sun 07 Sep , alberto wrote: > Hi, i am new to vim but i want to use it instead of ide for several > programming languages, i have already read tutorials to make vim a python > and some other languages ide but my concern is the following, will vim > became too slow with so many language

Re: best vim plugin for tex?

2014-09-04 Thread Marcin Szamotulski
And you can also use ATP: http://atp-vim.sourceforge.net/ of which I am the author, Marcin Szamotulski On 23:21 Wed 03 Sep , ping song wrote: > thanks! > > I also found this one... > > https://github.com/lervag/vim-latex > > more often that, having more than 1 option

Re: Downloading Plugins

2014-08-28 Thread Marcin Szamotulski
On 17:11 Thu 28 Aug , tooth pik wrote: > On Thu, Aug 28, 2014 at 10:05:50AM -0700, Robert Cressman wrote: > > I have read several pages of articles/explanations/etc. on downloading > > plugins. Most involve Github.com. and provide the command to do so. > > > As a novice, what I don't find, or

Re: Doing "gf" from a gvim file opens the target file but switches off the syntax setting

2014-08-07 Thread Marcin Szamotulski
-directory'. The script has to be named correctly though. You can inspect $VIMRUNTIME directory (syntax and filetype subfolders of it). Best regards, Marcin Szamotulski signature.asc Description: Digital signature

Re: Arrows keys in insert mode stopped working...

2014-08-07 Thread Marcin Szamotulski
s for key then they are interpreted by vim. You can check what vim sees when you hit an arrow if hit ctrl-v + arrow key in the insert mode. But your solution will work in gvim. Best regards, Marcin Szamotulski ps. please do not top-post. signature.asc Description: Digital signature

Re: how to ban the default shortcuts of iterm2, when use vim in iterm2

2014-07-26 Thread Marcin Szamotulski
On 19:45 Sat 26 Jul , google wrote: > I use CMD key heavenly in vim。 > > in other words, how to ban the default shortcus in OS X。 You can use see ':help ' for examples. Best regards, Marcin Szamotulski signature.asc Description: Digital signature

Re: Treat section of file as entire file

2014-07-21 Thread Marcin Szamotulski
ou should look into Christian Brabandt's NarrowRegion plugin. > (https://github.com/chrisbra/NrrwRgn) > I believe it does what you're looking for. > > Cheers, > > Ethan Alan Another choice is my ViewPort plugin (http://www.vim.org/scripts/script.php?script_id=4296

Re: autosaving buffer content

2014-07-20 Thread Marcin Szamotulski
(as managed by your window manager) rather than vim windows (the ones that holds buffers, you can get a new one with the :split command). As noted in one of the previous messages the `WinLeave` autocommand group will work for you. Best regards, Marcin Szamotulski signature.asc Description: Digital signature

Re: Suggestion for vim -diff behavior change

2014-03-29 Thread Marcin Szamotulski
On 22:38 Fri 28 Mar , Chris Jones wrote: > On Fri, Mar 28, 2014 at 08:51:48PM EDT, Marcin Szamotulski wrote: > > > You can easily open all folds with zr. > > Or zR..if you have several levels of folding.. ? > > CJ In the diff mode you don't :) Regards, Marci

Re: Suggestion for vim -diff behavior change

2014-03-28 Thread Marcin Szamotulski
On 13:53 Fri 28 Mar , Josef Fortier wrote: > I've only really actively used diff mode recently (as opposed to using it as > a visual diff tool). The default folding update on a change has led me astray > more then once. > > I've learned the workaround only today, zo and zc, but the auto-fold

Re: OCaml mode : unable to use \t (type display)

2014-03-25 Thread Marcin Szamotulski
On 11:22 Tue 25 Mar , Antoine wrote: > Hello. > > > I think it just means that either the message space, or the whole > > screen, is cleared too fast for you to read it. > > Yes, I think you are right. > > > If you use :echomsg instead of plain :echo, Vim will remember the > > message. I

Re: How can I restore the current session in VIM

2014-03-15 Thread Marcin Szamotulski
On 16:46 Fri 14 Mar , Arup Rakshit wrote: > I am reading vim manual *usr_04.txt* from my vim terminal. I daily read > tutorial in a small chunk. But I want to book mark to the page, currently I > am reading, but still not finished. Next day, I want to resume from the > line/page where I stop

Re: Clearing screen when using Vi keybindings on Bash command-line

2014-03-14 Thread Marcin Szamotulski
On 18:19 Fri 14 Mar , Tim Chase wrote: > On 2014-03-14 10:02, Srikanth Cherla wrote: > > http://vim.wikia.com/wiki/Use_vi_shortcuts_in_terminal. It's great, > > except that ^L (Ctrl + l) does not clear screen any more. I tried > > the two options mentioned in the link but neither of them works.

Re: Vim vector logo

2014-03-04 Thread Marcin Szamotulski
Nice and fresh, thanks! Marcin On 15:52 Tue 04 Mar , John Trammell wrote: > Nice! > > > On Tue, Mar 4, 2014 at 2:24 PM, James Doyle wrote: > > > I made a vector version of the Vim logo. I posted it on my blog for the > > world to have. > > > > http://ohdoylerules.com/personal-project/vim-s

Re: fixing mistakes in the command line

2014-02-27 Thread Marcin Szamotulski
On 14:28 Wed 26 Feb , Bee wrote: > On Wednesday, February 26, 2014 2:57:18 AM UTC-8, Matteo Cavalleri wrote: > > Il giorno mercoledì 26 febbraio 2014 11:49:20 UTC+1, Matteo Cavalleri ha > > scritto: > >> I discovered just now abbreviations works also in command line mode, so I > >> suppose my

Re: How to edit a macro?

2014-02-26 Thread Marcin Szamotulski
On 10:52 Tue 25 Feb , Asis Hallab wrote: > Dear Vim experts, > > after recording a macro I realized that I forgot to specify the > register I yanked into. > > The macro in register q was > > /^[^#].*<-.*GO:\d\{7\}^My/)^M > > and matches lines like the following line 1 > 1 light <- c( 'GO:

Re: Unwanted spell corrections

2014-02-23 Thread Marcin Szamotulski
On 08:15 Sun 23 Feb , Gabor Urban wrote: > Hi, > > I have annoying small problem, but I would like to have it solved. > > I am using Vim 7.4 on my home laptop for editing sources and TeX, LaTeX > files. > > If I write in tex source: \'a, vim would automatically change to \'á . This > is the

Re: gd command doesn't go to definition of identifier

2014-02-14 Thread Marcin Szamotulski
On 08:24 Fri 14 Feb , Jürgen Krämer wrote: > > Hi, > > Paul wrote: > > I a *test* file tmp.tex consisting solely of the following LaTeX code: > > > > Start LaTeX code > > > > \DeclareAcronym{myacro}{ > >short = MYACRO, > >long = some longer expansion of myacro > > }

Re: ANN: EnchantedVim, System, CommandAlias

2014-02-08 Thread Marcin Szamotulski
On 11:28 Sat 08 Feb , meino.cra...@gmx.de wrote: > Marcin Szamotulski [14-02-08 11:20]: > > On 10:48 Sat 08 Feb , meino.cra...@gmx.de wrote: > > > Marcin Szamotulski [14-02-08 09:16]: > > > > On 04:26 Sat 08 Feb , meino.cra...@gmx.de wrote: > >

Re: ANN: EnchantedVim, System, CommandAlias

2014-02-08 Thread Marcin Szamotulski
On 10:48 Sat 08 Feb , meino.cra...@gmx.de wrote: > Marcin Szamotulski [14-02-08 09:16]: > > On 04:26 Sat 08 Feb , meino.cra...@gmx.de wrote: > > > > > > > > > Marcin Szamotulski [14-02-07 17:53]: > > > > Hello, > &

Re: ANN: EnchantedVim, System, CommandAlias

2014-02-08 Thread Marcin Szamotulski
On 04:26 Sat 08 Feb , meino.cra...@gmx.de wrote: > > > Marcin Szamotulski [14-02-07 17:53]: > > Hello, > > > > I would like to announce a new plugin: > > EnchantedVim > > https://github.com/coot/EnchantedVim > > http://www.vim.org/script

ANN: EnchantedVim, System, CommandAlias

2014-02-07 Thread Marcin Szamotulski
/cmdalias_vim http://www.vim.org/scripts/script.php?script_id=4250 NOTE: all three plugins have a dependency: CRDispatcher https://github.com/coot/CRDispatcher http://www.vim.org/scripts/script.php?script_id=4856 Happy viming, Marcin Szamotulski -- -- You received this message from the

Re: [plugin] targets.vim - adds many text objects in the spirit of Vim, including next and last text objects

2014-02-06 Thread Marcin Szamotulski
On 13:43 Thu 06 Feb , Christian Wellenbrock wrote: > This is my first Vim plugin and I would appreciate some honest feedback. Let > me know what you think! :) > > https://github.com/wellle/targets.vim Nice. There is a patch for "miX" where X can be anything for example "mi," will be what i

Re: regular expression blindness

2014-02-06 Thread Marcin Szamotulski
> > Thanks! > > > > I have found this trick earlier using :! in vim. You can check to other > > nifty plugins using the same e cmap trick: > > 1) system.vim: http://www.vim.org/scripts/script.php?script_id=4224 > > for :!ls and :! ls (the second one will run :echo system("ls") and > > the

Re: Custom in search cmd line

2014-02-04 Thread Marcin Szamotulski
On 04:46 Tue 04 Feb , Ben Fritz wrote: > On Tuesday, February 4, 2014 6:01:04 AM UTC-6, coot_. wrote: > > Hello, > > > > > > > > I would like this two maps to work: > > > > cno SearchCmdWin :call setline(line('.'), '\v' . > > getline(line('.'))) > > > > cno getcmdtype() == '/' ? 'Search

Custom in search cmd line

2014-02-04 Thread Marcin Szamotulski
dow and change the current line by inserting \v. The second map is not called, or maybe it is done to early and so the first line is not changed. Another approach would be to use autocommands via WinEnter, but I don't know how to recognize that the current buffer is the command line window asso

Re: regular expression blindness

2014-02-03 Thread Marcin Szamotulski
On 19:39 Mon 03 Feb , meino.cra...@gmx.de wrote: > Marcin Szamotulski [14-02-03 18:24]: > > On 20:09 Mon 03 Feb , Erik Christiansen wrote: > > > On 02.02.14 13:48, Marcin Szamotulski wrote: > > > > On 19:17 Sun 02 Feb , Erik Christiansen wrote: > >

Re: regular expression blindness

2014-02-03 Thread Marcin Szamotulski
On 20:09 Mon 03 Feb , Erik Christiansen wrote: > On 02.02.14 13:48, Marcin Szamotulski wrote: > > On 19:17 Sun 02 Feb , Erik Christiansen wrote: > > > Now if Vim had a config option to preset "\v" (posix ERE), then we'd be > > > in the 21st ce

Re: regular expression blindness

2014-02-02 Thread Marcin Szamotulski
On 19:17 Sun 02 Feb , Erik Christiansen wrote: > On 01.02.14 08:23, Tim Chase wrote: > > 2) if you just want to search, you can use the more complex pattern > > > > /^\(\.\/\)\@! > > Yebbut, that's nearly 50% backslashes, so hard to read through the > picket fence. In less obsolete syntax i

Re: How to check is colorscheme exists?

2014-01-31 Thread Marcin Szamotulski
On 13:35 Fri 31 Jan , Егор wrote: > In .vimrc I want to check if colorscheme COL1 exists, use it, else use COL2? That's quite simple: try colo COL1 catch /E185:/ colo COL2 endtry Another approach is to check if the colorscheme file is in place: if !empty(globpath(&rtp, 'colors/COL1.v

Re: How to disable mouse scroll wheel when in insert mode?

2014-01-26 Thread Marcin Szamotulski
On 19:16 Sat 25 Jan , John Little wrote: > On Sunday, January 26, 2014 7:46:17 AM UTC+13, Israel Chauca F. wrote: > > > The following mappings seem to do the trick... > > I know the OP is on CentOS, but FWIW the mappings don't work on Windows; the > mouse wheel handling is hard-coded there.

Re: How to disable mouse scroll wheel when in insert mode?

2014-01-25 Thread Marcin Szamotulski
On 13:46 Sat 25 Jan , Israel Chauca wrote: > On 1/24/14, 1:46 PM, Glenn Todd Miller wrote: > > Long time vim user looking for some advice on this, tried searching the > > web to no avail. I am using CentOS 6 and vim 7.2.411. > > > > My issue: In vim, I am in INSERT mode, my cursor is where I

Re: How to disable mouse scroll wheel when in insert mode?

2014-01-24 Thread Marcin Szamotulski
roup. > To unsubscribe from this group and stop receiving emails from it, send an > email to vim_use+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. I don't think that you can disable the mouse wheel. But you can use ^r in insert

Re: How to learn vim

2014-01-24 Thread Marcin Szamotulski
On 12:06 Fri 24 Jan , Mohit Sharma wrote: > On Fri, Jan 24, 2014 at 5:04 AM, Paolo Bolzoni < > paolo.bolzoni.br...@gmail.com> wrote: > > > Dear list, > > > > I am interested in improving my vim knowledge, so I tried > > seeking on the internet about tutorials. But in most of the > > cases you

Re: accidental editing of file

2014-01-04 Thread Marcin Szamotulski
On 23:07 Fri 03 Jan , Ben Fritz wrote: > On Friday, January 3, 2014 11:09:44 PM UTC-6, Chandra Amarasingham wrote: > > > > I am a fairly novice user of vim. One thing I worry about is > > > > accidentally changing something on the file without being aware of it by > > > > accidental keyst

Re: Swapping between 3 or 4 buffers [Was: Retaining window layout]

2014-01-01 Thread Marcin Szamotulski
On 22:47 Wed 01 Jan , Erik Christiansen wrote: > On 01.01.14 11:07, Marcin Szamotulski wrote: > > On 20:01 Tue 31 Dec , Dejan Ranisavljevic wrote: > > > Ideally i would delete that new buffer and get a previous buffer i was > > > working on. > ... > >

Re: Retaining window layout

2014-01-01 Thread Marcin Szamotulski
On 20:01 Tue 31 Dec , Dejan Ranisavljevic wrote: > I have been using vim for past 2,3 years, but there are still some issues i > am not able to come over. > > I find it really convenient to have windows managed manually. I tried > buffkill for some time, > but it doesn't work always as expe

Re: Vim redraw issue in Xubuntu 13.10 (running inside VMWare Workstation 10)

2013-12-29 Thread Marcin Szamotulski
On 05:07 Sun 29 Dec , Some Developer wrote: > On 29/12/2013 03:21, Some Developer wrote: > > I've tried gVim 7.4.131 and gVim 7.3.1314 (both compiled from source by > > myself) using the following compilation options: > > > > ./configure --with-python-config-dir=/usr/bin/python-config --with-x

Re: Vim redraw issue in Xubuntu 13.10 (running inside VMWare Workstation 10)

2013-12-28 Thread Marcin Szamotulski
On 03:21 Sun 29 Dec , Some Developer wrote: > I've tried gVim 7.4.131 and gVim 7.3.1314 (both compiled from source by > myself) using the following compilation options: > > ./configure --with-python-config-dir=/usr/bin/python-config --with-x > --enable-gui=gtk2 --enable-gtk2-check --enable-c

Re: Possible bug(s) in new regex engine involving \@> and \?

2013-12-22 Thread Marcin Szamotulski
On 20:53 Sun 22 Dec , Marcin Szamotulski wrote: > On 05:52 Sat 21 Dec , Brett Stahlman wrote: > > Possible bugs in new regex engine involving \@> and \? > > > > Using the following line of text... > > 0123456789 > > > > ...run the following two

Re: Possible bug(s) in new regex engine involving \@> and \?

2013-12-22 Thread Marcin Szamotulski
On 05:52 Sat 21 Dec , Brett Stahlman wrote: > Possible bugs in new regex engine involving \@> and \? > > Using the following line of text... > 0123456789 > > ...run the following two :substitute commands with both old and new regex > engine, and notice the differences... > > s/\(01\)\(23\)

Re: first parsing steps : request for comments

2013-12-19 Thread Marcin Szamotulski
On 21:05 Thu 19 Dec , Nikolay Pavlov wrote: > On Dec 19, 2013 9:02 PM, "Marcin Szamotulski" wrote: > > > > On 17:37 Thu 19 Dec , Nikolay Pavlov wrote: > > > On Dec 19, 2013 5:21 PM, "Marcin Szamotulski" wrote: > > > >

Re: first parsing steps : request for comments

2013-12-19 Thread Marcin Szamotulski
On 17:37 Thu 19 Dec , Nikolay Pavlov wrote: > On Dec 19, 2013 5:21 PM, "Marcin Szamotulski" wrote: > > > > On 13:23 Thu 19 Dec , Alexandre Hoïde wrote: > > > Hello, > > > > > > Still working my way to yellow belt in the Vim Scrip

Re: first parsing steps : request for comments

2013-12-19 Thread Marcin Szamotulski
On 13:23 Thu 19 Dec , Alexandre Hoïde wrote: > Hello, > > Still working my way to yellow belt in the Vim Scripting Art, I come > to you with a little piece of code I wrote to later serve in a plugin > I’m trying to write (to work with GNU Gettext PO files). I would be > interrested in comm

Re: vim is very slow when opening multiple , large , gzip files

2013-12-18 Thread Marcin Szamotulski
On 04:00 Wed 18 Dec , ping song wrote: > thanks! > > Please don't top-post, vim-use and vim-dev lists use bottom-posting which is much nicer when one wants to read a thread or take up on it. http://en.wikipedia.org/wiki/Bottom_posting#Bottom-posting Best regards, Marcin -- -- You receive

Re: weird bug with relativenumber

2013-12-11 Thread Marcin Szamotulski
On 07:22 Wed 11 Dec , Matteo Cavalleri wrote: > I'm using vim with two vertical splits and relativenumber active. I've > noticed that when I switch from a split to the other, the line numbers in the > inactive split sometimes changes. I've seen this happening on closed folds, > i.e. the numb

Re: tags without tags file

2013-12-05 Thread Marcin Szamotulski
On 16:54 Thu 05 Dec , Alexey wrote: > Tony, thanks for the answer, but i have already seen most of it in the > internet and in Vim help. > > My question was: how to find out which tags file is actually used? (I do not > seem to have any in expected places.) > > Gary, thanks for the idea.

Re: How would a vim guru type this c++ snippet?

2013-12-04 Thread Marcin Szamotulski
On 14:02 Wed 04 Dec , Chris Stankevitz wrote: > Thank you for your help! I will take a look at lh-vim. > > Without internet access on a new install of vim, how would a vim guru > would convert this: > > float mTemperature; > > unsigned char mType; > > double mDistanceFromCenter

Re: Search and stay

2013-11-25 Thread Marcin Szamotulski
On 11:51 Mon 25 Nov , Paolo Bolzoni wrote: > Dear list, > I often search text in the latex documents to move around. > So I press / and Vim shows me the > place because I have incsearch active. > > Can I just stay in the place without pressing enter? > I am asking because I also have hlsearch

Re: Simplified logo concept

2013-11-08 Thread Marcin Szamotulski
web site maintained as a public repo. > > That would be nice. The website could [certainly] use some sort of > refactoring / redesign. > > -- > Lucas Tadeu Teixeira > University of Campinas Let me vote for the new logo too. I agree that a new look is a good idea (also for

Re: selective increment numbers in substitute

2013-10-23 Thread Marcin Szamotulski
Hi, You can also write a macro: qq/Numberq which might be quicker to type, but then you have to know how many times to call it. So here is another approach with a :g command: :g/Number/normal Both solutions are assuming you don't have alpha in nrformats option. Best, Marcin On 09:35 Wed 23

Re: Auto save backup file for unsaved buffer?

2013-10-12 Thread Marcin Szamotulski
You can further tinker this idea: au BufNewFile * set cpo += '&'|preserve " preserve swap file au BufWritePost * set cpo -= '&' This will preserve swap files of every buffer that was not saved. Best, Marcin On 11:41 Sat 12 Oct , Calon wrote: > That doesn't work to unsaved buffer, will writ

Re: Vimtutor translation

2013-10-09 Thread Marcin Szamotulski
On 00:45 Thu 10 Oct , Marcin Szamotulski wrote: > On 18:50 Wed 09 Oct , João Miguel wrote: > > Hi folks, > > I use Vim in Portuguese, and its tutor to learn the basics. It really > > bothered me the way it was translated. It was painful to read, and often to > >

Re: Vimtutor translation

2013-10-09 Thread Marcin Szamotulski
On 18:50 Wed 09 Oct , João Miguel wrote: > Hi folks, > I use Vim in Portuguese, and its tutor to learn the basics. It really > bothered me the way it was translated. It was painful to read, and often to > understand! Then I saw it was a Brazilian Portuguese translation, which is > awkward, s

Re: yanking non-contiguous lines?

2013-10-08 Thread Marcin Szamotulski
On 09:09 Tue 08 Oct , Dimitar DIMITROV wrote: > >Assuming Vim without plugins like YankRing or the like, what is the > >fastest way to copy non-contiguous lines to another place in the > >document, such as a document: > > > >    AAA > >    BBB > >    CCC > >    DDD > > > >That I want to become

Re: yanking non-contiguous lines?

2013-10-07 Thread Marcin Szamotulski
On 14:39 Mon 07 Oct , Chris Lott wrote: > Assuming Vim without plugins like YankRing or the like, what is the > fastest way to copy non-contiguous lines to another place in the > document, such as a document: > > AAA > BBB > CCC > DDD > > That I want to become > >AAA >

Re: vim.org mail server status?

2013-08-27 Thread Marcin Szamotulski
On 01:11 Tue 27 Aug , glts wrote: > Dear vim.org admins, > > my mail sent to b...@vim.org and vim-...@vim.org is bouncing back after > two days. Does anybody else have this problem? > > See the Gmail mailer daemon delivery status notification below: > > > > This is an automatically generat

Re: vim: how to use back reference to compare strings?

2013-08-10 Thread Marcin Szamotulski
Hi, I am not sure if I understand you correctly but you can use \(...\) and and then reuse it with \1 (it matches the same string as what \(...\) have matched). Regards, Marcin On 00:44 Sat 10 Aug , ping song wrote: > hi guys: > I run into a scenario that , I need to compare 2 part of the

Re: regexp help

2013-07-30 Thread Marcin Szamotulski
On 11:37 Tue 30 Jul , Davido wrote: > RICHARD PITMAN wrote, on mar 30 jui 10:18 : > > > Apologies if this is a re-post, I think the first went to the wrong > > address... > > > > I have a fortran program in which there are two sorts of numbers, > > integers which are simply digits not foll

Re: help for a command

2013-07-28 Thread Marcin Szamotulski
On 22:46 Sun 28 Jul , Sven Guckes wrote: > * Ajabu Tex [2013-07-28 22:30]: > > In an HTML file I want to solve the following task: > > for every and all the lines that end with '-' (without quotes) > > I want to delete the string '-' and > > join the line with the following one. > > :g:-$:s

Re: Is there an "always on top" option for vim?

2013-07-28 Thread Marcin Szamotulski
On 17:37 Sat 27 Jul , Dahong Tang wrote: > Hi, > > Whenever I use :make to compile, vim disappears from the screen and goes to > the background, and is replaced by the shell command line screen with the > message "Press ENTER or type command to continue". > > In this case, one could use a m

Re: BufRead not reexecuted when returning to a buffer?

2013-07-20 Thread Marcin Szamotulski
On 00:30 Sun 21 Jul , Nikolay Pavlov wrote: > On Jul 20, 2013 7:41 PM, "Marcin Szamotulski" wrote: > > > > On 16:49 Sat 20 Jul , Charles Smith wrote: > > > Thank you gentlemen for your thoughts. I tried the BufEnter event > (adding > > > it

Re: BufRead not reexecuted when returning to a buffer?

2013-07-20 Thread Marcin Szamotulski
On 16:49 Sat 20 Jul , Charles Smith wrote: > Thank you gentlemen for your thoughts. I tried the BufEnter event (adding > it to the list) and it didn't help. Indeed, the existance of a BufEnter > event raises the question of why BufNewFile or BufRead events ... what the > difference is between

Re: regex variable

2013-07-18 Thread Marcin Szamotulski
On 10:06 Thu 18 Jul , shawn wilson wrote: > Sweet, didn't know about C+r - that works. I'll look more into the > leader stuff (which'll probably work better) later. Thanks > > -- > > -- > > You received this message from the "vim_use" maillist. > > Do not top-post! Type your reply below the tex

Re: regex variable

2013-07-18 Thread Marcin Szamotulski
On 09:42 Thu 18 Jul , shawn wilson wrote: > Is there a way of using a variable in a regex? > > I'm constantly looking for the first octet of IP addresses, so I do: > /[^0-9\.]10\. > > What I've been doing is hitting / and up arrow and then edit but if I > could store [^0-9\.] in something eas

Re: A small feature request for Vim 7.4

2013-07-15 Thread Marcin Szamotulski
On 07:26 Mon 15 Jul , Aggelos Kolaitis wrote: > I'm using Vim version 7.3. > > When in visual block mode, once I have chosen a one-line column, the last > char has not been highlighted. For example consider the following text: > > | first > | second > | third > > I move the cursor th

Re: short delay after quitting command-line-mode

2013-07-14 Thread Marcin Szamotulski
On 00:21 Mon 15 Jul , Johannes Deutsch wrote: > On Sun, 14 Jul 2013 23:30:55 +0400 > Nikolay Pavlov wrote: > > > On Jul 14, 2013 11:11 PM, "Johannes Deutsch" wrote: > > > > > > On Sun, 14 Jul 2013 22:55:47 +0400 > > > Nikolay Pavlov wrote: > > > > > > > On Jul 14, 2013 10:47 PM, "Johannes D

Re: Vim on Gentoo

2013-07-13 Thread Marcin Szamotulski
On 10:57 Sat 13 Jul , ZyX wrote: > It appears that not all files are put in the correct location: > /usr/share/vim/vim73 still contains some things. These were of no value for > me though, but one of them is manpager.sh script. > I also usually modify the vim ebuild to remove all default co

Re: Vim on Gentoo

2013-07-13 Thread Marcin Szamotulski
On 08:34 Sat 13 Jul , ZyX wrote: > > - -hg is needed because vim gvim and vim-core are not really working (I > > haven't checked this for a while but I did reported it while ago and > > it wasn't fixed after some time), and they are not based on the hg > > repository. > > vim- ebuild

Re: Vim on Gentoo

2013-07-13 Thread Marcin Szamotulski
On 08:26 Sat 13 Jul , ZyX wrote: > > - I don't see any .tzr there are three .tar.gz files. > > - I neigther I see 999 > > http://pycorner.herokuapp.com/blog/7/. Then you should have read your own > article before posting. There are broken tzr links and 999 in “Then you need > to run:” code s

Re: Vim on Gentoo

2013-07-13 Thread Marcin Szamotulski
On 18:23 Sat 13 Jul , Nikolay Pavlov wrote: > On Jul 13, 2013 5:36 PM, "Marcin Szamotulski" wrote: > > > > Fellow Vim Users, > > > > I wrote ebuilds for vim which are using the hg repository you can try > > them if you want to use live version o

Re: Vim on Gentoo

2013-07-13 Thread Marcin Szamotulski
On 13:43 Sat 13 Jul , jk121...@gmail.com wrote: > I noticed the subject, I am a Gentoo user and wondered want is different > about the ebuilds that are mentioned here. > > > thanks > They grab the tip of vim hg repo. Best, Marcin -- -- You received this message from the "vim_use" mai

Vim on Gentoo

2013-07-13 Thread Marcin Szamotulski
Fellow Vim Users, I wrote ebuilds for vim which are using the hg repository you can try them if you want to use live version of vim. I blogged about them here: http://pycorner.herokuapp.com/ Regards, Marcin Szamotulski -- -- You received this message from the "vim_use" maillist.

Re: Simplified logo concept

2013-07-09 Thread Marcin Szamotulski
On 02:39 Wed 10 Jul , Boyko Bantchev wrote: > > According to http://www.vim.org/trivia.php "there is just one official Vim > > logo", but it has a number of variations found at > > http://www.vim.org/logos.php > > > > What's wrong with it? > > As James said, his version is simplified. I do li

  1   2   3   4   >