Re: Using no hard line breaks

2011-02-24 Thread Chris Jones
On Mon, Feb 21, 2011 at 11:55:39AM EST, Benjamin R. Haskell wrote: On Mon, 21 Feb 2011, Chris Jones wrote: On Mon, Feb 21, 2011 at 03:57:17AM EST, Erik Christiansen wrote: On Sun, Feb 20, 2011 at 02:37:33PM -0500, Chris Jones wrote: [..] Bt, I don't understand how Esc becomes alt/meta

using the help system in split screen mode

2011-02-27 Thread Chris Jones
I'm having a bit of trouble displaying two help windows side by side. Here'as a typical scenario: I am reading the help file for a given topic such as ‘:help folding’ and I want to split the screen vertically so that I can for instance take a look at relevant Vim options - foldclose, foldcolumn..

Re: using the help system in split screen mode

2011-02-28 Thread Chris Jones
On Sun, Feb 27, 2011 at 06:01:23PM EST, Ben Schmidt wrote: When I am editing a file rather than displaying a help subject, I issue a ‘:vhl topic’ command (with vhl mapped to ‘:vertical help’, and Vim vertically splits the screen and displays the topic's help file in a separate window, so that

Re: using the help system in split screen mode

2011-02-28 Thread Chris Jones
On Mon, Feb 28, 2011 at 03:53:27PM EST, ZyX wrote: How could I figure out the number of help windows in the current tab? let helpcount=len(filter(range(1, winnr('$')), 'getbufvar(winbufnr(v:val), ft)==#help')) Works out of the box. :-) You may want to change ft (shortcut to filetype)

Re: using the help system in split screen mode

2011-03-06 Thread Chris Jones
On Mon, Feb 28, 2011 at 08:51:03PM EST, Ben Schmidt wrote: [..] Sorry for delay.. had more urgent issues to address.. The suggested pipe ‘setl bt= | help’ does indeed override Vim's miserly behavior relative to help windows.. Why? Because Vim identifies help windows by the buftype, so if

Re: using the help system in split screen mode

2011-03-06 Thread Chris Jones
On Sun, Mar 06, 2011 at 12:48:09PM EST, ZyX wrote: Reply to message «Re: using the help system in split screen mode», sent 20:03:40 06 March 2011, Sunday by Chris Jones: setl bt= | execute vert help a:s | execute ':redraw!' .. setl bt= | execute help a:s | execute ':redraw

Re: Mystery vim7 versus vim6.4 - same term, different results

2011-03-07 Thread Chris Jones
On Mon, Mar 07, 2011 at 03:09:32PM EST, howard Schwartz wrote: Ben Schmidt wrote: I wonder if both are looking in the same place for terminfo stuff, and for terminfo in the same format. I set TERMINFO to /etc/terminfo. I do not see how a different version of vim would [..] look in

Re: colorscheme for vimdiff

2011-07-05 Thread Chris Jones
On Tue, Jul 05, 2011 at 02:22:01AM EDT, Anonymous bin Ich wrote: Hi! Is there a way to load different colorscheme when using vimdiff (and different when using vim)? troll Just download any colorscheme. Most authors do not QA against vimdiff, and the result usually looks quite ‘different’…

Re: install vim 7.0.109 on Ubuntu 10.04

2011-10-16 Thread Chris Jones
On Sun, Oct 16, 2011 at 01:31:47AM EDT, Tony Mechelynck wrote: On 15/10/11 23:53, Frederico Cadete wrote: I had a similar experience when I recompiled Vim, coming from using vim as packaged by Ubuntu. The differences in behaviour were annoying, but they were not because of the compiling

Re: drawing and column editing in vim

2011-10-21 Thread Chris Jones
On Fri, Oct 21, 2011 at 09:41:39AM EDT, Eric Smith wrote: I am using DrawIt to make things like Organograms. It becomes messy when removing or inserting an entity. Then the parts of the lines to the right either become pushed to the right or collapse to the left. This of course would

Re: Mapping shortcuts

2011-10-31 Thread Chris Jones
On Mon, Oct 31, 2011 at 01:06:45PM EDT, George Papanikolaou wrote: I know this is simple. but I can't figure it out by Googling... so. Nothing wrong with googling, but there's no guarantee whoever posted his favorite trick fully understands the problem and that whatever worked in his case will

Re: Mapping shortcuts

2011-10-31 Thread Chris Jones
On Mon, Oct 31, 2011 at 04:15:00PM EDT, Chris Jones wrote: [..] In this particular case, you will not find a ‘mappings’ section (this is why you often need to have at least skimmed through the entire manual beforehand to find what you are looking for), Actually, I take that back

Re: search and replace (not what was searched for)

2011-11-07 Thread Chris Jones
On Mon, Nov 07, 2011 at 02:07:55PM EST, Totte Karlsson wrote: Hi, I often wants to search for lines that have a certain characteristic, and change it. However, I may not want to change what I am searching for. For example. Say I have lines looking like this [1 [2 [3 and want to add

Re: undo lust substitution made with :%s/foo/bar/gc

2011-11-25 Thread Chris Jones
On Fri, Nov 25, 2011 at 04:54:13PM EST, denis perelyubskiy wrote: Hello, There is NO substitute for LUST. Beware of imitations. CJ -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

Re: What does ^S work? - stop output in terminals

2011-12-04 Thread Chris Jones
On Sun, Dec 04, 2011 at 05:02:39AM EST, Sven Guckes wrote: [..] you can disable start+stop within the terminal with the stty command: stty start '' stty stop '' stty should then show: start = undef; stop = undef; then again.. you might want to use this feature now

Re: Can I make :vert the default?

2011-12-12 Thread Chris Jones
On Mon, Dec 12, 2011 at 04:11:19PM EST, Albin Olsson wrote: Hi Is there a setting so that I don't have to prepend my window creating commands with 'vert' every time? Not aware of one. In the age of wide screen monitors vertical splitting is a lot nicer than horizontal. Couldn't agree

Re: Can I make :vert the default?

2011-12-12 Thread Chris Jones
On Mon, Dec 12, 2011 at 06:16:17PM EST, Chris Jones wrote: [..] Since I only use horizontal splits once I have already 2-3 vertical planes (on rare occasions) what I personally did was to create abbreviations in my vimrc, such as, [..] Planes? Since we're thinking about moving, my wife

Re: Global change using vim and xxd

2011-12-14 Thread Chris Jones
On Wed, Dec 14, 2011 at 11:27:39AM EST, steve wrote: Im not new to vim, but I realize my huge ignorance when I read that you can edit binary files with vim via xxd. Wow, amazing. However On my first attempt to use it Im kind of confused and running into some problems. I think probably

Re: Can I make :vert the default?

2011-12-14 Thread Chris Jones
On Mon, Dec 12, 2011 at 06:35:56PM EST, Benjamin R. Haskell wrote: On Mon, 12 Dec 2011, Albin Olsson wrote: Hi Is there a setting so that I don't have to prepend my window creating commands with 'vert' every time? In the age of wide screen monitors vertical splitting is a lot nicer than

Re: Global change using vim and xxd

2011-12-14 Thread Chris Jones
On Wed, Dec 14, 2011 at 01:37:03PM EST, Chris Jones wrote: allows you to .cab files them in order to make your changes? proofread: should read: ‘allows you to uncompress .cab files ...’ and compress them back after the fact. CJ -- You received this message from the vim_use maillist. Do

Re: Global change using vim and xxd

2011-12-14 Thread Chris Jones
On Wed, Dec 14, 2011 at 03:20:14PM EST, steve wrote: ps maybe the /winnt/Windows/g is the way to go. I just thought doing it in binary was better. I think im fooling myself. I think it makes better sense unzipping the file, making the changes with plain Vim, and then re-zipping it. A quick

Re: Vim finishing.

2012-01-13 Thread Chris Jones
On Fri, Jan 13, 2012 at 03:52:50AM EST, Paul Isambert wrote: Hello there, I usually close Vim with Alt+F4 instead of :quit and associates. The problem is, there sometimes is quite some work in the VimLeave autocommand, and a dialog pops up saying that Vim is busy and do I want to close it,

Re: ignore new line in search

2012-01-15 Thread Chris Jones
On Sun, Jan 15, 2012 at 10:39:42AM EST, Pau wrote: thanks a lot... but I forgot to mention that one main problem is that I cannot know in advance where the new line is... isn't there a faster way of telling vim to ingore new lines? thanks a lot! [..] Per your initial post, I understood

Re: What did I do?

2012-01-17 Thread Chris Jones
On Mon, Jan 16, 2012 at 10:04:12PM EST, Vlad Irnov wrote: [..] It's easy to make such mistake if selected text in Visual mode does not stand out and looks similar to Folded lines. Then you may not notice that you are in Visual mode. [..] :set showmode :h 'showmode' ? CJ -- You received

Retrieve the argument of a prior Ex mode command

2012-01-17 Thread Chris Jones
At the bash prompt, I often use the [Alt+.]¹ keyboard action to retrieve the argument of a prior command from the bash history list. To illustrate: | $ mkdir -p long/directory/name/I/would/rather/not/type/again | $ cd [Alt+.] Bash expands the [Alt+.] giving me: | $ cd

Re: Retrieve the argument of a prior Ex mode command

2012-01-18 Thread Chris Jones
On Wed, Jan 18, 2012 at 12:34:03PM EST, Andy Wokula wrote: Am 18.01.2012 03:04, schrieb Chris Jones: At the bash prompt, I often use the [Alt+.]¹ keyboard action to retrieve the argument of a prior command from the bash history list. [..] I think you just want to press Up in the cmdline

Re: Retrieve the argument of a prior Ex mode command

2012-01-19 Thread Chris Jones
Hello Paul, Sorry for delay.. I didn't have the time to look into this further. On Wed, Jan 18, 2012 at 03:12:18AM EST, Paul Isambert wrote: Chris Jones cjns1...@gmail.com a écrit: At the bash prompt, I often use the [Alt+.] keyboard action to retrieve the argument of a prior command from

Re: Retrieve the argument of a prior Ex mode command

2012-01-19 Thread Chris Jones
On Wed, Jan 18, 2012 at 08:42:51PM EST, Tim Chase wrote: [..] I think the biggest impediment to making a simple mapping to do this would be that in bash, commands are almost always of the form command [optional args]. In Vim, you have a variety of patterns, so extracting the args portion or

Re: Retrieve the argument of a prior Ex mode command

2012-01-20 Thread Chris Jones
On Fri, Jan 20, 2012 at 02:20:37AM EST, Paul Isambert wrote: Chris Jones cjns1...@gmail.com a écrit: [..] That's because you forgot to retrieve the command typed so far. | let l:head = matchstr(getcmdline(), '^\S*') | let l:cmdl = | ... | return l:head . . l:cmdl Clever

Re: How does S-CR work in gvim?

2012-01-21 Thread Chris Jones
On Fri, Jan 20, 2012 at 06:31:45PM EST, Gary Johnson wrote: Someone just posted a question to superuser What is ‘superuser’? in which they mentioned discovering that Shift-Enter is the same as Ctrl-F. So why bother? I experimented a little and discovered that that's true, but only in

Re: Retrieve the argument of a prior Ex mode command

2012-01-23 Thread Chris Jones
On Sat, Jan 21, 2012 at 09:37:14PM EST, John Little wrote: On Jan 18, 3:04 pm, Chris Jones cjns1...@gmail.com wrote: At the bash prompt, I often use the [Alt+.] keyboard action to retrieve the argument of a prior command from the bash history list... That key combination works in bash's

Re: Retrieve the argument of a prior Ex mode command

2012-01-23 Thread Chris Jones
On Sat, Jan 21, 2012 at 09:37:14PM EST, John Little wrote: On Jan 18, 3:04 pm, Chris Jones cjns1...@gmail.com wrote: At the bash prompt, I often use the [Alt+.] keyboard action to retrieve the argument of a prior command from the bash history list... That key combination works in bash's

Re: Retrieve the argument of a prior Ex mode command

2012-01-23 Thread Chris Jones
On Thu, Jan 19, 2012 at 10:37:46PM EST, Tim Chase wrote: On 01/19/12 21:24, Chris Jones wrote: I eventually used a mix of Paul and Tim's suggestions and came up with this: | | Emulate bash/readline's yank-last-arg

Re: Retrieve the argument of a prior Ex mode command (back on-list)

2012-01-23 Thread Chris Jones
On Wed, Jan 18, 2012 at 08:42:51PM EST, Tim Chase wrote: [..] = function! PreviousTail() let item = histget(getcmdtype(), -1) let patterns = [ \ '^\%([GvV]\|g\%[lobal]\|s\%[ubstitute]\)\(\W\)\%(\1\@!.\|\\\1\)\1\(.*\)',

Re: Retrieve the argument of a prior Ex mode command (back on-list)

2012-01-23 Thread Chris Jones
On Mon, Jan 23, 2012 at 04:24:52PM EST, Tim Chase wrote: On 01/23/12 14:57, Chris Jones wrote: On Wed, Jan 18, 2012 at 08:42:51PM EST, Tim Chase wrote: = let item = histget(getcmdtype(), -1

Re: Your listmails

2009-11-11 Thread Chris Jones
On Wed, Nov 11, 2009 at 09:15:10AM EST, Michael Wagner wrote: [..] another possible solution is 'muttator', but I also don't know if it works for seamonkey. It's a thunderbird extension. http://www.vimperator.org/muttator Requires T-Bird 3.0 (Beta). What's wrong with mutt, anyway? :-)

Re: vim72 for redhat enterprise 4

2009-11-11 Thread Chris Jones
On Wed, Nov 11, 2009 at 09:52:05AM EST, thgr wrote: [..] * I can't browse the file system: e.g. ':e.' gives vim message: '. is a directory' which is completely true but not what I wanted to achieve ... http://www.vim.org/scripts/script.php?script_id=1075 CJ

Re: Your listmails

2009-11-11 Thread Chris Jones
On Wed, Nov 11, 2009 at 03:57:10PM EST, Michael Wagner wrote: * Chris Jones cjns1...@gmail.com 11.11.2009 On Wed, Nov 11, 2009 at 09:15:10AM EST, Michael Wagner wrote: [..] another possible solution is 'muttator', but I also don't know if it works for seamonkey. It's

Re: Jump to buffer

2009-11-13 Thread Chris Jones
On Fri, Nov 13, 2009 at 10:01:28AM EST, anna wrote: If we split the vim to open many buffers, we can change the cursor focus using mouse or pressing CTRL-WCTRL-W. When I jump the cursor focus to other buffer, I want the opened buffer is still there. If we use :b + buffer number, this will

Something is messing up a simple mapping.

2009-11-22 Thread Chris Jones
I have this in my .vimrc: nmap Space iSpaceEsc It lets me enter spaces without leaving normal mode. Or used to .. Fairly recently, this stopped working as expected: What happens if I hit space in normal mode, is that vim inserts an unlimited number of spaces, apparently one at a time. I

Re: Something is messing up a simple mapping.

2009-11-23 Thread Chris Jones
On Mon, Nov 23, 2009 at 04:25:46AM EST, Jürgen Krämer wrote: Excellent catch! you don't have 12 spaces after your nnoremap command, do you? I.e., :nnoremap Space iSpaceEsc My mistake, there are thirteen of them :-) where every underscore means a literal space character. If

Re: Something is messing up a simple mapping.

2009-11-23 Thread Chris Jones
On Mon, Nov 23, 2009 at 05:30:55AM EST, Jürgen Krämer wrote: [..] nnoremap Space iSpaceEsc what this does.. it's best to never write a comment after a mapping -- just put it in a separate line above or below. That habit of mine is going to be difficult to break. Apart from

Re: Something is messing up a simple mapping.

2009-11-24 Thread Chris Jones
On Tue, Nov 24, 2009 at 03:03:52PM EST, Charles Campbell wrote: Chris Jones wrote: I have this in my .vimrc: nmap Space iSpaceEsc [..] This map looks quite recursive; the iSpace invokes the map again (recursively), and repeats ad infinitum. Seems to me you want a no-remap; try

Re: How to beautify/tablize some C code

2009-11-30 Thread Chris Jones
On Mon, Nov 30, 2009 at 12:38:01AM EST, Robert Bu wrote: Hi, For example, I have some C code: helloa; helloab; hellofgh; Is there a way to change the C code into the form, which looks like: helloa ; helloab; hellofgh ; Where the semicolon is at a TAB position. So that I

Re: Custom Paragraph Formatting with gq

2009-12-01 Thread Chris Jones
On Tue, Dec 01, 2009 at 01:05:32AM EST, Robert Chan wrote: I have logbook entries that have the following structure: [entry title 1] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse blandit ipsum vel elit ultrices pharetra rhoncus tellus aliquam. Donec quis dolor ac elit

Re: What's the command to delete a word?

2009-12-01 Thread Chris Jones
On Tue, Dec 01, 2009 at 11:56:03PM EST, Peng Yu wrote: dd is the command to delete a line. I'm wondering what the command to delete a word (including the spaces immediately afterward) is? dw or dW For the difference between 'word' and WORD, see: :h word I find it more effective to think in

Re: Using fuzzy-finder - how can I cycle through selections to choose one without having to type out rest of pattern?

2009-12-08 Thread Chris Jones
On Fri, Dec 04, 2009 at 05:09:18PM EST, Rick R wrote: On Fri, Dec 4, 2009 at 4:47 PM, Nathan Neff nathan.n...@gmail.com wrote: I don't know about fuzzy-finder-textmate, but try Ctrl-N. Ctrl-N works for me. Thanks! Perfect. Was that in the docs somewhere??? I'm just wondering how

Re: Text replacing question

2009-12-12 Thread Chris Jones
On Sat, Dec 12, 2009 at 12:44:52PM EST, Omar wrote: Hi! In order to replace one block of text with another I usually follow the next sequence of commands: * yank/delete commend * visual selection * put This seems a little long for me. Is there a way to decide which text to replace

Re: Text replacing question - errata

2009-12-12 Thread Chris Jones
On Sat, Dec 12, 2009 at 06:15:10PM EST, Chris Jones wrote: [..] Replace paragrah 3 by paragraph 1: {d}ą }}}˛ v}pł | ą cursor in paragraph 1 - delete paragraph 1 | ˛ go to start of paragraph 3 | ł select paragraph 3 and replace by paragraph 1 Not sure why the above comes back garbled

Re: client-server for a gdb fronted

2009-12-13 Thread Chris Jones
On Sun, Dec 13, 2009 at 05:18:50PM EST, Suresh Govindachar wrote: Around Sunday, December 13, 2009 8:24 AM, Bora Sahin asked: I would like to interface gdb to Vim. I know there are a few alternatives but as far as I see none of them fulfills my expectations completely. I prefer a

Vim client-server communication

2009-12-13 Thread Chris Jones
I am looking into Vim's client-server feature and I was wondering what benefits can be derived from it. One thing that I have noticed over the weekend is that on a number of occasions, the server instance of Vim opened a tab/buffer that was either empty, contained binary zeros - 0x00 - or even

Re: Vim client-server communication

2009-12-13 Thread Chris Jones
On Sun, Dec 13, 2009 at 09:42:24PM EST, Marc Weber wrote: Excerpts from Chris Jones's message of Mon Dec 14 03:26:34 +0100 2009: [..] Has anyone implemented this feature and could possibly comment on the above? I use the feature to make a background sh process call back into vim telling

Re: Vim client-server communication

2009-12-13 Thread Chris Jones
On Sun, Dec 13, 2009 at 10:57:06PM EST, Marc Weber wrote: Excerpts from Chris Jones's message of Mon Dec 14 04:09:42 +0100 2009: On Sun, Dec 13, 2009 at 09:42:24PM EST, Marc Weber wrote: Excerpts from Chris Jones's message of Mon Dec 14 03:26:34 +0100 2009: [..] Has anyone

Re: Vim client-server communication

2009-12-14 Thread Chris Jones
On Mon, Dec 14, 2009 at 09:58:59AM EST, Marc Weber wrote: If I understand correctly, you're in Vim and start some long running task in the background so you can do something else in the meantime? Yes, basically I do a :!sh -c runtask ; call_back_into_vim Would a compile task be an

Re: Vim client-server communication

2009-12-14 Thread Chris Jones
On Mon, Dec 14, 2009 at 11:48:54PM EST, Marc Weber wrote: Would a compile task be an example, and the call back opens a tab with a list of errors for instance.? Or is it just a message displayed at the bottom of the screen to inform the user that the task has completed, and a possible

Re: Vim client-server communication

2009-12-14 Thread Chris Jones
On Tue, Dec 15, 2009 at 01:35:53AM EST, Marc Weber wrote: In any event, thanks much for your comments. I'll study your script when time allows, and I'm sure things will become a lot clearer. Hi Chris, I'm unsure what you want to do. :-) No wonder, I haven't a clue myself. It's just

Re: Counting ; character

2009-12-15 Thread Chris Jones
On Tue, Dec 15, 2009 at 04:20:05PM EST, Christian Brabandt wrote: Hi On Di, 15 Dez 2009, Christian Brabandt wrote: đ)I changed your function to save and restore cursor position. ē)http://www.vim.org/scripts/script.php?script_id=1530 Grml, thouse were supposed to be footnotes. Don't

Garbled mail on list. Was: Text replacing question

2009-12-15 Thread Chris Jones
On Sat, Dec 12, 2009 at 07:42:51PM EST, Chris Jones wrote: On Sat, Dec 12, 2009 at 06:15:10PM EST, Chris Jones wrote: [..] Replace paragrah 3 by paragraph 1: {d}ą }}}˛ v}pł | ą cursor in paragraph 1 - delete paragraph 1 | ˛ go to start of paragraph 3 | ł select paragraph 3

Re: Counting ; character

2009-12-15 Thread Chris Jones
On Tue, Dec 15, 2009 at 05:12:40PM EST, Christian Brabandt wrote: Hi Chris! On Di, 15 Dez 2009, Chris Jones wrote: I've only seen this happen on this list, which happens to also be a google group. What makes you think mutt is the culprit? First guess. Actually, I think you

Re: Garbled mail on list. Was: Text replacing question

2009-12-15 Thread Chris Jones
On Tue, Dec 15, 2009 at 08:17:55PM EST, sc wrote: On Tuesday 15 December 2009 06:19:23 pm vi...@selgrad.org wrote: Those were garbled in my Mutt. Apparently, we both use mutt .. wondering if anyone that uses a different mailer got to see our superscripts ¹, ², ³ in my case,

Re: Color schemes

2009-12-17 Thread Chris Jones
On Thu, Dec 17, 2009 at 04:16:11AM EST, Gabor Urban wrote: Hi, I would like to play around with color schemes to create my own. I have read some introductions I but would like to have someone in contact, who wrote color scheme allready. Someone who could answer my questions if I will stuck

Re: Vim client-server communication

2009-12-17 Thread Chris Jones
On Thu, Dec 17, 2009 at 03:18:33PM EST, Sven Brueggemann wrote: Hello Chris, That's what I meant by 'amazing your friends' since though it has its merits, I don't see this particular example as being very useful, probably not enough to justify the overhead and added complexity. i

Re: Vim client-server communication

2009-12-18 Thread Chris Jones
On Tue, Dec 15, 2009 at 08:59:45AM EST, MBro wrote: [..] Not sure how relevant this is to your situation, but I use the client- server for a few things in my day-to-day work environment: 1. all MAN pages all show up under one gvim [I'm not an expert BASH writer]: function man() {

Re: Printing with utf-8 characters on Windows

2009-12-22 Thread Chris Jones
On Sun, Dec 20, 2009 at 11:36:27AM EST, Đức Minh Thái wrote: Hello, I cannot get utf-8 characters printed correctly. For example: bột becomes bá»™t U+1ED9 ộ LATIN SMALL LETTER O WITH CIRCUMFLEX AND DOT BELOW See: :help ga In utf-8, this character is encoded by the following

Re: Not necessarily a question - but need help nonetheless

2009-12-22 Thread Chris Jones
On Tue, Dec 22, 2009 at 11:53:08AM EST, Jon Trelfa wrote: I'm definitely in the newbie stage of learning VIM - so bear with me on my request... As of right now, this is how I launch gvim on my Ubuntu PC and start working: 1. Super+T (keyboard shortcut I mapped to start the program)

Re: Not necessarily a question - but need help nonetheless

2009-12-22 Thread Chris Jones
On Tue, Dec 22, 2009 at 04:33:55PM EST, Chris Jones wrote: On Tue, Dec 22, 2009 at 11:53:08AM EST, Jon Trelfa wrote: [..] I don't use NERDTree, so I can't promise it plays well with vim sessions. Just a quick update to mention that I installed NERDTree, and as I suspected, when restoring

Re: Not necessarily a question - but need help nonetheless

2009-12-23 Thread Chris Jones
On Wed, Dec 23, 2009 at 06:20:02AM EST, Sergey Khorev wrote: Chris, I am still at version 7.1 but I don't suppose a more current version of Vim supports plugins or extensions written in a compiled language such as C, or even semi-compiled languages such as python et al... or that there

Re: Not necessarily a question - but need help nonetheless

2009-12-23 Thread Chris Jones
On Wed, Dec 23, 2009 at 08:53:19AM EST, Jon Trelfa wrote: On Wed, Dec 23, 2009 at 2:25 AM, Chris Jones cjns1...@gmail.com wrote: Just a quick update to mention that I installed NERDTree, and as I suspected, when restoring a previous session, it comes up with an empty side bar

Re: Not necessarily a question - but need help nonetheless

2009-12-23 Thread Chris Jones
On Wed, Dec 23, 2009 at 10:45:35AM EST, Chris Jones wrote: On Wed, Dec 23, 2009 at 06:20:02AM EST, Sergey Khorev wrote: Chris, I am still at version 7.1 but I don't suppose a more current version of Vim supports plugins or extensions written in a compiled language such as C, or even

Re: counting keystrokes

2009-12-23 Thread Chris Jones
On Wed, Dec 23, 2009 at 11:18:36AM EST, Sven Guckes wrote: [..] Hi Sven, years ago i had asked Bram to add some options to keep statistics of the tzping - but he reclined. i still would find this very useful - and fun! :) Bram - would you reconsider? vim-8.0 with typing stats? I hope he

Re: Not necessarily a question - but need help nonetheless

2009-12-23 Thread Chris Jones
On Wed, Dec 23, 2009 at 12:55:03PM EST, Christian Brabandt wrote: Hi Chris! On Mi, 23 Dez 2009, Chris Jones wrote: Where slow is concerned, the feature might be that Bram does not favor the idea of turning vim into an IDE, or so I heard.. All the same, even if vimscript is not C, I am

Re: Not necessarily a question - but need help nonetheless

2009-12-23 Thread Chris Jones
On Wed, Dec 23, 2009 at 01:53:12PM EST, Christian Brabandt wrote: Hi Chris! On Mi, 23 Dez 2009, Chris Jones wrote: On Wed, Dec 23, 2009 at 12:55:03PM EST, Christian Brabandt wrote: This sounds like something where you don't need to interact with the process while it's running. Wouldn't

Re: Not necessarily a question - but need help nonetheless

2009-12-23 Thread Chris Jones
On Wed, Dec 23, 2009 at 04:08:26PM EST, Charles Campbell wrote: Chris Jones wrote: Hello Charles, I tried it with a fairly large tree called ~/tarballs and it took over a minute, with Vim flying at 100% CPU. There was a message to the effect that it was indexing/caching the nodes

Re: Not necessarily a question - but need help nonetheless

2009-12-23 Thread Chris Jones
On Wed, Dec 23, 2009 at 04:08:26PM EST, Charles Campbell wrote: Chris Jones wrote: [..] So it looks as if there are glitches when it takes forever, and normal circumstances where it takes somwhere between 3-5 seconds to load a directory, why is too slow to my taste. I'll try to run

Re: Counting ; character

2009-12-23 Thread Chris Jones
On Tue, Dec 15, 2009 at 04:20:05PM EST, Christian Brabandt wrote: Hi On Di, 15 Dez 2009, Christian Brabandt wrote: đ)I changed your function to save and restore cursor position. ē)http://www.vim.org/scripts/script.php?script_id=1530 Grml, thouse were supposed to be footnotes. Don't

Re: Not necessarily a question - but need help nonetheless

2009-12-24 Thread Chris Jones
On Wed, Dec 23, 2009 at 08:59:42PM EST, Chris Jones wrote: On Wed, Dec 23, 2009 at 04:08:26PM EST, Charles Campbell wrote: Would you try this with netrw? Since you seem to like tree mode, put let g:netrw_liststyle= 3 A couple more runs on my home directory this morning after adding

Re: Align plugin - white space separators

2009-12-27 Thread Chris Jones
On Sat, Dec 26, 2009 at 11:20:09PM EST, Charles E Campbell Jr wrote: Chris Jones wrote: Prettifying a color scheme, which looks like so: 15 hi ErrorMsg ctermfg=9 cterm=none ctermfg=redetc... 16 hi

Re: Align plugin - white space separators

2009-12-29 Thread Chris Jones
On Mon, Dec 28, 2009 at 10:35:01AM EST, Charles Campbell wrote: Chris Jones wrote: [..] I selected the text via a Ctrl-V and issued a: :Align \tsp and nothing happened. 15hi ErrorMsg ctermfg=9 cterm

Re: Align plugin - white space separators

2009-12-29 Thread Chris Jones
On Tue, Dec 29, 2009 at 03:34:15PM EST, Charles Campbell wrote: [..] Again, what does :verbose map \tsp? show (that question mark needs to be there)? v \tsp :BSBSBSCRma'\tsp Last set from ~/.vim/plugin/AlignMaps.vim no \tsp

Re: Is vim just for programmers?

2010-01-01 Thread Chris Jones
On Fri, Jan 01, 2010 at 07:14:56AM EST, Anthony Campbell wrote: Having recently rather unexpectedly found myself back on this list after being unable to get on it for several years, There have been reports on the list of individuals who had unsbscribed from v...@vim.org years ago and all of a

Re: Is vim just for programmers?

2010-01-01 Thread Chris Jones
On Fri, Jan 01, 2010 at 09:34:02AM EST, Geir Isene wrote: [..] I use vim for almost anything - including writing in forms on the web (via the firefox plugin ItsAllText). I write books, esseys, articles and all my e-mail in vim (I use Mutt as the mail client). I am almost twice as effective

Re: How to delete everything before the cursor until the beginning of the line?

2010-01-01 Thread Chris Jones
On Fri, Jan 01, 2010 at 06:04:46PM EST, Peng Yu wrote: 'D' deletes everything after the cursor until the end of the line. Is there a command that delete everything before the cursor until the beginning of the line? v0d is what I do.. three key presses. Surely there's a better way? CJ --

Re: How to delete everything before the cursor until the beginning of the line?

2010-01-01 Thread Chris Jones
On Fri, Jan 01, 2010 at 06:40:24PM EST, Tim Chase wrote: Chris Jones wrote: On Fri, Jan 01, 2010 at 06:04:46PM EST, Peng Yu wrote: 'D' deletes everything after the cursor until the end of the line. Is there a command that delete everything before the cursor until the beginning

Re: exiting, quitting

2010-01-02 Thread Chris Jones
On Sat, Jan 02, 2010 at 10:19:50AM EST, Shawn H Corey wrote: Dennis German wrote: Happy New Year to all. :w An earlier post mentioned having files ending up with :q in them. When I'm done editing, I always use :x and only use :q when I didn't make any changes ( of course :q!

Re: Printing with utf-8 characters on Windows

2010-01-02 Thread Chris Jones
On Sat, Jan 02, 2010 at 06:17:35AM EST, Minh Duc Thai wrote: About the ucs2, because the utf8 has failed so many times. :( On Sat, Jan 2, 2010 at 6:16 PM, Minh Duc Thai thm...@gmail.com wrote: Hello Chris, I've tried to print in Linux (I use Linux Mint version 8, the printer is the

Re: exiting, quitting

2010-01-03 Thread Chris Jones
On Sat, Jan 02, 2010 at 03:05:43PM EST, Shawn H Corey wrote: Chris Jones wrote: I try to stick to just one vim instance and basically never quit.. What I do is that I periodically take a look at my buffer list and issue a bunch of :bw commands for those buffers I know I won't need

Re: exiting, quitting

2010-01-04 Thread Chris Jones
On Mon, Jan 04, 2010 at 09:44:11AM EST, Ben Fritz wrote: On Jan 3, 4:09 pm, Chris Jones cjns1...@gmail.com wrote: The only problem, is that after a while the buffer list in a long running instance of vim may become so large as to be unmanageable. This is one reason that I tend to organize

Re: Printing with utf-8 characters on Windows

2010-01-05 Thread Chris Jones
On Tue, Jan 05, 2010 at 08:18:12AM EST, Chris Jones wrote: On Mon, Jan 04, 2010 at 08:57:36AM EST, Minh Duc Thai wrote: Hello Chris, I've attached example files and my .vimrc configuration file. Hope you or someone can help. Thank you! Bột bột It looks like you sent this to me

Re: Printing with utf-8 characters on Windows

2010-01-06 Thread Chris Jones
On Wed, Jan 06, 2010 at 06:20:42AM EST, Mike Williams wrote: Hi, I wrote the original PS driver for VIM, several years ago now. This is somewhat OT from the OP as it is not Windows related. I think he wrote somewhere that he prints from Windows because his printer is better supported.

Vim's :hardcopy command - utf-8 printing limitations.

2010-01-07 Thread Chris Jones
On Thu, Jan 07, 2010 at 09:11:43AM EST, Mike Williams wrote: [..] Thank yoy very much for taking the time to explain what the problem is and why this is not a simple issue. Since afaict this has nothing to do with Windows to make the thread searchable, I changed the title to something more

Folding Vim's help files.

2010-01-09 Thread Chris Jones
The latex-suite help files provide per-section folding making it both pleasurable and effective to read them 'cover to cover' in Vim. It's as simple as ':h latex-suite' + 'zm', and you're presented with an outline that fits on one screen, giving you a clear picture of the structure of the

Re: Folding Vim's help files.

2010-01-09 Thread Chris Jones
On Sat, Jan 09, 2010 at 07:49:54AM EST, Christian Brabandt wrote: Hi Chris! On Sa, 09 Jan 2010, Chris Jones wrote: [..] I'm currently reading the VIM USER MANUAL and I was curious whether I could implement something comparable, without adding some modeline magic to the files

Re: Folding Vim's help files.

2010-01-09 Thread Chris Jones
On Sat, Jan 09, 2010 at 12:28:06PM EST, Chris Jones wrote: On Sat, Jan 09, 2010 at 07:49:54AM EST, Christian Brabandt wrote: [..] ,[ ~$ cat ~/.vim/after/ftplugin/help.vim ]- | setl fdm=expr | setl foldexpr=getline(v\:lnum-1)=~'-\\{70}'?'2'\:getline(v\:lnum-1)=~'=\\{70}'?'1

Re: How to show plain text document's structure and syntax highlight

2010-01-14 Thread Chris Jones
On Thu, Jan 14, 2010 at 09:28:48AM EST, vimer_at_cn wrote: Welcome to have a try and feedback. Thanks for your support. I just installed the plugin and fired up an instance of vim against a C program and the filetype was set to txt. What alerted me was that syntax highlighting was totally

Re: How to show plain text document's structure and syntax highlight

2010-01-19 Thread Chris Jones
On Sat, Jan 16, 2010 at 09:36:56PM EST, vimer_at_cn wrote: Chris Jones-44 wrote: This makes me think that it might be a good idea to find a more distinctive name for your file names, and possibly the corresponding tags in the help file.. Why not PlainTextBrowser.vim

Re: Change vim/gvim colorschemes

2010-01-29 Thread Chris Jones
On Fri, Jan 29, 2010 at 10:14:38AM EST, Athunye wrote: I was wondering about a possibility to get vim change colorschemes from time to time, Say, every 5 or 10 minutes (automatically). Of course the 'sleep' command won't help in this case. The script would read the contents of a directory

Re: search for null

2010-01-29 Thread Chris Jones
On Fri, Jan 29, 2010 at 10:50:51PM EST, Tony Mechelynck wrote: [..] In addition to all that has already been said in reply to this post, it helps to understand that the null is handled in a special way in Vim, because a null byte terminates a C string. Therefore, a null (0x00) is

Re: Edit Mode h key

2010-02-18 Thread Chris Jones
On Thu, Feb 18, 2010 at 10:13:07AM EST, octopusgrabbus wrote: Does anyone offhand know the key code that is sent when 'h' is pressed in Edit Mode? I'm trying to customize a linux terminal emulator that is acting up. 'h' works fine, but backspace doesn't, and it's only on Ubuntu systems. Not

wildmode/autocompletion question

2008-10-17 Thread Chris Jones
Hello; I am a very experience vim user, and I just have a quick question regarding wildmode and autocompletion. Currently I have wildmode set to longest,list. The current behaviour when I attempt to open a new buffer is. my_dirls foodoo.c foobat.c foobaz.c foogood. :e fTAB :e fooTAB

make inside vim session.

2008-10-23 Thread Chris Jones
Hello all; Hopefully another quick one. I use the :make command to kick off a build inside of vim session. I love the features of being able to find my errors using :copen, but at work, the builds can take a _long_ time to dermine dependencies and finally build. I would still like to browse

  1   2   3   >