calling a function automatically and mark not set

2011-11-23 Thread Chris Lott
not set E20: Mark not set E20: Mark not set E20: Mark not set E20: Mark not set Maybe related, that filetype also has an autocmd in .vimrc to set the filetype: autocmd BufNewFile,BufReadPost *.mkd,*.markdown,*.mdown,*.mtxt set filetype=mkd Can anyone tell me what I am doing wrong? c -- Chris Lott

strip whitespace and carriage returns from end of file

2011-11-25 Thread Chris Lott
I have the following shortcut to strip whitespace from the end of a file: nnoremap leaderW :%s/\s\+$//cr:let @/=''CR How can I have that command also strip all trailing carriage returns? c -- Chris Lott -- You received this message from the vim_use maillist. Do not top-post! Type your reply

Re: strip whitespace and carriage returns from end of file

2011-11-26 Thread Chris Lott
way of cleaning them up... c -- Chris Lott -- 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

Re: bubblegum -- a vim color scheme based on xoria256

2011-11-29 Thread Chris Lott
it to black, much of the text and vim separator between windows (and cursor) don't show up. I'm a newbie, so maybe I'm missing something more than :colorscheme bubblegum c -- Chris Lott -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

savevers script not saving numbered backups

2011-11-29 Thread Chris Lott
savevers_dirs=backupdir set patchmode=.bu In fact, I am getting no backups at all! $HOME shows as /Users/Chris -- which is as expected. I have the directory /Users/Chris/.backups created but it remains empty. Any idea how to troubleshoot this? c -- Chris Lott -- You received this message from

'f' across lines without search

2011-12-10 Thread Chris Lott
to turn highlighting off, but this seems like it should be something I can do with 'f' and 'F' or some equivalent... c -- Chris Lott -- 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

run shell command, launch app, but keep focus

2011-12-12 Thread Chris Lott
. Is there a way I can do that? c -- Chris Lott -- 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

silent not so silent...

2011-12-12 Thread Chris Lott
to continue -- I expected silent would stop that from happening? Is there some other way to do this? c -- Chris Lott -- 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

show tab number in the statusline

2011-12-15 Thread Chris Lott
I'm having no luck searching for an answer to this: How can I show the current tab number in the status line? I'd like to see the tab number without showing the tabs across the top of the screen (where I can easily get the tab number to show)... c -- Chris Lott ch...@chrislott.org -- You

wqall! and closing buffers without a filename

2011-12-18 Thread Chris Lott
I know I can do :wqall to close all buffers and quit if all have filenames, but how can I close all buffers and quit and *discard* buffers without filenames? c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

highlighting in terminal

2012-01-03 Thread Chris Lott
, but not at all in terminal. Is there an easy way to get the highlights in terminal vim? c -- Chris Lott ch...@chrislott.org -- 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

Re: highlighting in terminal

2012-01-03 Thread Chris Lott
On Tue, Jan 3, 2012 at 10:34 AM, sc tooth...@swbell.net wrote: - download and install the CSApprox plugin [...] oh wait -- you wanted an easy way?  never mind That was plenty easy enough... and worked perfectly! Thanks! c -- Chris Lott ch...@chrislott.org -- You received this message from

Re: how to enable color scheme

2012-01-10 Thread Chris Lott
files are typically without .sh extension. You could use a modeline (see :help modeline) in your file, something like: # vim: set ft=bash: c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying

completion based on a set of files

2012-01-12 Thread Chris Lott
, and C. These are all prose documents (markdown), not code. I'm lost in the documentation for completions. Is there a relatively straightforward way to achieve this? c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

Re: completion based on a set of files

2012-01-12 Thread Chris Lott
On Thu, Jan 12, 2012 at 9:19 AM, Marty Fried ma...@leftcoast-usa.com wrote: On Thu, Jan 12, 2012 at 10:07 AM, Chris Lott ch...@chrislott.org wrote: What I'd like to do, though, is have it complete based on the contents of a bunch of previous files in the series: so when I'm editing File D

Re: vimdiff: ignore linebreaks

2012-01-13 Thread Chris Lott
is simple enough. c -- Chris Lott ch...@chrislott.org -- 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

Re: What did I do?

2012-01-16 Thread Chris Lott
(rather than breaking each line with a line break as the quoted text above does), which is sometimes (often?) the preferred mode when working with prose. c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: What did I do?

2012-01-16 Thread Chris Lott
according to the margin :) c -- Chris Lott ch...@chrislott.org -- 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

Re: What did I do?

2012-01-16 Thread Chris Lott
is best (if, indeed, it matters). c -- Chris Lott ch...@chrislott.org -- 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

Prefix lines with a counter

2012-01-21 Thread Chris Lott
when rendering, but that's not so good for human readers of plain text. Is there a way I can have vim prefix the lines with an ascending counter like the above? c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

mixed syntax highlighting

2012-01-21 Thread Chris Lott
Is it possible to have a mixed syntax highlighting? For instance, where X/HTML code with embedded PHP (I know, I know) or Markdown with embedded PHP is highlighted correctly in each section? c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top

Re: What did I do?

2012-01-21 Thread Chris Lott
to work for me. c -- Chris Lott ch...@chrislott.org -- 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

Re: Prefix lines with a counter

2012-01-23 Thread Chris Lott
the time, but otherwise this takes care of many sequential prefix needs. c -- Chris Lott ch...@chrislott.org -- 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

Re: What did I do?

2012-01-24 Thread Chris Lott
at it. Uncertain of the reason for the reference. It controls how quickly or slowly you can press the key sequence and have it trigger the mapping or not. c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: [vim] Problem with `inoremap jj ESC'

2012-01-29 Thread Chris Lott
On Sun, Jan 29, 2012 at 9:01 PM, Clark J. Wang dearv...@gmail.com wrote: As recommended by other people I have 'inoremap jj ESC' defined in my vimrc and it works well for most of the time. A few days ago when I copy-n-paste a lot of text into vim, the result was always wrong. It took me quite

Re: [vim] Problem with `inoremap jj ESC'

2012-01-30 Thread Chris Lott
/nopaste. But it's so rare that it's hardly a burden. c -- Chris Lott ch...@chrislott.org -- 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

Delete intervening wnitespace (and CR) between words

2012-02-02 Thread Chris Lott
Given this: Sheets Sheets of gold Is there an efficient way to delete the intervening white space and CRs between the 'Sheets' to end up with Sheets Sheets of gold ? c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your

Fuzzy Finder vs CtrlP

2012-02-04 Thread Chris Lott
Has anyone used Fuzzy Finder and CTRLP enough to have thoughts on which one might be preferable? They seem quite similar, but I might be missing something that will come back to haunt me later :) c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do

Re: Dvorak

2012-02-12 Thread Chris Lott
always been told that the superiority of Dvorak was a myth. I've yet to see anything that makes me think otherwise! c -- Chris Lott ch...@chrislott.org -- 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

multiple autocommands

2012-02-13 Thread Chris Lott
\ --reference-links\ --no-wrap c -- Chris Lott ch...@chrislott.org -- 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

Re: multiple autocommands

2012-02-14 Thread Chris Lott
On Tuesday, February 14, 2012, Ben Fritz fritzophre...@gmail.com wrote: On Feb 13, 3:11 pm, Chris Lott ch...@chrislott.org wrote: Is there a more efficient or better way to cluster together a set of autocommands in my .vimrc? For instance, I have the following: au BufNewFile,BufRead *.mtxt

Re: Vim for LaTeX

2012-03-02 Thread Chris Lott
along the process writing in any of the markups. c -- Chris Lott ch...@chrislott.org -- 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

changing text width based on window size

2012-03-09 Thread Chris Lott
I'd like to come up with a method to toggle between the current window size and text width and a maximized window with a different text width. I have no idea how to proceed. Are there methods to read the current window and textwidth and store them so I can toggle back? c -- Chris Lott ch

Re: changing text width based on window size

2012-03-09 Thread Chris Lott
do not want textwidth...I don't want this to result in a text file that is centered so, just as the display for typing... c -- Chris Lott ch...@chrislott.org -- 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

Re: motion t} does not work

2012-05-02 Thread Chris Lott
is not on the same line? Use a / search. Or EasyMotion: http://www.vim.org/scripts/script.php?script_id=3526 c -- Chris Lott ch...@chrislott.org -- 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

Re: Folding on markdown headers

2012-05-26 Thread Chris Lott
when you set the filetype automatically... c -- Chris Lott ch...@chrislott.org -- 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

Re: Folding on markdown headers

2012-05-27 Thread Chris Lott
. And if my needs go past what Markdown can do, I just keep using Pandoc and use features it supports beyond the Markdown syntax... c -- Chris Lott ch...@chrislott.org -- 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

vim, spell check, smart quotes

2012-10-06 Thread Chris Lott
Does anyone know how I can get spell check within Vim to handle smart quotes (i.e. typographically correct ones) properly? For instance, spell check in Vim doesn't flag a word like: don't but it does flag the smart quote version as incorrect: don’t c -- Chris Lott ch...@chrislott.org -- You

LanguageTool plugin issue [was Re: vim, spell check, smart quotes]

2012-10-07 Thread Chris Lott
-c utf-8 -d WHITESPACE_RULE,EN_QUOTES -l en --api /var/f olders/y3/tfx06t6d0kx425gqyhrgv4nwgp/T/v6Jgs8o/0] failed with error: 1 Any idea how to troubleshoot this? c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply

Re: Write/Print PHP localhost results to file

2012-10-26 Thread Chris Lott
: read !wget -q -O - http://yoursite.dom/ c -- Chris Lott ch...@chrislott.org -- 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

Re: Write/Print PHP localhost results to file

2012-10-27 Thread Chris Lott
on the need, you could also have CRON run the PHP script (on the command line or through wget or curl or whatever) at whatever interval makes sense and just point the browser to the HTML file that results. I don't see why Vim is or should be any part of this. c -- Chris Lott ch...@chrislott.org -- You

surround a visual block with character(s)

2012-10-28 Thread Chris Lott
curious how to do this most efficiently without them. c -- Chris Lott ch...@chrislott.org -- 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

re-selecting block in different buffer

2012-10-30 Thread Chris Lott
The gv command is very useful. I'd like to be able to reselect a block after I have selected, cut, and pasted it into a different buffer. Is this possible? c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

GUI Tab Tooltip: list buffers

2012-10-31 Thread Chris Lott
modified/modifiable flags if getbufvar(bufnr, modified) let tip .= ' [+]' endif if getbufvar(bufnr, modifiable)==0 let tip .= ' [-]' endif endfor return tip endfunction show tooltips on tabs set guitabtooltip=%{GuiTabToolTip()} *** c -- Chris Lott ch

xa and abandon unnamed buffers

2012-11-02 Thread Chris Lott
Is there a command that will write and exit all buffers *and* abandon unnamed buffers? xa almost gets there, but it fails if there are unnamed buffers. c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: mapleader question

2012-11-02 Thread Chris Lott
If you set mapleader to another chracter, you do the same thing you have been doing with /A but you replace the '/' with the new mapleader. So, if you: let mapleader = , Then you would type ,A c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do

Re: mapleader question

2012-11-02 Thread Chris Lott
no matter what leader key I have defined (I use the comma), so I would press ,A where you would, if you haven't changed it, press \A c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying

search and replace using a list of characters to replace

2012-11-03 Thread Chris Lott
I have a large text file in which I need to remove all punctuation, all special characters (smart quotes) and the like, and a bunch of selected words. Can this be done within Vim? c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type

Re: A Vim set question

2012-11-03 Thread Chris Lott
to lastline (only) If you don't have or need any other options for display, then they are functionally equivalent. To be honest, I'm not sure how settings would be mixed--the only other display option I have seen is uhex and I have no idea if lastline and uhex can co-exist c -- Chris Lott ch

Re: sourcing functions in file with has gui_running from .vimrc

2012-11-04 Thread Chris Lott
use the GUIEnter command... But it worked! Thanks! c -- Chris Lott ch...@chrislott.org -- 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

Re: Snippet for adding closing parentheses in ultisnips

2012-11-04 Thread Chris Lott
the completions and puts the cursor inside...plus when you get to the end you just type the closing character and it jumps over that closing character. Much easier than CTRL-J for me. c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply

Re: Snippet for adding closing parentheses in ultisnips

2012-11-04 Thread Chris Lott
On Sun, Nov 4, 2012 at 10:08 AM, Marco net...@lavabit.com wrote: 2012-11-04 Chris Lott: The only thing that bothers me is that the default key combination to jump over delimiters is S-Tab. I'd like to map it Ctrl-j. Then it works in a consistent fashion with the other jumps. How can I

Re: Commands from insert mode

2012-11-10 Thread Chris Lott
that there are, hopefully, further editing stages involved :) It has helped me to consider Vim a text processing engine rather than an editor. c -- Chris Lott ch...@chrislott.org -- 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

Re: Alternatives to codepad.vim

2012-11-10 Thread Chris Lott
the icons and menus with: :set guioptions-=m remove menu bar :set guioptions-=T remove toolbar :set guioptions-=r remove right-hand scroll bar c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: Commands from insert mode

2012-11-11 Thread Chris Lott
is that editors featuring a typewriter mode for drafting have become commonplace...but this is essentially what Vim is for beginners...once they get into Insert mode and aren't sure how to get out. c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top

Re: Macro / Function to draw a set of characters below the line above

2012-11-11 Thread Chris Lott
level (-) headers. c -- Chris Lott ch...@chrislott.org -- 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

speeding up dictionary completion

2012-11-12 Thread Chris Lott
-cache the words file in some way? I find the dictionary completion very useful, but not at this pace! c -- Chris Lott ch...@chrislott.org -- 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

Re: Show the list of the files inside the folder of the current file

2012-11-13 Thread Chris Lott
:FufFileWithCurrentBufferDir@en CtrlP is a good, maintained, alternative to FuzzyFinder which has options so that finding a file can be the file's current working directory (or a few other options). You could also look at :h acd if that works with your plugins. c -- Chris Lott ch...@chrislott.org -- You

Re: Show the list of the files inside the folder of the current file

2012-11-13 Thread Chris Lott
current working directory is your home directory and that's what FuzzyFile finder shows. There is no folder that belongs to the file I'm editing because you have no file open. What directory do you want it to be if you have nothing in a buffer? How is Vim to know? c -- Chris Lott ch...@chrislott.org

Re: Subdirectories for help files

2012-11-13 Thread Chris Lott
. c -- Chris Lott ch...@chrislott.org -- 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

Re: Subdirectories for help files

2012-11-14 Thread Chris Lott
On Wed, Nov 14, 2012 at 12:46 AM, Marco net...@lavabit.com wrote: 2012-11-13 Chris Lott: Not sure if it's an option, but using a plugin manager like [Pathogen](https://github.com/tpope/vim-pathogen) or [Vundle](https://github.com/gmarik/vundle) allows you to keep the help files in place

Re: is there an ios vim forum?

2012-11-14 Thread Chris Lott
of us who routinely use a keyboard with the iPad, the iOS Vim could be useful (given the pain of having to sync to get to the files), but it is too buggy to really use much. c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply

Re: how fold all comment line?

2012-11-14 Thread Chris Lott
On Wed, Nov 14, 2012 at 10:05 PM, 王军 wangjun850...@gmail.com wrote: Hi everyone: I want to fold all line which are comment. eg. //aa Something like this? set fdm=expr set fde=getline(v:lnum)=~'^\s*\/\/\\\|^\s*$'?1:0 c -- Chris Lott ch...@chrislott.org -- You

Rewrapping long lined email quotes

2012-11-18 Thread Chris Lott
/Fix_email_quotations_with_long_lines but I just end up with: a really long line here that wraps that has no wraps in it and drives me crazy (note the lack of a on the second line). This seems like it should be easy, but I am just not making it happen. Help? c -- Chris Lott ch...@chrislott.org

Re: Vim vs GVim

2012-11-19 Thread Chris Lott
Marc Weber wrote: :h 'guioptions' What he said. Turn off all the visual cruft and you get the best of both worlds... c -- Chris Lott ch...@chrislott.org -- 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

Re: Is Vundle dead?

2012-11-25 Thread Chris Lott
On this topic-- is it difficult to move from Pathogen to VAM? Can I keep my bundle directory of plugins but use VAM with it? c -- Chris Lott ch...@chrislott.org -- 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

why does sourcing my .vimrc is reducing font size?

2012-11-25 Thread Chris Lott
to be changed globally because it persists when I open new files. Anyone have an idea what might be triggering this? (and apologies if my .vimrc has any issues--I'm poet not a programmer) c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type

Re: why does sourcing my .vimrc is reducing font size?

2012-11-25 Thread Chris Lott
On Sun, Nov 25, 2012 at 11:57 AM, Chris Lott ch...@chrislott.org wrote: The strange thing that is happening is that everything is fine when I use Vim, generally, but if I make changes to the .vimrc and then source it (using :so %), the font size gets smaller (as does the window size) though

quicker way to switch and test color schemes?

2012-11-27 Thread Chris Lott
If I have two files open to test a colorscheme, the only way I can get a true view of the scheme, without artifacts from the previous, is to run: syntax reset each time I try a new colorscheme... Is there a faster way? c -- Chris Lott ch...@chrislott.org -- You received this message from

Re: autocmd pattern exclusion?

2012-11-28 Thread Chris Lott
-autocmd-on-all-filetypes-except c -- Chris Lott ch...@chrislott.org -- 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

Re: email plugin

2012-11-29 Thread Chris Lott
Gmail + Pentadactyl (or Vimperator) works like a charm for me. c -- Chris Lott ch...@chrislott.org -- 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

Re: email plugin

2012-11-30 Thread Chris Lott
chance you would share any of these? c -- Chris Lott ch...@chrislott.org -- 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

scratch buffer opening with a in the command line

2012-12-03 Thread Chris Lott
anything. I have no idea what that means or where it is coming from. So, where is it coming from and how can I stop it? c -- Chris Lott ch...@chrislott.org -- 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

Re: scratch buffer opening with a in the command line

2012-12-04 Thread Chris Lott
On Tue, Dec 4, 2012 at 2:02 AM, Marcin Szamotulski msza...@gmail.com wrote: On 21:05 Mon 03 Dec , Chris Lott wrote: I am trying to modify this script: I don't know either. But you can just add: nmap buffer q :quitcr after the line with 'mapclear buffer'. Then you can press q to quit

Re: scratch buffer opening with a in the command line

2012-12-04 Thread Chris Lott
On Tue, Dec 4, 2012 at 7:17 AM, Chris Lott ch...@chrislott.org wrote: On Tue, Dec 4, 2012 at 2:02 AM, Marcin Szamotulski msza...@gmail.com wrote: On 21:05 Mon 03 Dec , Chris Lott wrote: I am trying to modify this script: FYI: I figured this out. It was a stray quotation mark *I* put

execute edit command

2012-12-04 Thread Chris Lott
Why does this not work? let dnfile = strftime(%Y) . .md nmap leaderdn execute 'e ' fnameescape(dnfile) dnfile is set properly, but when I try to invoke it, it makes a change to the current buffer... c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do

Re: E490: no fold found

2012-12-06 Thread Chris Lott
://stackoverflow.com/questions/3828606/vim-markdown-folding But I would recommend considering the Pandoc plugin, which handles markdown folding and adds much more: https://github.com/vim-pandoc/vim-pandoc c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do

calling a function on bufenter,bufnew,bufread

2012-12-07 Thread Chris Lott
noshowmode :set laststatus=0 :set noruler :set noshowcmd :call VimWriteRoom() endfunction nnoremap WW :call WW()CR au BufNewFile,BufEnter,BufRead vimperator.txt :call WW()cr c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type

Re: calling a function on bufenter,bufnew,bufread

2012-12-07 Thread Chris Lott
to the function in the autocommand did nothing. Happy? Thanks. c -- Chris Lott ch...@chrislott.org -- 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

Re: calling a function on bufenter,bufnew,bufread

2012-12-07 Thread Chris Lott
On Fri, Dec 7, 2012 at 10:32 AM, Marcin Szamotulski msza...@gmail.com wrote: On 06:46 Fri 07 Dec , Chris Lott wrote: function! WW() :set showtabline=0 :set noshowmode :set laststatus=0 :set noruler :set noshowcmd :call VimWriteRoom() endfunction nnoremap WW :call WW()CR

changing a type of selection

2013-01-26 Thread Chris Lott
reselects, but in the previous (block) mode. I'd like something to switch while selected or to make 'gv' keep the new type. I hope the question makes sense! c -- Chris Lott ch...@chrislott.org -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

Sorting multiple sections

2013-01-31 Thread Chris Lott
. What I need to do is figure the most efficient way to sort each list in each section alphabetically. Thoughts? c -- Chris Lott ch...@chrislott.org -- -- 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

Re: vim: is there an easy way to visual select the just pasted texts?

2013-02-08 Thread Chris Lott
re: Selecting pasted text. If you do a search for re-selecting block in different buffer you will see some more advice on this topic. c -- Chris Lott ch...@chrislott.org -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying

Re: ios vim and plugins

2013-02-17 Thread Chris Lott
On Sun, Feb 17, 2013 at 12:42 PM, Bee fo...@calcentral.com wrote: Making progress. I keep trying other ios editors, so far only iText Pad is even usable. Still ios vim is much better, but needs DropBox or WiFi file sharing support. Nothing competes with Vim, but I still can't get past the

Re: ios vim and plugins

2013-02-17 Thread Chris Lott
On Sun, Feb 17, 2013 at 7:31 PM, Bee fo...@calcentral.com wrote: On Feb 17, 4:07 pm, Chris Lott ch...@chrislott.org wrote: On Sun, Feb 17, 2013 at 12:42 PM, Bee fo...@calcentral.com wrote: Nothing competes with Vim, but I still can't get past the fact that--most of the time--I can't ever get

Re: ios vim and plugins

2013-02-19 Thread Chris Lott
no problems with any other editing apps and I have used a LOT of them). An extra row of virtual keys, as some editors provide, would be useful, but just a kludge for those of us who prefer a keyboard we can type significantly faster on. c -- Chris Lott ch...@chrislott.org -- -- You received

Re: ios vim and plugins

2013-02-19 Thread Chris Lott
make the keyboard work it was so laggy that I didn't see the point in it! c -- Chris Lott ch...@chrislott.org -- -- 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

Re: ios vim and plugins

2013-02-19 Thread Chris Lott
works EVERYWHERE except with Vim. There's no good reason for that and no good reason it hasn't been examined at all nearly a year after multiple reports. This isn't some obscure accessory! But as long as it is *that* laggy, I won't find it useful. c -- Chris Lott ch...@chrislott.org -- -- You

PRIVATE [was Re: ios vim and plugins]

2013-02-19 Thread Chris Lott
, memos, reports, etc) writing. Otherwise the composition stage is itself laggy in a different way! I really wanted to note: _Bird by Bird_ is a favorite of mine... It's nice to see other writers using Vim. c -- Chris Lott ch...@chrislott.org -- -- You received this message from the vim_use

Re: mapping a substitute for the Esc key?

2013-02-19 Thread Chris Lott
, making it easy to rapidly type the two. kj would be the most natural for me, but it occurs in just enough words to be irritating... c -- Chris Lott ch...@chrislott.org -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying

Re: vim and tcomment

2013-03-21 Thread Chris Lott
On Thu, Mar 21, 2013 at 8:09 AM, Marc Weber marco-owe...@gmx.de wrote: Use github.com/MarcWeber/vim-adddon-commenting which always prefers those # // like line prefix comments and you're done. Typo in link, should be: https://github.com/MarcWeber/vim-addon-commenting Nice plugin. c -- Chris

Re: head blank selected

2013-05-02 Thread Chris Lott
to the first non-space character? You could use v^ to select rather than the shift+home. Or look at one of the smart home scripts to change the behavior: http://vim.wikia.com/wiki/Smart_home Does that help? c -- Chris Lott ch...@chrislott.org -- -- You received this message from the vim_use

Why use relative line numbers?

2013-05-29 Thread Chris Lott
-- Chris Lott ch...@chrislott.org -- -- 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 subscribed to the Google Groups

Re: Relative line numbering and current line

2013-06-02 Thread Chris Lott
this sentiment: I really wasn't understanding the issue at all until this message. But now I not only understand, but it seems like a preferable setup to me. c -- Chris Lott ch...@chrislott.org -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text

Re: How to fix h1 id strings?

2013-06-04 Thread Chris Lott
a structure that can nest...hacking the headers is a hack, but it grows to be an ugly one. c -- Chris Lott ch...@chrislott.org -- -- 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

Re: How to fix h1 id strings?

2013-06-05 Thread Chris Lott
snippets to Zencoding. Is that not true? c -- Chris Lott ch...@chrislott.org -- -- 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

Re: Which snapshot for Mountain Lion?

2013-06-17 Thread Chris Lott
snapshot run under ML? Is it recommended instead of the ML snapshot? Posted this to vim_mac yesterday and haven't gotten a response yet. Anyone here have advice about this? I'm running 7.3.754 using Brew on ML and it is rock solid. Snapshot 66, which is also 7.3.754 was also perfect. c -- Chris

append to non-blank lines in a selection

2013-06-20 Thread Chris Lott
I'm guessing I need to learn regular expressions, which confound me to no end. Any pointers to good places to learn regex would be great! c -- Chris Lott ch...@chrislott.org -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying

multiple substitutions of individual characters

2013-06-20 Thread Chris Lott
was thinking it would be cleaner to somehow use an array of characters and replacements (or something similar)? c -- Chris Lott ch...@chrislott.org -- -- 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

Re: append to non-blank lines in a selection

2013-06-21 Thread Chris Lott
. c -- Chris Lott ch...@chrislott.org -- -- 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 subscribed to the Google

  1   2   >