Re: Does anyone want the macvim.org domain?

2016-08-05 Thread Niklas Lindström
On Fri, Aug 5, 2016 at 1:45 PM, Janusz Bossy wrote: > On Fri, Aug 5, 2016, at 13:32, Frank Hellenkamp wrote: > > > My proposal: > > > > > > The macvim-dev on github already has a gh-pages branch so it should > work with github pages just fine. > > > > I would second that. > > This makes a lot mor

Re: vim (MacVim) locked up

2015-07-17 Thread Niklas Lindström
Hi Eric, On Fri, Jul 17, 2015 at 3:06 PM, Eric Weir wrote: > For the first time ever, vim has locked up on me. It seems my only option > is to quit without saving. > > Is there anyway I can get to the unsaved buffers to save them outside vim? > Usually, if Vim crashes, it'll leave swap files be

Re: Ide-like improvements

2015-05-27 Thread Niklas Lindström
On Wed, May 27, 2015 at 4:17 PM, Dodo wrote: > I must apolagize with vim and with you all: I didn't know about the ":e ." > option! > > This works great as well!!! > Perhaps I'm gonna discover that vim can even predict the future! ;-) > It can: :later 8h For some reason, arriving at work a

Re: feature request

2014-04-22 Thread Niklas Lindström
> > > On 22 April 2014 21:47, Niklas Lindström wrote: > >> >> On Tue, Apr 22, 2014 at 3:30 PM, peiman khosravi < >> peimankhosr...@gmail.com> wrote: >> >>> I am only missing one thing in macvim. You can drag and drop a >>> file/folder in

Re: feature request

2014-04-22 Thread Niklas Lindström
On Tue, Apr 22, 2014 at 3:30 PM, peiman khosravi wrote: > I am only missing one thing in macvim. You can drag and drop a file/folder > into the OS X terminal and its full path will be pasted at the curser. Is > it possible to implement this in macvim? > Hi Peiman, Currently, MacVim handles drag

Re: Highlight non ascii characters

2014-01-26 Thread Niklas Lindström
Hello, On Sat, Jan 25, 2014 at 11:11 PM, Peter Nguyen wrote: > Den lördagen den 25:e januari 2014 kl. 22:37:22 UTC+1 skrev Niklas > Lindström: > > Hi Peter, > > > > On Sat, Jan 25, 2014 at 5:13 AM, Peter Nguyen > wrote: > > > > Hi, > > > > I ha

Re: Highlight non ascii characters

2014-01-25 Thread Niklas Lindström
Hi Peter, On Sat, Jan 25, 2014 at 5:13 AM, Peter Nguyen wrote: > Hi, > > I have a twig (PHP HTML template) file with several non ascii characters > at different places. I can do a search with: > > /[\x7f-\xff]/ > > and it will match them. But when I try to add these commands to my .vimrc > file f

Re: I made the Sidebar disappear

2013-12-18 Thread Niklas Lindström
Hi Torsten, The MacVim-with-file-browser is a fork of MacVim [1], so you had probably installed it manually before, or using e.g. [2]. Cheers, Niklas [1]: https://github.com/alloy/macvim/wiki [2]: https://github.com/joelcogen/homebrew-macvimsplitbrowser On Tue, Dec 17, 2013 at 4:28 PM, Torste

Re: slime/lisp and vim

2013-09-30 Thread Niklas Lindström
Hello, It seems :python is not available in your version of Vim. Do you know which version you have installed? AFAIK, both the default /usr/bin/vim that comes with OS X and MacVim.app have Python compiled in by default. Cheers, Niklas On Thu, Sep 19, 2013 at 1:46 AM, jml wrote: > Hi there,

Re: Hot to add a syntax-file for AppleScript to MacVim?

2011-12-21 Thread Niklas Lindström
Hi Vlad, On Tue, Dec 20, 2011 at 7:05 AM, MacVlad wrote: > Hello again, Zhao Cai! > > > 1.- I don't quite understand what do you mean with ":set ft=???", it > get's me an error (E474: Invalid argument: ft=???) in MacVim. He meant the usage pattern of setting the 'filetype' option with the :set c

Re: Add opposite direction tabbing.

2011-11-10 Thread Niklas Lindström
Hi! On Thu, Nov 10, 2011 at 1:55 AM, Douglas Drumond wrote: > >> Problem: You can tab in both directions which makes tabbing almost >> useless. >> >> Solution: >> 1. Right now in vim pushing g t will result in tabbing to the right. >> Add key bindings so pushing t g will then tab you to the left.

Re: Plugin Help

2011-08-21 Thread Niklas Lindström
Hi! On Sun, Aug 21, 2011 at 9:10 AM, silverskymedia wrote: > I have seen many tutorials and posts about how to install plugins for > macvim, but I am confused. They all talk about a ~/.vim/plugin > directory. The issue is, that directory doesn't exist for me. Do I > create it, or what do I do? Th

Re: Changing elements of a color scheme

2011-07-15 Thread Niklas Lindström
Hi, On Sat, Jul 9, 2011 at 6:48 PM, Eric Weir wrote: > > On Jul 9, 2011, at 3:47 AM, Tony Mechelynck wrote: > >> 1) If the colorscheme you've come to love is one distributed with Vim (and >> found in $VIMRUNTIME/colors/) then don't modify it in-place. The way to >> modify such a scheme for your

Re: Changing elements of a color scheme

2011-07-07 Thread Niklas Lindström
Hi! On Thu, Jul 7, 2011 at 7:48 PM, David Patrick Henderson wrote: > On 07 Jul 2011, at 10:40, Eric Weir wrote: > >> I've coped the scheme from the runtime folder to ~/.vim/colors. I don't want >> to change the copy in the runtime folder. How do I get the copy in >> ~/.vim/colors to control? >

Re: Feature request - Paste from Mac OS clipboard in replace mode

2010-11-09 Thread Niklas Lindström
On Tue, Nov 9, 2010 at 5:29 PM, DanM wrote: > >> I suppose you use to paste from the clipboard here? Try using >> the register * instead (:help "*). With registers, you can yank and >> paste using regular Vim behavior. Specifically in insert and replace >> mode, use * (:help i_CTRL-R). I hope tha

Re: Feature request - Paste from Mac OS clipboard in replace mode

2010-11-08 Thread Niklas Lindström
Hi Dan, On Mon, Nov 8, 2010 at 4:01 PM, DanM wrote: > Hi, > > When pasting text from the Mac OS clipboard, it seems like MacVim > always go into insert mode. > Would it be possible, if already in replace mode, to remain in replace > mode while pasting the text? I suppose you use to paste from t

Re: Color file?

2010-04-19 Thread Niklas Lindström
Hi, On Mon, Apr 19, 2010 at 1:54 PM, LuKreme wrote: >> >> Maybe ~/.vim/colors? > > Is there somewhere the structure of the ~/.vim/ directory is explained (what > folders it can contain and what goes in each one)? yes: :help vimfiles ;) Best regards, Niklas -- You received this message fro

Re: [PATCH] Set up the title of main menu with boldface

2010-02-20 Thread Niklas Lindström
Hi, On Thu, Feb 18, 2010 at 5:19 PM, björn wrote: > Hmmm...it should still work on Leopard.  Does anybody else have > non-bold "MacVim" menu title on Leopard? I've had non-bold MacVim in the menu for quite some time (but haven't really thought about it until now). I'm running Leopard 10.5.8. I

Re: mac-like arrow key navigation?

2009-11-28 Thread Niklas Lindström
Hi, > btw these start/end of line emacs style keys are indispensable, it > would just be great if they worked on the vi command mode as well as > in the editor. hitting :e and editing a path, theres no easy way to > just edit the command In command mode, you can move using (start of command) and

Re: Syntax highlighting for apache-config

2009-11-19 Thread Niklas Lindström
Hi, On Thu, Nov 19, 2009 at 5:42 PM, björn wrote: > > 2009/11/19 saspijkerman: >> I often edit apache configuration files on the mac. Syntax >> Highlighting never 'auto-starts'. I found out why: >> >> In the following file are the filename-checks for syntax modus: >> >> /Applications/MacVim.app/

Re: Line break while modifying an existed file

2009-10-13 Thread Niklas Lindström
Hi! On Tue, Oct 13, 2009 at 5:57 AM, wenjia wrote: [...] > However, when I MODIFY a file by inserting words in a line, it never > breaks even though the length is over 75. (On the screen the cursor > moves to the "next line on scree", but as in a file the cursor is > still in the original line).

Re: compiling macvim

2009-09-29 Thread Niklas Lindström
Hi! Python 3 is a different beast than 2.x, in that it is somewhat backwards incompatible syntax-wise. "print" in Python 3 is no longer a special statement but a function. Thus, line 16, 19 and 29 in must be changed to: print('In file: ' + input) print(' Out data fork: ' + out_data)

Re: Naming window tabs

2009-07-09 Thread Niklas Lindström
Hi, On Thu, Jul 9, 2009 at 2:22 PM, björn wrote: > > 2009/7/9 Mariusz Nowak: >> >> It'll be nice to be able to give custom names to window tabs. Has >> anybody thought of such option ? >> >> In each tab I have few files open. Each tab is for different task >> really, then when there are many tabs

Re: TwitVim Problem

2009-07-02 Thread Niklas Lindström
Hi Nico, just a side question.. On Thu, Jul 2, 2009 at 7:17 AM, Nico Weber wrote: > [...] > Can you send the output of `:messages`? Does TwitVim require python2.5 > by chance? MacVim supports only python 2.4 at the moment. My build of MacVim (--enable-pythoninterp) uses Python 2.5 on OS X 10.5:

Re: Change next/previous tab shortcuts?

2009-06-25 Thread Niklas Lindström
On Thu, Jun 25, 2009 at 1:24 PM, björn wrote: > > 2009/6/25 yann: >> >> In the mising shortcut department, I'd love to be able to go directly >> to a specific tab by using cmd-1 to cmd-9 for the first 9 tabs. I >> searched the doc but didn't find a command I could bind to, in order >> to achieve t

Re: Shouldn't it be associated with plist files too?

2009-04-01 Thread Niklas Lindström
I've used this on occasion, seems to work fine: http://www.vim.org/scripts/script.php?script_id=1590 Best regards, Niklas On Wed, Apr 1, 2009 at 4:19 PM, Nico Weber wrote: > >> I right-clicked on an Info.plist file today, and I was surprised to >> see >> that MacVim was not listed in the

Re: Drawing speed

2009-03-23 Thread Niklas Lindström
Hi, While I don't know if this speeds up rendering at all, I've found that having this in my .[g]vimrc:: " Only use cursor line in active window set cursorline autocmd WinEnter * set cursorline autocmd WinLeave * set nocursorline has generally felt more usable than always having

Re: Idea: raiseTerminal action

2009-02-04 Thread Niklas Lindström
Oh, certainly. If you mean "!open -a " as better than e.g. ":maca raiseTerminal:" + config option? I was more thinking of whether there are common cases of invoking MacVim for one-offs, where providing a generic method of switching back to the previous app would be useful (well, preferably the in

Re: Idea: raiseTerminal action

2009-02-04 Thread Niklas Lindström
Hi! Personally I work like that very rarely (although with a switch like this I'd consider practicing it a bit more). I wonder if a macaction for Command-Tab might do? Say :maca switchApp:? Manual version: !osascript -e 'tell application "System Events"' -e 'keystroke tab using command dow

Re: On 16x16 document icons

2009-02-01 Thread Niklas Lindström
On Mon, Feb 2, 2009 at 5:14 AM, Nico Weber wrote: > I misunderstood Damien: he does not want Envy Code R Bold to be in our > repository (but he might allow us to add a font he's currently working > on, once he's done – even more awesome!). In the meantime, the > attached version of the patch simp

Re: On 16x16 document icons

2009-01-25 Thread Niklas Lindström
I certainly agree. Both 3 and 4 look really nice; especially using colors. Perhaps the larger icons would benefit from different colors per language as well? Best regards, Niklas On Sun, Jan 25, 2009 at 11:45 AM, Panos wrote: > > Choice 4 looks great. Assigning colors to filetype is really easy

Re: "Go to file" quickly

2008-12-18 Thread Niklas Lindström
Hi! Here are some of my (general Vim) tips regarding buffer/file navigation/discovery. I regularly populate the buffer list over time (see also :ls, :bd), and :mksession to save my working sessions (often a huge pile of splits and tabs). To jump to buffers, I then use the very powerful :sb comma

Re: open and convert binary plist to text?

2008-11-25 Thread Niklas Lindström
Hi, I haven't used this extensively, but it seems to work fine (and works in a fashion similar to the advice you've given in this thread): http://www.vim.org/scripts/script.php?script_id=1590 Best regards, Niklas On Tue, Nov 25, 2008 at 2:16 AM, Ben Schmidt <[EMAIL PROTECTED]> wrote: > >

Re: Problems with system() and "launch in login shell"

2008-11-17 Thread Niklas Lindström
On Mon, Nov 17, 2008 at 7:51 PM, björn <[EMAIL PROTECTED]> wrote: > > 2008/11/17 Ben Schmidt <[EMAIL PROTECTED]>: > > Thanks for the quick patch Ben. Niklas, can you confirm that this > patch fixes the problem you are seeing? (I can't reproduce it on my > machine.) > > Björn Agree; thanks Ben!

Problems with system() and "launch in login shell"

2008-11-17 Thread Niklas Lindström
Hi! I just updated to the latest trunk and built a new MacVim from source (as I always do). Now the system() function doesn't work properly when using "Launch Vim processes in a login shell". If this option is activated, system commands that really do work, e.g.: :echo system("ls") Outputs: