Text editors (was: vim newbie... something like emacs frames?)

2009-03-04 Thread Teemu Likonen
On 2009-03-04 18:41 (-0800), Michael Mossey wrote: > I do think that Vim's modal editing looks vastly superior to Emacs... > now if I can only find a Vim-mode for Emacs! Probably exists out that > somewhere. Emacs has viper-mode which makes it a Vi editor. Then there is Vimpulse[1] which works o

Re: Vi editor for answering emails?

2009-03-04 Thread James Freer
> I see, thanks. Any time you find yourself turned off by a KDE app, I'd > love to hear about it so that an issue could be filed. Thanks! > > -- > Dotan Cohen I'm not sure i follow you. I use ubuntu 8.04LTS at present. I started with ubuntu a couple of years ago, looked at Suse, Fedora and Mepis.

Re: Is there a smarter way to get into my function?

2009-03-04 Thread Maxim Kim
On 5 мар, 05:57, Tony Mechelynck wrote: > On 04/03/09 20:30, Maxim Kim wrote: > >> map ,ff :call Hello(v:count) > > > function! Hello(count) > >    "do smth useable here a:count > >    echo a:count > > endfunction > > command! -count Hello call Hello(v:count) > > map ,ff :Hello > Without this

Re: vim equivalent to emacs orgmode ( To Do etc)

2009-03-04 Thread DaveLG526
On Mar 4, 2:13 am, Teemu Likonen wrote: > On 2009-03-04 00:13 (-0800), DaveLG526 wrote: > > > Does anyone know if there is an equivalent program for vim like the > > emacs org (http://orgmode.org/)? > > There is VimOutliner and TVO (The Vim Outliner) which do the outliner > subset of org-mode.

Re: Is it possible to "expand" Character classes?

2009-03-04 Thread Agathoklis D. Hatzimanikas
Hi Sean, On Wed, Mar 04, at 04:09 Sean wrote: > > Hi, > > Assuming I have > let valid_char = "[a-z]" > > Now, I want to get the list of all valid characters from above > definition: > let expand_result = "abcdefghijklmnopqrstuvwxyz" > > Is it possible to do something like (pseudo code): > let

Re: Is there a smarter way to get into my function?

2009-03-04 Thread Tony Mechelynck
On 04/03/09 20:30, Maxim Kim wrote: > > > On 4 мар, 22:00, Charles Campbell wrote: >> I've taken a little liberty with the Hello command itself, but perhaps >> you can modify this further to suit you: >> >> command! -count=1 Hello call Hello() >> map ,ff :call Hello(v:count) > > Thanks! > v:count

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Michael Mossey
On Mar 4, 5:06 pm, "John Beckett" wrote: > Michael Mossey wrote: > > - and I want them conceptually the same as Vim windows > > I don't know what an emacs frame is either, but the short answer is no - > Vim has buffers, windows and tabs. Most of us work out some method we > find convenient to s

Re: How to find an annoying beep

2009-03-04 Thread Charles E. Campbell, Jr.
David Fishburn wrote: > > On May 29 2008, 10:41 am, Andy Wokula wrote: > >> Charles E Campbell Jr schrieb: >> >> >>> Hello! >>> >>> I'm working on some plugins, and recently one has started issuing >>> beeps. I'm not sure why; there's no message attached, and its been >>> eludi

Re: How to find an annoying beep

2009-03-04 Thread Tony Mechelynck
On 04/03/09 03:30, David Fishburn wrote: > > > On May 29 2008, 10:41 am, Andy Wokula wrote: >> Charles E Campbell Jr schrieb: >> >>> Hello! >>> I'm working on some plugins, and recently one has started issuing >>> beeps. I'm not sure why; there's no message attached, and its been >>> eluding my

Re: About Shift+Space

2009-03-04 Thread Wu Bingzheng
> What happens if you type Ctrl-v (Ctrl-q if you're using mswin.vim) and > then Shift-Space in command-line mode (pressing : ) or insert mode? > > On my Vim, it prints : > >     On my Vim, it just shows a 'space', when I press Space of Shift-Space, (I think I did the right operation becaust it p

RE: vim newbie... something like emacs frames?

2009-03-04 Thread John Beckett
Michael Mossey wrote: > - and I want them conceptually the same as Vim windows I don't know what an emacs frame is either, but the short answer is no - Vim has buffers, windows and tabs. Most of us work out some method we find convenient to switch between buffers (with ':set hidden' so they don't

RE: How does one change the display font in gvim?

2009-03-04 Thread John Beckett
Benct Philip Jonsson wrote: > How does one change the display font in gvim? You have the answer, but putting "font" in the search box at vim.wikia.com is useful. John --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more informati

SCP GVIM Vista Issues

2009-03-04 Thread Schmidty
Hi, I am using the GVIM 7 on Vista and am having problems with the SCP feature. It keeps giving me an error repsonse. I had it working fine for a long time and then one day - BOOM, it stopped working properly! I can't edit remote files now through SSH and have to resort to going back to VIM on th

NERDTree - mappings not responding

2009-03-04 Thread Buckley, Bryan (GE EntSol, Intelligent Platforms)
I have Vim 7.1 and NERDTree 3.1.0. I have just started using vim and NERDTree looks like a nice plugin. Following the directions I am able to start NERDTree at / with: :NERDTree / But from there, any mapping i try to use doesnt seem to do anything. If I highlight a file/dir, hit 'o' nothin

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Michael Mossey
The goal is to meet the following requirements: - entire screen space can be used for editing files, so that there is room to put files side-by-side, or top-and-bottom, or any combination - now if this were met by creating a Vim window as large as the screen, it would cover everything else - s

Is it possible to "expand" Character classes?

2009-03-04 Thread Sean
Hi, Assuming I have let valid_char = "[a-z]" Now, I want to get the list of all valid characters from above definition: let expand_result = "abcdefghijklmnopqrstuvwxyz" Is it possible to do something like (pseudo code): let expand_result = expand(valid_char) Thanks Sean --~--~-~--~-

Re: keymaps, , set guioptions-=m

2009-03-04 Thread Tony Mechelynck
On 03/03/09 19:14, Kenneth R. Beesley wrote: >> What is your 'winaltkeys' setting? > > I'm using MacVim (gvim) on OS X 10.5.6. If I enter > > :verbose set wak? > > I get a message saying "E519: Option not supported: wak?". > > Thanks, > > Ken oops, I didn't reread your post attentively enough: y

Re: keymaps, , set guioptions-=m

2009-03-04 Thread Tony Mechelynck
On 03/03/09 19:14, Kenneth R. Beesley wrote: >> What is your 'winaltkeys' setting? > > I'm using MacVim (gvim) on OS X 10.5.6. If I enter > > :verbose set wak? > > I get a message saying "E519: Option not supported: wak?". > > Thanks, > > Ken Please bottom-post next time. This means you have a

Re: Is there a way to call nmake when :make in windows?

2009-03-04 Thread ViX
Thanks Guys. These are helpful! Best, V --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: Scripting languages

2009-03-04 Thread Ben Fritz
My experience with Lisp is actually just with Scheme...but I can truthfully say it was one of my favorite languages to code in. I don't know why, and I can't point to anything specific, but I find the code very clean in a way. I probably couldn't write "hello world" now because it's been a long ti

Re: Vi editor for answering emails?

2009-03-04 Thread Dotan Cohen
> I have used Claws, Kmail and TB. All three have a pleasant enough > interface... perhaps Claws my preferred. I can't remember now if Kmail > could have an external editor. Claws seem to handle imap folders > differently to TB which i wasn't so keen on. > > TB is my preferred simply because of th

Re: Is there a smarter way to get into my function?

2009-03-04 Thread Maxim Kim
On 4 мар, 22:00, Charles Campbell wrote: > I've taken a little liberty with the Hello command itself, but perhaps > you can modify this further to suit you: > > command! -count=1 Hello call Hello() > map ,ff :call Hello(v:count) Thanks! v:count is just what I have been looking for. function!

Re: Is there a way to call nmake when :make in windows?

2009-03-04 Thread Charles Campbell
ViX wrote: > I guess the default action for :make is calling make in the system > path. So if I have only vc install in windows instead of gcc, is that > a way to change the default action of :make to call nmake? I thought > of a way that copy an nmake as make in the path, but there might be > con

Re: Scripting languages

2009-03-04 Thread Teemu Likonen
Oh, I had forgotten half-written mail to my drafts folder. My answer is coming a little late. On 2009-02-16 12:54 (+0800), pansz wrote: > Teemu Likonen 写道: >> But if we are more practical, Lisp is more powerful and elegant for >> interactive programmable environments. One reason are exactly the

Re: How does one change the display font in gvim?

2009-03-04 Thread Charles Campbell
Tim Chase wrote: >> How does one change the display font in gvim? >> > > :set guifont=* > > Once you have a setting you like, you can snapshot it by finding > its value: > >:set guifont? > > and then putting a corresponding line in your vimrc > >set guifont=Lucida_Console:h11:b:cANSI

Re: Vi editor for answering emails?

2009-03-04 Thread Gary Johnson
On 2009-03-03, Raúl Núñez de Arenas Coronado wrote: > Saluton Tom :) > > On Tue 3 Mar 2009 16:26 +0100, Tom dixit: > >> so setting the filetype based upon the extension is not possible. > > > > It uses the host name and some mangeled id for the file name though. > > So you should be able to matc

Re: Is there a smarter way to get into my function?

2009-03-04 Thread Charles Campbell
Maxim Kim wrote: > Hi, > > In the following example gives me 0 or current linenumber > +number that I prepend ,ff (3,ff gives me lnum+3). Is it possible to > have exactly what was prepended to a command? > > function! Hello(count) > if a:count < 0 > let cnt = 0 > else > let cnt = a:co

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Ben Fritz
On Mar 4, 11:56 am, Michael Mossey wrote: > Yes, based on reading the docs for client/server, it has nothing to do > with what I'm asking for. It appears Vim just can't do this. > > I'll use the term "widget" to mean an OS window, and "window" to refer > to Vim windows. > > Vim's windows allow

Re: Vi editor for answering emails?

2009-03-04 Thread James Freer
2009/3/4 Dotan Cohen : >> I did look at Claws and Kmail >> but i don't think they areas good as TB. >> > > If we're not far enough OT already, then I'll ask what did you find > lacking in Kmail? I will soon be making the move back to Kmail from > Thunderbird and I'd like to know what you found dis

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Michael Mossey
Yes, based on reading the docs for client/server, it has nothing to do with what I'm asking for. It appears Vim just can't do this. I'll use the term "widget" to mean an OS window, and "window" to refer to Vim windows. Vim's windows allow you to see multiple files simultaneously. Conceptually th

Re: Vi editor for answering emails?

2009-03-04 Thread Dotan Cohen
> I did look at Claws and Kmail > but i don't think they areas good as TB. > If we're not far enough OT already, then I'll ask what did you find lacking in Kmail? I will soon be making the move back to Kmail from Thunderbird and I'd like to know what you found disappointing. I'll even file a bug o

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Raúl Núñez de Arenas Coronado
Saluton Bertrand :) On Wed 4 Mar 2009 17:22 +0100, Bertrand Janin dixit: > Raúl Núñez de Arenas Coronado wrote : >> I wrote an application using DBus so only one process is opened at any >> given time and new client windows are launched from that process if a >> new instance is run (instead of h

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Bertrand Janin
Raúl Núñez de Arenas Coronado wrote : > I wrote an application using DBus so only one process is opened at any > given time and new client windows are launched from that process if a > new instance is run (instead of having multiple processes, one per > window). I assumed that Vim worked more or l

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Raúl Núñez de Arenas Coronado
Saluton Bertrand :) On Wed 4 Mar 2009 17:10 +0100, Bertrand Janin dixit: > Raúl Núñez de Arenas Coronado wrote : >> That leaves us with another approach: using real windows in the GUI. >> You have to use the "server" feature of Vim (see ":help >> clientserver"). > > I'm reading 'clientserver' an

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Bertrand Janin
Hey Raúl (and all), Raúl Núñez de Arenas Coronado wrote : > That leaves us with another approach: using real windows in the GUI. You > have to use the "server" feature of Vim (see ":help clientserver"). I'm reading 'clientserver' and I can't see how this feature could be used to have multiple wi

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Raúl Núñez de Arenas Coronado
Saluton Michael :) On Wed 4 Mar 2009 16:25 +0100, Michael Mossey dixit: >> > Hello, I'm just starting to look at vim, and I'm wondering if it has a >> > feature equivalent to emacs "frame"... that is, several separate OS >> > windows that are really linked and all part of the same vim process. >

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Michael Mossey
Thanks for the reply. On Mar 4, 7:16 am, Raúl Núñez de Arenas Coronado wrote: > Saluton Michael :) > > On Wed 4 Mar 2009 16:02 +0100, Michael Mossey dixit: > > > Hello, I'm just starting to look at vim, and I'm wondering if it has a > > feature equivalent to emacs "frame"... that is, several se

Re: vim newbie... something like emacs frames?

2009-03-04 Thread Raúl Núñez de Arenas Coronado
Saluton Michael :) On Wed 4 Mar 2009 16:02 +0100, Michael Mossey dixit: > Hello, I'm just starting to look at vim, and I'm wondering if it has a > feature equivalent to emacs "frame"... that is, several separate OS > windows that are really linked and all part of the same vim process. If separa

vim newbie... something like emacs frames?

2009-03-04 Thread Michael Mossey
Hello, I'm just starting to look at vim, and I'm wondering if it has a feature equivalent to emacs "frame"... that is, several separate OS windows that are really linked and all part of the same vim process. This is endlessly useful for me in emacs... (Note: I'm running VIM on Windows XP, using t

Re: folding for matlab .m files

2009-03-04 Thread Ben Fritz
Slightly off-topic, but I find this ftplugin script very nice for MATLAB code: http://www.vim.org/scripts/script.php?script_id=2378 --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.

Re: iabbrev for templates

2009-03-04 Thread Ben Fritz
There are TONS of snippet/template/skeleton plugins/tips out there. See: http://vim.wikia.com/wiki/Category:Automated_Text_Insertion http://vim.wikia.com/wiki/Category:Templates --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more

Re: converting manual (or syntax) folds to marker folds

2009-03-04 Thread Ben Fritz
On Mar 1, 6:44 pm, edgimar wrote: > I assume the lack of responses to this inquiry means that there is > probably not a known way of doing this. > > So, maybe this is better discussed on a devel. list? No, the vim_dev list is meant for the Vim C code and the officially distributed runtime file

Re: How does one change the display font in gvim?

2009-03-04 Thread Tim Chase
> How does one change the display font in gvim? :set guifont=* Once you have a setting you like, you can snapshot it by finding its value: :set guifont? and then putting a corresponding line in your vimrc set guifont=Lucida_Console:h11:b:cANSI You can read more at :help 'guifont'

How does one change the display font in gvim?

2009-03-04 Thread Benct Philip Jonsson
How does one change the display font in gvim? /BP --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: vim equivalent to emacs orgmode ( To Do etc)

2009-03-04 Thread Teemu Likonen
On 2009-03-04 00:13 (-0800), DaveLG526 wrote: > Does anyone know if there is an equivalent program for vim like the > emacs org (http://orgmode.org/)? There is VimOutliner and TVO (The Vim Outliner) which do the outliner subset of org-mode. No calendar/diary and agenda integration, nor embedded

vim equivalent to emacs orgmode ( To Do etc)

2009-03-04 Thread DaveLG526
Does anyone know if there is an equivalent program for vim like the emacs org (http://orgmode.org/)? Thanks .. Dave --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--