use XF86HomePage in vim

2016-03-19 Thread christoph . kliemt
Hi, i want to use the XF86HomePage (or another member of the usual suspects) on a X11/linux box to trigger a command, example: noremap :echo "Meow" Is there a way to make vim recognize the XF86HomePage-key, or do i have to do such things on the X11-side? If this is a faq (did not find

Re: Errors when launching Vim inside tmux

2016-03-19 Thread Csaba Hoch
> I have installed now Vim 7.4 1-1525 with brew, and it starts fine without an > error message: > > :version > VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 17 2016 12:35:54) > MacOS X (unix) version > Included patches: 1-1525 > Compiled by Homebrew > > Sorry, I haven't expla

Re: Buffer local jumping

2016-03-19 Thread romainlafourcade
Le mercredi 16 mars 2016 18:10:36 UTC+1, Jan a écrit : > Is it possible to have something like ctrl-o and ctrl-i but only for the > current buffer? You could use the changelist (buffer-local) instead of the jumplist (gobal): g; to jump back g, to jump forth See :help changelist. -- --

special merging of files

2016-03-19 Thread Natércia Fernandes
Hi all, I have a number n of text files (var1, var2, var3, ..., varn). Each file has an unknown number of lines (different from file to file). Each line contains information of the kind date time numerical_value and follows the format dd/MM/ hh:mm:ss value where dd - day (01--31) MM - month

Re: Mapping to

2016-03-19 Thread Dmitri Vereshchagin
* Christian Brabandt [2016-03-16 21:34]: > For command mode, when a key is mapped to esc, it always works like > pressing enter. This is IIRC the vi-compatible way. This is done on > purpose and I don't know why (and it seems like nobody was interested in > a patch). Thank you Christian. --

Re: vim map Q gq

2016-03-19 Thread Josef Fortier
On Monday, March 14, 2016 at 10:43:15 AM UTC-5, Yang Luo wrote: > I found many vim configure have this script. I don't understand why do this. > " Don't use Ex mode, use Q for formatting > map Q gq There are two parts to answer: 1) What does the Q do (this is the reference in the comment "Don't us

Re: Mapping to

2016-03-19 Thread Christian Brabandt
Hi Dmitri! On Mi, 16 Mär 2016, Dmitri Vereshchagin wrote: > According to the documentation these commands > > map > map! > > should be sufficient to map to in all major mapping modes. > However in this case doesn't stop Select mode and acts like > in Command-line mode. > > I f

Vim Function: return from within Python Code

2016-03-19 Thread rameo
I have a VIM function with a lot of code written in python. There are many loops and sub-loops with this kind of code: if this exit else do this Does anyone know how to exit the python code and return to vim? (or even better "how to exit the function from within python code?") sys.exit() an

Re: Packages

2016-03-19 Thread Bram Moolenaar
Matthew Desjardins wrote: > I like the current implementation, but what about "after" directories? > Is it just me or are those missing, too? The "after" directory is mosly useful to add your personal preferences. In what situation would you want to use an "after" directory in a package? -- Q:

Re: Packages

2016-03-19 Thread Ben Fritz
On Wednesday, March 16, 2016 at 9:43:24 AM UTC-5, Bram Moolenaar wrote: > Matthew Desjardins wrote: > > > I like the current implementation, but what about "after" directories? > > Is it just me or are those missing, too? > > The "after" directory is mosly useful to add your personal preferences.

Re: Errors when launching Vim inside tmux

2016-03-19 Thread Nicola
On 2016-03-17 11:42:08 +, Csaba Hoch said: I have installed now Vim 7.4 1-1525 with brew, and it starts fine without an error message: :version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 17 2016 12:35:54) MacOS X (unix) version Included patches: 1-1525 Compiled by

Re: Errors when launching Vim inside tmux

2016-03-19 Thread Nicola
On 2016-03-18 12:23:25 +, Christian Brabandt said: Hi Nicola! On Mi, 16 Mär 2016, Nicola wrote: In OS X, when I launch `vim`, or even `vim -u NONE`, within a tmux session, the following messages are logged: 16/03/16 10:49:13,539 vim[11605]: LaunchServices: received XPC_ERROR_CONNECTION_I

Re: Errors when launching Vim inside tmux

2016-03-19 Thread Csaba Hoch
Hi, > I'd like to know whether it depends on my specific setup. Does anyone > see the same? > > Version details: > > Vim 7.4 1-1525 > tmux 2.1 > > both installed with Homebrew. I have installed now Vim 7.4 1-1525 with brew, and it starts fine without an error message: :version VIM -

Re: Errors when launching Vim inside tmux

2016-03-19 Thread Nicola
On 2016-03-18 14:08:33 +, Nicola said: On 2016-03-18 12:23:25 +, Christian Brabandt said: Hi Nicola! On Mi, 16 Mär 2016, Nicola wrote: In OS X, when I launch `vim`, or even `vim -u NONE`, within a tmux session, the following messages are logged: 16/03/16 10:49:13,539 vim[11605]: La

CursorColumn background color replaces Search

2016-03-19 Thread Renato Alves
Hi everyone, The other day I opened https://github.com/vim/vim/issues/683 describing the problem. The issue was closed as a configuration issue since it could no longer be reproduced with the solarized colorscheme. Since then I've been trying to adjust my local theme to fix the issue and make b

Start/end positions of all matches on a single line

2016-03-19 Thread rameo
I would like to know the start/end positions of matches on a few lines. These linenumbers are in a list "list". I want to add the startpositions of all matches in the list "idx" and the endpositions of matches in the list "edx" idx = [] edx = [] for n in range(0,len(list)-1) "idx positions cal

Re: Errors when launching Vim inside tmux

2016-03-19 Thread Nicola
On 2016-03-17 15:03:55 +, Csaba Hoch said: Also, I use reattach-to-user-namespace in my tmux.conf to fix clipboard issues: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard (Again, I'm not sure if that has anything to do with your problem.) OT, but I don't think reattach-to-user-names