snipmate and youcompleteme

2017-12-05 Thread Niels Kobschaetzki
Hi, I started to use YouCompleteMe recently and I use SnipMate as well. Since YouCompleteMe uses tab, I set in my vimrc for snipmate: imap snipMateNextOrTrigger smap snipMateNextOrTrigger But it seems to work only after I re-source my vimrc. For example in mutt, I write a new mail, vim opens

Re: Moving away from SourceForge

2018-02-19 Thread Niels Kobschaetzki
> On 16. Feb 2018, at 20:17, Christian J. Robinson wrote: > >> On Fri, 16 Feb 2018, Bram Moolenaar wrote: >> >> The recent (and ongoing) outage of the Vim website on SourceForge shows >> again that this is not a good place to host Vim. > > [...] > >> If you have positive or negative comments

Re: Question about markdown-syntax-recognition

2013-11-13 Thread Niels Kobschaetzki
On Wed, Nov 13, 2013 at 12:32:08PM +0100, Paul Isambert wrote: De: "Niels Kobschätzki" I am taking notes with markdown-syntax and often use nested unorderd lists. For example: - Test1 - Test2 - Test3 - Test4 With the first three lines the "-" gets colored correctly as an unordered

Re: Selecting an IPv4-address?

2013-12-10 Thread Niels Kobschaetzki
On 10/12, Tim Chase wrote: On 2013-12-10 14:13, Niels Kobschätzki wrote: Hi, I have a short question. What is the fastest way to select an IPv4-address like 192.168.1.100 for copy/cut&paste? If you want to get really fancy, you could do something like :nnoremap ip w?\%(\d\{1,3}\.\)\{3}\d\{1

Replacing a string which is in a line and not in the beginning?

2014-01-25 Thread Niels Kobschaetzki
Hi, I have a file that looks like this: - This is a te- st - foo bar And I want to replace all occurrences of "- " when they are not at the beginning of the line. So the above mentioned file should look like: - This is a test - foo bar I tried to find something and it seems that in "normal" reg

Re: Question about surround.vim and visual selection

2014-03-11 Thread Niels Kobschaetzki
On 11/03, KF wrote: On Tuesday, March 11, 2014 2:30:47 PM UTC+8, Niels Kobschätzki wrote: is there a way when using surround.vim with visual selection doesn't add white space? When having: "This is some text" and I select "some" and hit "S(" it becomes: "This is ( some ) text" but I want

Can't install command-t

2014-03-19 Thread Niels Kobschaetzki
Hi, I am trying to install the command-t-plug in on OS X 10.9.2. vim uses the correct ruby-version (2.0.0) since it is built with homebrew and I double-checked. When I do the make, I get the following error: linking shared-object ext.bundle clang: error: unknown argument: '-multiply_definedsup

Re: Can't install command-t

2014-03-19 Thread Niels Kobschaetzki
On 19/03, Niels Kobschaetzki wrote: Hi, I am trying to install the command-t-plug in on OS X 10.9.2. vim uses the correct ruby-version (2.0.0) since it is built with homebrew and I double-checked. When I do the make, I get the following error: linking shared-object ext.bundle clang: error

Problems with vim-repress and markdown

2014-08-29 Thread Niels Kobschaetzki
Hi, I am trying to use vim-repress. When I am writing posts with the type HTML everything works fine. But when I use markdown and want to save a blog post the following error pops up: Error detected while processing : Traceback (most recent call last): File "", line 1, in File "", line 41,

set background=dark not working in vimrc

2014-10-25 Thread Niels Kobschaetzki
Hi, I am using the solarized colorscheme which uses different colors depending on background=light/dark. When I manually do a ":set background=dark", I get the colors as expected. But when I write set background=dark in my .vimrc, vim starts with a light background-setting anyway. Any ideas what

Re: set background=dark not working in vimrc

2014-10-25 Thread Niels Kobschaetzki
On 25/10 10:56, Ethan Hereth wrote: On Saturday, October 25, 2014, Niels Kobschaetzki wrote: Hi, I am using the solarized colorscheme which uses different colors depending on background=light/dark. When I manually do a ":set background=dark", I get the colors as expected. But wh

Pro Vim by Mark McDonnell

2014-12-05 Thread Niels Kobschaetzki
Hi, there is a new book out about vim (and tmux) called Pro Vim (http://www.apress.com/9781484202517). Did anyone have looked thoroughly through the book yet? I can't find any sample chapters and I wonder if the book is worth the money if one already posesses a couple of books on vim (the O'reill

background=dark-curiosity

2015-07-18 Thread Niels Kobschaetzki
Hi, I just noticed something weird in my setup. In my .vimrc I have the following setting: "set background=dark" and I am using the color scheme desert. When I do now in the editor: :set background=light the colors change as expected When I do now a :set background=dark the colors change ag

Re: background=dark-curiosity

2015-07-20 Thread Niels Kobschaetzki
On 19/07 00:09, Nikolay Pavlov wrote: 2015-07-18 16:11 GMT+03:00 Niels Kobschaetzki : Hi, I just noticed something weird in my setup. In my .vimrc I have the following setting: "set background=dark" and I am using the color scheme desert. When I do now in the editor: :set background

How to use :help?

2015-09-13 Thread Niels Kobschaetzki
Hi, I read quite often "just use the help" or recently on the list "don't use google, use :help". But how do I "use" it? When I want to know if something is possible in vim, I never figured out how to search for it because I always got the feeling that I need at least to know what something is ca

Re: How to use :help?

2015-09-14 Thread Niels Kobschaetzki
On 13/09 15:01, Christian Brabandt wrote: Hi Niels! On So, 13 Sep 2015, Niels Kobschaetzki wrote: Hi, I read quite often "just use the help" or recently on the list "don't use google, use :help". But how do I "use" it? When I want to know if something is p

Problem with simple regex

2015-09-14 Thread Niels Kobschaetzki
Hi, I have a problem with a substitution with a simple regex. I want to change occurrences of page numbers and years that are using a hyphen, to an en-dash. Something like "308-309" should become "308--309". My best try so far is: :s/\d-\d/\1--\2 But this creates 30--09. My understanding is tha

Re: Problem with simple regex

2015-09-14 Thread Niels Kobschaetzki
On 14/09 10:52, Niels Kobschaetzki wrote: Hi, I have a problem with a substitution with a simple regex. I want to change occurrences of page numbers and years that are using a hyphen, to an en-dash. Something like "308-309" should become "308--309". My best try so far

Re: Problem with simple regex

2015-09-14 Thread Niels Kobschaetzki
On 14/09 11:04, Christian Brabandt wrote: Hi Niels! On Mo, 14 Sep 2015, Niels Kobschaetzki wrote: Hi, I have a problem with a substitution with a simple regex. I want to change occurrences of page numbers and years that are using a hyphen, to an en-dash. Something like "308-309&qu

Re: (wandering off-topic) Re: How to use :help?

2015-09-16 Thread Niels Kobschaetzki
On 16/09 11:28, Gevisz wrote: On Tue, 15 Sep 2015 12:24:13 -0400 George Dinwiddie wrote: Erik, On 9/13/15 7:31 AM, Erik Christiansen wrote: > The problem isn't unique to Vim, though. Try manpages w.r.t. unix > commands you've never heard of. The command 'apropos' is your friend. :-) Just

Re: vim and touch typing

2015-10-06 Thread Niels Kobschaetzki
On 06/10 01:01, Filype Pereira wrote: Hi. I am new to vim. I know most of the motion and command stuff but I just don't use them enough. So, I started reading a vim book and didn't get very far, when I stopped at this line: If you can't touch type, then go learn it and then come back to lea

Re: New to vim - c&p ident problem

2015-12-26 Thread Niels Kobschaetzki
On 15/12/26 04:12, evlute wrote: Hello Folks, i hope all of you had a very nice christmas. Last week i copied and pasted css 3 code and now the text structure look like this: ... ... ... Why copy & paste acts this way? How do i prevent it? And how can i bring the struc

Re: Newbie Setup Advice

2016-02-22 Thread Niels Kobschaetzki
On 16/02/22 14:27, Vee Mur wrote: Hi folks, I am new to vim.I recently installed vim 7.4 on my pc running ubuntu mate,now i've been trying to install several plugins without any success at all. According to all the instructions on the various git reps i have to configure my .vimrc.My question