Re: [OT] top post reminder

2009-08-07 Thread Shawn H. Corey
Gene Kwiecinski wrote: > ... nothing but quoted text where I'd have > to scroll down 3 screens' worth just to see the entire replied-to > message with nothing but an added "Thanks, that worked!" at the very > end, etc., I just plain skip to the next email w/o even looking further. > You're talk

Re: stdin into a filename

2009-08-07 Thread Shawn H. Corey
meino.cra...@gmx.de wrote: > Is it possible to use something in the manner of > > ls -l | vim - Start vim. Insert "ls -l", escape, then !!sh This is called a filter. See `:help filter`. -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization an

Re: [OT] top post reminder

2009-08-07 Thread Shawn H. Corey
Raúl Núñez de Arenas Coronado wrote: > I prefer proper quoting were possible, with the reply interleaved with > the quoted text. But interleaving won't be necessary if they kept their post to a single point each. -- Just my 0.0002 million dollars worth, Shawn Programming is as much ab

Re: Replace Just Needed

2009-08-11 Thread Shawn H. Corey
Ricky wrote: > Hi, All > > One line contains a number of same words: > --- > I've never saw a saw saw a saw > She never saw a saw saw a saw > ... > He never saw a saw saw a saw > --- > > I just want to replace the 2nd or 3rd "saw", Do you have any idea? What makes it unique? What makes it dif

Re: Is vim just for programmers?

2010-01-02 Thread Shawn H Corey
NickC wrote: > For me, vim has taken over, it's pervasive because it's so useful. So > much so that I get frustrated when I press, say, dd in an app and find it > didn't delete the line. Stupid brain-dead app, I think to myself, when > it's my fault of course. I know the feeling. When I used

Re: exiting, quitting

2010-01-02 Thread Shawn H Corey
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! when I didn't mean to make any changes). > Is this just a matter

Re: exiting, quitting

2010-01-02 Thread Shawn H Corey
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 in the > foreseeable future. Gvim allows the window to be split ver

Re: key mappings work in gvim but not in vim?

2011-07-29 Thread Shawn H Corey
On 11-07-29 07:37 PM, Taylor Hedberg wrote: Vim receives characters from the terminal, rather than actual key presses like the GUI version does. And I don't believe that is actually a valid character. So that would probably explain why it works in GVim but not in any terminal. Sometimes vi

Re: problem with characters...

2010-05-03 Thread Shawn H Corey
aksr wrote: how to display characters "čćšđž" in vim and is that possible? --- when i try to type this chars, i get "▐ " (something like this..) what i should do? thank you I'm not sure what you mean by display, but to insert them into the text use CTRL-K. See `:help CTRL-K

Re: !history with no result

2010-05-18 Thread Shawn H Corey
On 10-05-18 11:58 AM, robert song wrote: Hi, everyone. I executed :!history in vim to execute the external history command, but find that no result is outputted. Does anybody know the reason ? Best Regards, robert Yes, :! will start a new shell to run the command in. Since it's new, it

Re: Regex problem

2010-05-18 Thread Shawn H Corey
On 10-05-18 02:33 PM, AK wrote: On 05/18/2010 02:23 PM, Jeremiah Martell wrote: I cant figure out how to search for "newline followed by non-newline" using vim. So if I have a file like this: a b c d e f g h i j k l m n o p q I want to find the newlines after c, f, j, and o, but not after g

Re: Insert stdout of shell command on current line

2010-06-01 Thread Shawn H Corey
On 10-06-01 07:55 AM, Andre Majorel wrote: Execute the current line (minus the leading "#") as a shell command and insert its output at +1, keeping the current line in place. Yp:.!sed 's/^\#//' | sh Is there a simpler way to do that ? Like a built-in command ? Yes, they're called filters,

Re: cygwin startup time

2010-12-15 Thread Shawn H Corey
On 10-12-15 12:44 PM, rameo wrote: Is there a way to avoid this startup time and take the cygwin window active? Have you tried running ViM from a cygwin window? It should use the same window for the filters. -- Just my 0.0002 million dollars worth, Shawn Confusion is the first step

Syntax file for vBulletin

2010-12-15 Thread Shawn H Corey
Does anyone have or know where I can get a syntax file for vBulletin? I tried to Google it but I get too many "Powered by vBulletin" links. Any help would be appreciated. -- Just my 0.0002 million dollars worth, Shawn Confusion is the first step of understanding. Programming is as mu

GViM syntax not working as expected

2014-10-01 Thread Shawn H Corey
I have created a syntax file for GViM but the yasSpecial are not highlighted when embedded. I have attached the syntax file and a test file. How do I make the specials highlight when they are embedded? -- Don't stop where the ink does. Shawn -- -- You received this message from the "v

Re: Dead keys

2016-01-22 Thread Shawn H Corey
On Fri, 22 Jan 2016 18:11:26 -0500 Chris Jones wrote: > Has anybody heard of a dead key scheme where the user hits the > printable key first and then adds the diacritic? Same as what I do > when using the X server's Compose key.. but without the need of a > Compose key. ViM has its own compose k

Re: what does & mean in the vim command?

2016-08-18 Thread Shawn H Corey
I'm not sure where you see this but usually it means you have to press "f" after . That is, to invoke the command, you have to press the sequence followed by an "f". This allows a choice of commands from the key. For example, there may be a, b, ... commands which can be invoke by pressing th

Re: Trying to learn to Work with Text without using J,K,H,L and arrow keys

2016-09-13 Thread Shawn H Corey
On Tue, 13 Sep 2016 08:23:57 -0700 (PDT) Amit Christian wrote: > I find it still difficult to go to next lines or browsing up or down > through the text. Can any one please help me with efficient use of > working with text without a usual j,k,h,l use? Are there resources or > help on internet? Wh

Re: without using J,K,H,L and arrow keys -> motion.txt

2016-09-14 Thread Shawn H Corey
On Wed, 14 Sep 2016 13:29:29 -0700 (PDT) Amit Christian wrote: > I definitely am not planning to disable those keys forever. But just > to learn, develop habit (and possibly muscle memory!) to use other > quicker motion keys. > > Honestly, from my experience in last few days, I already have bec

Re: mapping :h to ;

2016-09-24 Thread Shawn H Corey
On Fri, 23 Sep 2016 23:02:04 -0700 (PDT) i...@odyschrift.nl wrote: > I am a novice in gVim. I often need the help function. > :h. I understand I can map this combination of 4 > keystrokes to a single key. Is ; a good choice? No, ";" is used to repeat "f", "F", "t", or "T" search. See :help ; A b

Re: Strength of builtin blowfish2 encryption?

2016-09-25 Thread Shawn H Corey
On Sun, 25 Sep 2016 12:02:10 -0400 aroc...@vex.net wrote: > > > I wonder how string the builtin encryption of vim really is. > > > > Encryption really isn't the business of a text editor. Decrypt the > cipher-text, feed it to the editor, encrypt when saving, and be sure > to delete any temporary

Re: vim stuck on write

2016-09-26 Thread Shawn H Corey
On Mon, 26 Sep 2016 15:35:29 -0400 ping song wrote: > whenever I change a tcl file and :write > the vim got stuck...for ever. > no cpu spike, gnu screen/tmux works fine where vim is running inside. > no file permission issue - if I set ft=txt and write, there won't be > any problem... > > so I t

Re: Strength of builtin blowfish2 encryption?

2016-10-01 Thread Shawn H Corey
On Sat, 1 Oct 2016 17:56:04 +0200 Stefan Klein wrote: > for my case I consider my computer(s) to be safe since there are no > other users on those machines, so I don't care to much about temporary > files. Provided you're running a firewall. -- -- You received this message from the "vim_use"

Re: Why the number of the yanked line is too many(may be over 22) the command line will not show if the line was copied ?

2016-12-20 Thread Shawn H Corey
On Mon, 19 Dec 2016 21:32:59 -0600 Tim Chase wrote: > so I suspect that you have something interfering with that reporting. > > -tim I'm running version 7.4 and I just tested it with 417 lines and it reported 417 lines yanked. -- Don't stop where the ink does.

Re: Syntax match first word of line

2016-12-27 Thread Shawn H Corey
; you > would use \s* to find "ZERO or more whitespace chars". A better choice might be to use \W* instead. This will make non-word characters. -- Don't stop where the ink does. Shawn H Corey -- -- You received this message from the "vim_use" maillist

Re: Sed substitution did not go as planned...

2017-02-05 Thread Shawn H Corey
ap :noh > > which feels intuitive to me. YMMV. I remap the Esc. :nnoremap :nohlsearch In normal mode, Esc does nothing but ring the bell, so this feels intuitive to me. :) -- Don't stop where the ink does. Shawn H Corey -- -- You received this message from the

Re: Sed substitution did not go as planned...

2017-02-05 Thread Shawn H Corey
On Sun, 5 Feb 2017 21:41:34 +0100 Christian Brabandt wrote: > On So, 05 Feb 2017, Shawn H Corey wrote: > > > I remap the Esc. > > > > :nnoremap :nohlsearch > > > > In normal mode, Esc does nothing but ring the bell, so this feels > > intuitive t

W-word Boundaries

2017-02-13 Thread Shawn H Corey
ot;_" for italic, and "-" for strikeout. \< and \> only works for italic. Does anyone know a more elegant way? -- Don't stop where the ink does. Shawn H Corey -- -- You received this message from the "vim_use" maillist. Do not top-post! Type yo

Re: Ambiguity about what $ means?

2017-03-06 Thread Shawn H Corey
"Anchors are a different breed. They do not match any character at all. Instead, they match a position before, after, or between characters." http://www.regular-expressions.info/anchors.html -- Don't stop where the ink does. Shawn H Corey -- -- You received this message from

Re: Fixate window layout?

2017-03-22 Thread Shawn H Corey
ertain layout across sessions or even maintain a > > specific layout. I want __certain__ windows not to change e.g. when > > another buffer/window is closed, resized, split etc. > > Try 'winfixheight' and 'winfixwidth'. > And 'winpos' for position. --

Re: Edit a Mac file with 0x13 CR newlines on Windows?

2017-03-24 Thread Shawn H Corey
agic to set the file format in the file. See http://vim.wikia.com/wiki/Modeline_magic -- Don't stop where the ink does. Shawn H Corey -- -- 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 infor

Re: List not working for me any more

2017-04-22 Thread Shawn H Corey
m/forum/#!forum/vim_use -- Don't stop where the ink does. Shawn H Corey -- -- 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 http://www.vim.org/maillist.php --- You recei

Re: List not working for me any more

2017-04-22 Thread Shawn H Corey
problem either receiving messages or sending them. Perhaps I > should unsubscribe and resubscribe. Have you checked your spam filter? Do it thru your browser. Sometimes Gmail is very aggressive about spam. -- Don't stop where the ink does. Shawn H Corey -- -- You receiv

Re: Vim Improvement suggester

2017-04-25 Thread Shawn H Corey
> that the feature would bring to the table. I use / (search) to move around a lot. It is the fastest way I found (so far). ☺ The second fastest is to use an after/ftplugin to preset marks. -- Don't stop where the ink does. Shawn H Corey -- -- You received this message from the

Re: vim seems to use perl options not in my perl

2017-06-05 Thread Shawn H Corey
On Mon, 5 Jun 2017 09:31:05 -0400 aroc...@vex.net wrote: > > Seems like vim is requiring some specific versions/features > > of perl? > > Which features? What is happening? > Perl's features: http://perldoc.perl.org/feature.html -- Don't stop where the i

Re: Regula expressions: How to find a string without some other string

2017-07-05 Thread Shawn H Corey
On Wed, 5 Jul 2017 03:33:16 -0700 (PDT) Igor Forca wrote: > @Christian, interesting technique and working fine. Just wondering > what is the purpose of \%, it is working with or without this string. :help \%( -- Don't stop where the ink does. Shawn H Corey -- -- You re

Re: Which file control the action of indent?

2017-07-22 Thread Shawn H Corey
ect your changes from any updates to the regular file. -- Don't stop where the ink does. Shawn H Corey -- -- 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: Sorry to use the `e' word but does vim have similar to cperl

2017-08-26 Thread Shawn H Corey
> get no help... no tricky inserts or the like. > Do you mean key mappings$ Type the following and press ENTER: :help map -- Don't stop where the ink does. Shawn H Corey -- -- You received this message from the "vim_use" maillist. Do not top-post! Type yo

Re: Does the ".cl" extension have any special meaning to vim?

2017-08-30 Thread Shawn H Corey
't stop where the ink does. Shawn H Corey -- -- 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 http://www.vim.org/maillist.php --- You received this message because you are

Re: Splits and resizing

2017-08-31 Thread Shawn H Corey
h " double width " wider than single noremap :set lines=60 columns=100:winpos 500 0 noremap :set lines=60 columns=201:winpos 100 0 noremap :set lines=60 columns=151:winpos 250 0 -- Don't stop where the ink does. Shawn H Corey -- -- You received this message from t

Re: Pdf's produced by MacVim's Print are not printable with Mac Preview

2017-09-08 Thread Shawn H Corey
s files to PDF. Since CUPS was originally developed by Apple, you should be able to download it. cups-pdf http://www.cups-pdf.de/ CUPS https://www.cups.org/ -- Don't stop where the ink does. Shawn H Corey -- -- You received this message from the "vim_use" maillist. D

Re: Revisited: Passing selected text as an argument to an external script

2008-10-12 Thread Mr. Shawn H. Corey
On Sun, 2008-10-12 at 16:12 +0200, Harald Vajkonny wrote: > Hello, > > thanks for your answer to my previous question. Now I'm trying to do > something more complicated, i.e. communicating between the vim-user and > my perl-script. Is there any possibility to interact with the vim user > from a s

Re: Revisited: Passing selected text as an argument to an external script

2008-10-13 Thread Mr. Shawn H. Corey
On Mon, 2008-10-13 at 08:10 +0200, Harald Vajkonny wrote: > Wonderful, thank you :) > > I'm running it in a yakuake term on linux (should be close to an > xterm). > It works fine with the following piece of code: > > #!/usr/bin/perl > open(OUT, ">>testappend"); > @text=<>; > print OUT ("@text\n"

Re: Revisited: Passing selected text as an argument to an external script

2008-10-13 Thread Mr. Shawn H. Corey
On Mon, 2008-10-13 at 16:02 +0200, Harald Vajkonny wrote: > > Mr. Shawn H. Corey schrieb: > >> print OUT ("@text\n"); > >> print ("@text"); > >> > > > > # I'm pretty sure the above two lines should be: > > print

Re: Moving around in mail replies

2008-11-07 Thread Mr. Shawn H. Corey
On Fri, 2008-11-07 at 22:56 +0100, Erik Hahn wrote: > > The common Page up/down keys do the same, I find them more convient. > I have the following in my .vimrc map map They are Control Up and Down Arrows and scroll the buffer up and down one line regardless of where cursor currently is

Re: Use the Last Searched String in Find/Replace

2008-11-10 Thread Mr. Shawn H. Corey
On Mon, 2008-11-10 at 02:13 -0800, Srikanth wrote: > Lot of times I search for strings using the * command and I would > replace the searched string with some other string but how to avoid > typing the last searched string again in the ":%s/ > /" command? The last search pattern is stored in the

Re: Syntax Folding

2008-11-11 Thread Mr. Shawn H. Corey
On Tue, 2008-11-11 at 07:43 -0600, Tim Chase wrote: > To fold based on that definition, you can use > >:set foldmethod=expr >:set foldexpr=strlen(matchstr(getline(v:lnum),'^-*')) > Shouldn't the pattern be: '^--*' -- Just my 0.0002 million dollars worth, Shawn The map is not t

Re: command to paste into ex

2008-11-20 Thread Mr. Shawn H. Corey
On Thu, 2008-11-20 at 14:34 -0600, fREW Schmidt wrote: > Hello All, > > At some point I knew a command that you could use to paste visually > selected text (or something along those lines) into the ex command > box. I couldn't find it in the docs but I presume I didn't know where > to look. Any

Re: How to change the behavior of '*', when searching string under cursor?

2008-11-29 Thread Mr. Shawn H. Corey
On Sat, 2008-11-29 at 12:50 -0600, Tim Chase wrote: > > I have perl.vim installed. > > > > File::Path > > > > Suppose I have the above text in a .pl file and the cursor is on > > 'Path'. When I press *, it will search for \. I want vim > > to search for \. Can somebody let me know how to do it?

Re: How to change the behavior of '*', when searching string under cursor?

2008-11-29 Thread Mr. Shawn H. Corey
On Sat, 2008-11-29 at 12:53 -0800, Peng Yu wrote: > The vim in my system is of version 7.0. I think that it is actually > because of perl-support that I just installed recently instead of > perl.vim as I mentioned in the original post. > > http://www.vim.org/scripts/script.php?script_id=556 > >

Re: How to change the behavior of '*', when searching string under cursor?

2008-11-29 Thread Mr. Shawn H. Corey
On Sun, 2008-11-30 at 00:08 +0100, Tony Mechelynck wrote: > Actually, 'iskeyword' should be set by an ftplugin, not a syntax > script > (and by :setlocal, not :set, to avoid clobbering the settings for > other > files and the defaults for future new files of a different filetype). > The current

Re: Case sensitive :write

2008-11-30 Thread Mr. Shawn H. Corey
On Sun, 2008-11-30 at 19:49 -0800, bgold12 wrote: > Hey, I've just discovered that vim doesn't retain the case of the > filename you provide as the argument to the :write command if there's > a filename by the same name but different case in the folder you're > saving to, or if you're writing a fi

Re: turning off showmatch

2008-12-02 Thread Mr. Shawn H. Corey
On Tue, 2008-12-02 at 12:59 -0800, Dan Heller wrote: > To be clear, vim is doing the showmatch behavior -- it puts the cursor > on > BOTH the open and close bracket/brace/paren -- and I want to turn this > off. > I can't. My "showmatch" setting is off, but the behavior doesn't turn > off. > What's

Re: turning off showmatch

2008-12-02 Thread Mr. Shawn H. Corey
On Tue, 2008-12-02 at 13:42 -0800, Dan Heller wrote: > I just want to turn it off -- that's entirely different. > > Now, it just so happens that my terminal emulation doesn't "jump" the > cursor, or anything. It merely places TWO blocks at the start and end > of the > matching brackets. See the a

Re: turning off showmatch

2008-12-02 Thread Mr. Shawn H. Corey
On Tue, 2008-12-02 at 14:56 -0800, Dan Heller wrote: > FINALLY! Man, that was aggravating. > How can I prevent the loading of the plugin in the first place? > In vim, type :help matchparen and search for "avoid loading this plugin" -- Just my 0.0002 million dollars worth, Shawn The k

Temporarily Changing A :set Option

2008-12-03 Thread Mr. Shawn H. Corey
Hi, I have the following map: :map :set textwidth=60gqap:set textwidth=0 Is the a more elegant way to do this? -- Just my 0.0002 million dollars worth, Shawn The key to success is being too stupid to realize you can fail. --~--~-~--~~~---~--~~ You

Re: vim + unix shell + perl better than moder GUI IDEs like Eclipse or NetBeans ?

2008-12-17 Thread Mr. Shawn H. Corey
If you use Perl, you don't need any shell. -- Just my 0.0002 million dollars worth, Shawn The key to success is being too stupid to realize you can fail. --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, v

Re: creating (ascii) tables

2008-12-21 Thread Mr. Shawn H. Corey
On Sun, 2008-12-21 at 09:01 -0800, rob wrote: > Is there a way, like a plugin or a perl/python tool, to draw ascii > tables like below without having to painfully do it by hand? I'd like > to be able to a) easily navigate between cells b) bottom> justify text in cell c) edit cells and have the

Re: [vimhelp-de] merry christmas

2008-12-26 Thread Mr. Shawn H. Corey
On Sat, 2008-12-27 at 00:45 +1100, Ben Schmidt wrote: > Though at least for those of us who celebrate Christmas *Day* on > December 25 (and perhaps for the January 7 crowd too), Christmas > itself > is a 12-day season (also called Christmastide) so it's not late at all > in my books (and for me it

Re: Strange result of reading from shell

2009-01-15 Thread Mr. Shawn H. Corey
On Thu, 2009-01-15 at 07:53 -0800, WL wrote: > Hi, > > I'm using gvim launched from an linux xterm. > > I want to work with all the files in the current directory so I do :r! > ls > the result is full of strange characters that get in the way of > editing the file. > I get something like (ignore

Re: Strange result of reading from shell

2009-01-15 Thread Mr. Shawn H. Corey
On Thu, 2009-01-15 at 15:39 -0800, Gary Johnson wrote: > To verify that you are using an alias, you can execute (at a shell > prompt): > > alias ls > > I think you'll see something like this: > > ls='ls --color=always' > > If you can find where that alias is defined--probably in your >

Re: offtopic - readability in programing fonts

2009-01-24 Thread Mr. Shawn H. Corey
On Sun, 2009-01-25 at 02:00 +0100, Jesus Sanchez wrote: > o Colors are better identified with black backgrounds when the > differences are few. > Colours are better identified if they are surround by other colours. Human have colour invariance. This means colours are adjusted so an item that

Re: offtopic - readability in programing fonts

2009-01-24 Thread Mr. Shawn H. Corey
On Sun, 2009-01-25 at 03:51 +0100, Jesus Sanchez wrote: > When I said colors are better identified with black backgrounds I was > trying to say that if you put a black square, inside that scuare you > put > two lines of 1 pixel width. One line is a pure red and other line is a > little modificatio

Re: offtopic - readability in programing fonts

2009-01-25 Thread Mr. Shawn H. Corey
On Sun, 2009-01-25 at 16:23 +0100, Jesus Sanchez wrote: > Very nice post, and very very complete. I agree (and think everyone > also > agree) the fact that the screens today still use the "grey on black" > theme for the terminals (tty ones and VGA modes) cause the history > repercusion about this.