Re: echo from function that runs in insert mode

2011-07-25 Thread Jane Smith
try using msg_print("your message here") if you want them to be printed in game or note("message here") if they are going to be in an error or something in general look for a string nearby that could be printed where yours would be and steal that code. if you want to be fancy make a global debug v

Re: echo from function that runs in insert mode

2011-07-26 Thread Jane Smith
Ack - sorry I thought you were someone else. Sorry about that. On 25 Jul 2011, at 20:48, AK wrote: > I have a function where I added some debug echo messages but they don't seem > to show up. The function runs in insert mode. The debug messages neither show > up on screen or in :messages listing

Re: how to fold all comments at once?

2011-08-14 Thread Jane Smith
If you put a fold across the whole document, close it then use O (capital 'o') it opens all folds to max depth so should work. ofc there is probably an easier way but thats the way I use. On 14 Aug 2011, at 19:51, Leonardo Barbosa wrote: > > > Hello everyone, > > I've already made a seach. I

Re: Problem with autoclose or vim-latex

2011-11-08 Thread Jane Smith
The <++> are markers from the vim-latex plugin - they are supposed to help you jump around as pressing in normal or insert mode jumps to them, if you find them annoying then you can remove them by using: :let g:Imap_UsePlaceHolders = 0 On 8 Nov 2011, at 03:50, Harold Pimentel wrote: > Hi all, >

Re: How to copy to or paste from clipboard at mac OS X

2011-11-11 Thread Jane Smith
For pasting have you tried :set paste then paste using Cmd-V in insert mode then :set nopaste On 11 Nov 2011, at 18:03, jason.桂林 wrote: > I am using MacVim now, copy paste is a very big trouble for me. > > If I use Cmd+V to paste, the indent and some auto things will make the code > totally ch

Re: How to copy to or paste from clipboard at mac OS X

2011-11-11 Thread Jane Smith
Also try :set nonumber copy what you want to copy using Cmd-c :set number This will remove the line numbers so not so useful if you need to copy - say lines 532-821 - but there may be a way to automate this, however I am no vimscripter so if you want a mapping so that this is done automatically

Re: [vim] Problem with `inoremap jj '

2012-01-29 Thread Jane Smith
On 30 Jan 2012, at 07:18, Benjamin R. Haskell wrote: > On Sun, 29 Jan 2012, Clark J. Wang wrote: > >> On Monday, January 30, 2012 2:24:55 PM UTC+8, Markus Osterhoff wrote: >>> >>> * Clark J. Wang [120130 07:01]: So I wonder if the `jj' mapping can be ignored when doing copy-n-paste and >>