Re: Emulate a typewriter

2014-01-30 Thread Liang Li
Hey Andy, Your script is awesome! The way that you capitalized on vim's handling of ambiguous mappings to slow down the input loop is pretty awesome. Coolest peice of vimscript I've ever seen. Don't let it get to your head ;-) - Leon On Friday, May 22, 2009 8:40:20 AM UTC-4, Andy Wokula

Escaping for system()

2014-01-30 Thread Andrew Stewart
Hello! I have a plugin which uses `system(command, input)` to run some external commands. There seem to be a few escaping problems (mostly on Windows). So I did some research and wrote it all up here: https://github.com/airblade/vim-system-escape In a nutshell I'd like to write a VimL

Re: Escaping for system()

2014-01-30 Thread tyru
Hi. Passing arguments to programs on Windows is difficult at several points, especially when you pass multiple arguments or *special character* at many many sides... Vim side: on Windows, when 'shellslash' option is set, shellescape() returns a string wrapped by single quotes which cmd.exe

Re: Escaping for system()

2014-01-30 Thread tyru
2014/01/31 2:34 tyru tyru@gmail.com: Hi. Passing arguments to programs on Windows is difficult at several points, especially when you pass multiple arguments or *special character* at many many sides... Vim side: on Windows, when 'shellslash' option is set, shellescape() returns a

Re: Escaping for system()

2014-01-30 Thread Ben Fritz
On Thursday, January 30, 2014 9:22:15 AM UTC-6, Andrew Stewart wrote: Hello! I have a plugin which uses `system(command, input)` to run some external commands. There seem to be a few escaping problems (mostly on Windows). So I did some research and wrote it all up here:

Re: Avoid switching files with ctrl-o

2014-01-30 Thread Paul
On Wednesday, January 29, 2014 3:28:15 AM UTC-5, Martin Lundberg wrote: On Wednesday, January 29, 2014 5:13:54 AM UTC+1, Paul wrote: I think I'm missing something. I have it stored as c:/Users/USERNAME/Documents/vimfiles/plugin/filejump.vim, and I've since restarted gvim. It's still switching

Re: Difference in Arrow keys: in buffer window vs in command window; and normal mode vs spell completion

2014-01-30 Thread Suresh Govindachar
On 1/30/2014 8:07 PM, Ben Fritz wrote: On Thursday, January 30, 2014 9:24:25 PM UTC-6, Suresh Govindachar wrote: Windows 7, 64 bit; vim 7.4 Big version without GUI built by mool@tororo I have found that the arrow keys work differently depending on where/when they are used: 1) Conemu,

Re: Difference in Arrow keys: in buffer window vs in command window; and normal mode vs spell completion

2014-01-30 Thread Suresh Govindachar
Oops! Have to correct items (1, and 2) of the original post: On Thursday, January 30, 2014 9:24:25 PM UTC-6, Suresh Govindachar wrote: Windows 7, 64 bit; vim 7.4 Big version without GUI built by mool@tororo I have found that the arrow keys work differently depending on where/when they