Re: vim rpn calculator

2013-11-25 Thread Boyko Bantchev
On 25 November 2013 00:14, Bee wrote: > > Is there an rpn calculator for vim? I have a web page where a simple RPN calculator is shown implemented in a number of languages, including Vim script -- see http://www.math.bas.bg/bantchev/place and, in particular, http://www.math.bas.bg/ba

Search and stay

2013-11-25 Thread Paolo Bolzoni
Dear list, I often search text in the latex documents to move around. So I press / and Vim shows me the place because I have incsearch active. Can I just stay in the place without pressing enter? I am asking because I also have hlsearch on and while it is normally useful in this particular case is

Re: Search and stay

2013-11-25 Thread Marcin Szamotulski
On 11:51 Mon 25 Nov , Paolo Bolzoni wrote: > Dear list, > I often search text in the latex documents to move around. > So I press / and Vim shows me the > place because I have incsearch active. > > Can I just stay in the place without pressing enter? > I am asking because I also have hlsearch

From function: directing error from external command to window and open files in specific windows of current tab

2013-11-25 Thread BPJ
I need help with the following. I've googled for half an hour but don't seem to be able to formulate the questions correctly. As usual it's probably in the help but I don't know where to look! * How to call an external script from inside a function without affecting anything inside Vim, bu

Re: Search and stay

2013-11-25 Thread Paul Isambert
"Paolo Bolzoni" : > I often search text in the latex documents to move around. > So I press / and Vim shows me the > place because I have incsearch active. > > Can I just stay in the place without pressing enter? > I am asking because I also have hlsearch on and while > it is normally useful in th

improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-11-25 Thread Marc Weber
I've been complaining about Vim related issues for a long time, I think its time to stop complaining and just fix it. Join by providing feedback: http://mawercer.de/vim.php or adding additional issues to be fixed here: http://vim-wiki.mawercer.de/wiki/topic/in-which-way-does-vim-suck.html The id

Tmux like pane resizing in Vim possible?

2013-11-25 Thread hsanson
Resizing windows in vim is similar to resizing panes in tmux: Vim: ctrl-w followed by any of hjkl Tmux: ctrl-b followed by any of hjkl but in tmux if you keep pressed the hjkl keys the panes keeps resizing until you releas them. I like this way of resizing that is faster than: ctrl-w XX

How to imap in gvim in windows 8 for vim 7.4?

2013-11-25 Thread Reckoner
I don't understand why this is not working in GVIM: imap Any help appreciated! I'm running gvim 7.4 on a windows 8 platform. The output of :ver is shown at the end Thanks! --- VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 10 2013 14:38:33) MS-Windows 32-bit GUI version with OLE s

Re: Tmux like pane resizing in Vim possible?

2013-11-25 Thread Christian Brabandt
On Mon, November 25, 2013 14:23, hsan...@gmail.com wrote: > Resizing windows in vim is similar to resizing panes in tmux: > > Vim: ctrl-w followed by any of hjkl > Tmux: ctrl-b followed by any of hjkl > > but in tmux if you keep pressed the hjkl keys the panes keeps resizing > until you releas

Re: How to imap in gvim in windows 8 for vim 7.4?

2013-11-25 Thread Tim Chase
On 2013-11-25 06:40, Reckoner wrote: > I don't understand why this is not working in GVIM: > >imap > > Any help appreciated! Could you clarify what you mean by "is not working"? That works for me, so that when I'm in insert-mode, hitting page-down pops up a list of completion-suggestions

Re: From function: directing error from external command to window and open files in specific windows of current tab

2013-11-25 Thread Ben Fritz
On Monday, November 25, 2013 5:40:15 AM UTC-6, BPJ wrote: > I need help with the following. I've googled for half an hour > > but don't seem to be able to formulate the questions correctly. > > As usual it's probably in the help but I don't know where to look! > > In the future please start t

Re: How to imap in gvim in windows 8 for vim 7.4?

2013-11-25 Thread reckoner
Thanks for your response. When I hit it does not show the completion-suggestions. It does nothing, as far as I can tell. Are you on a Windows machine? On Monday, November 25, 2013 6:58:30 AM, Tim Chase wrote: On 2013-11-25 06:40, Reckoner wrote: I don't understand why this is not working in

Re: How to imap in gvim in windows 8 for vim 7.4?

2013-11-25 Thread Tim Chase
On 2013-11-25 07:53, reckoner wrote: > Thanks for your response. When I hit it does not show > the completion-suggestions. It does nothing, as far as I can tell. I've tried both on Win32 and on Linux with the same (correc) behavior on both. Do you have an actual match it can find? My test was a

Re: From function: directing error from external command to window and open files in specific windows of current tab

2013-11-25 Thread BPJ
2013-11-25 16:49, Ben Fritz skrev: On Monday, November 25, 2013 5:40:15 AM UTC-6, BPJ wrote: I need help with the following. I've googled for half an hour but don't seem to be able to formulate the questions correctly. As usual it's probably in the help but I don't know where to look! In t

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-11-25 Thread Nikolay Pavlov
On Nov 25, 2013 5:24 PM, "Marc Weber" wrote: > > I've been complaining about Vim related issues for a long time, > I think its time to stop complaining and just fix it. > > Join by providing feedback: > http://mawercer.de/vim.php > > or adding additional issues to be fixed here: > http://vim-wiki.

Re: How to imap in gvim in windows 8 for vim 7.4?

2013-11-25 Thread reckoner
On Monday, November 25, 2013 7:59:10 AM, Tim Chase wrote: On 2013-11-25 07:53, reckoner wrote: Thanks for your response. When I hit it does not show the completion-suggestions. It does nothing, as far as I can tell. I've tried both on Win32 and on Linux with the same (correc) behavior on bo

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-11-25 Thread Marc Weber
> Making some interpreter standard not only risks slowing user down, but also > makes it close to impossible to use other people's vim. Well - that's already the case - and I don't care. People remap :; in normal mode only (to reduce stress) and the like. But starting up Vim is fast, adding condit

Re: From function: directing error from external command to window and open files in specific windows of current tab

2013-11-25 Thread Ben Fritz
On Monday, November 25, 2013 10:35:54 AM UTC-6, BPJ wrote: > 2013-11-25 16:49, Ben Fritz skrev: > >> > >> * How to call an external script from inside a function > >> without > > > > The system() function will return (as a string) the output of > > an external command without modifying any te

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-11-25 Thread Nikolay Pavlov
On Nov 25, 2013 9:23 PM, "Marc Weber" wrote: > > > Making some interpreter standard not only risks slowing user down, but also > > makes it close to impossible to use other people's vim. > Well - that's already the case - and I don't care. People remap :; in > normal mode only (to reduce stress) a

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-11-25 Thread Marc Weber
Excerpts from Nikolay Pavlov's message of Mon Nov 25 18:55:56 +0100 2013: > I do if there is and *may be no* python? Not all interpreters work on the > same OS+arch combination vim does. Then there will be no support - why bother? Then Vim will be "an editor only" on those platforms. But honestly I

Re: Completion support for known language tokens

2013-11-25 Thread Benji Fisher
On Sat, Nov 23, 2013 at 5:53 AM, Nikolay Pavlov wrote: > > > It can. :imap decides. There are also plugins which automatically > choose completion method based on the input already present before the > cursor and ones that start completion menu automatically once specific key > (e.g. colon) is ty

Re: How to search for alternatives in :tag /pattern ?

2013-11-25 Thread Benji Fisher
On Sun, Nov 24, 2013 at 8:31 AM, Micha Moskovic wrote: > > Hi, > > I have the following problem. > I am editting a file for which a ctags file has been generated. This > file contains two tags, "tag1" and "tag2". With ":tag tag1" and ":tag > tag2", I can jump to "tag1" and "tag2" respectively. No

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-11-25 Thread Nikolay Pavlov
On Nov 25, 2013 10:20 PM, "Marc Weber" wrote: > > Excerpts from Nikolay Pavlov's message of Mon Nov 25 18:55:56 +0100 2013: > > I do if there is and *may be no* python? Not all interpreters work on the > > same OS+arch combination vim does. > Then there will be no support - why bother? > Then Vim

Re: vim rpn calculator

2013-11-25 Thread Salman Halim
On Mon, Nov 25, 2013 at 4:15 AM, Boyko Bantchev wrote: > On 25 November 2013 00:14, Bee wrote: > > > > Is there an rpn calculator for vim? > This seemed like a good idea, so I created one and uploaded it: http://vim.sourceforge.net/scripts/script.php?script_id=4781 Vim script only; must h

Re: How to search for alternatives in :tag /pattern ?

2013-11-25 Thread Gary Johnson
On 2013-11-25, Benji Fisher wrote: > On Sun, Nov 24, 2013 at 8:31 AM, Micha Moskovic wrote: > > > Hi, > > I have the following problem. > I am editting a file for which a ctags file has been generated. This > file contains two tags, "tag1" and "tag2". With ":tag tag1" and ":tag >

Re: How to search for alternatives in :tag /pattern ?

2013-11-25 Thread Micha Moskovic
On lun., 2013-11-25 at 11:35 -0800, Gary Johnson wrote: > On 2013-11-25, Benji Fisher wrote: > > On Sun, Nov 24, 2013 at 8:31 AM, Micha Moskovic wrote: > > > > > > Hi, > > > > I have the following problem. > > I am editting a file for which a ctags file has been generated. This > >

Re: vim rpn calculator

2013-11-25 Thread Bee
Thank you Gary, that is very clever and works great. I have commented and add setting precision best viewed in a monospaced font. Please let me know if I commented correctly. imap ,= I2k 0y$!!dcI = 0PA " ' | |||+append result to eol " ' |

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-11-25 Thread Paolo Bolzoni
On Mon, Nov 25, 2013 at 5:51 PM, Nikolay Pavlov wrote: > On Nov 25, 2013 5:24 PM, "Marc Weber" wrote: > I would consider D in first place. Not that I actually worked with it, but I > have read lots of articles convincing me that it is way better then C++. I used D for a project and I quickly wen

Re: vim rpn calculator

2013-11-25 Thread Gary Johnson
On 2013-11-25, Bee wrote: > Thank you Gary, that is very clever and works great. > > I have commented and add setting precision > best viewed in a monospaced font. > Please let me know if I commented correctly. > > imap ,= I2k 0y$!!dcI = 0PA > " ' | |||+append r

Spellchecker doesn't work in all latex files

2013-11-25 Thread Somelauw .
I'm using latex and I have the problem that spellcheck works for main.tex, but doesn't work for section1.tex, which is included by main.tex. I'm not sure but I think the problem is that the spellchecker only works between \begin{document} and \end{document}. This wouldn't be problematic if I have

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-11-25 Thread Marc Weber
Excerpts from Paolo Bolzoni's message of Mon Nov 25 23:12:49 +0100 2013: > On Mon, Nov 25, 2013 at 5:51 PM, Nikolay Pavlov wrote: > > On Nov 25, 2013 5:24 PM, "Marc Weber" wrote: > > I would consider D in first place. Not that I actually worked with it, but I > > have read lots of articles convin

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-11-25 Thread Marc Weber
Excerpts from Nikolay Pavlov's message of Mon Nov 25 19:46:51 +0100 2013: > Do not know about mzscheme (racket), but if_py does not actually support > threading: it is cpython that supports it: The problem is that Vim does not expect called by Vim unless its VimL calling into Vim or such. Python do

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?

2013-11-25 Thread Nikolay Pavlov
On Nov 26, 2013 6:14 AM, "Marc Weber" wrote: > > Excerpts from Nikolay Pavlov's message of Mon Nov 25 19:46:51 +0100 2013: > > Do not know about mzscheme (racket), but if_py does not actually support > > threading: it is cpython that supports it: > The problem is that Vim does not expect called by

Text Editing on an Infinite Plane (A Project)

2013-11-25 Thread Liang Li
Hey guys! Here is a project I've been working on that's nearing completing. Check out the demo at: http://www.youtube.com/watch?v=_c_het11TBo It tries to provide a new paradigm for writing massive amounts of prose by simulating an infinite plane via "panning" splits. Tell me what you think!