Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

1,446 results from messages in vim

Advanced Search
  • On 15/10/12 12:16 AM, Dotan Cohen wrote: > On Sun, Oct 14, 2012 at 1:54 PM, Marcin Szamotulski wrote: >> If you yanked the line then it is still in the 0 register. You can paste >> from it. Though this will be four keystrokes: V"0p >> >> If you do that often you could use a map: >> >> vnoremap P "0p >> >> and then there are only two keystrokes: VP >> >> Best, >> Marcin >> > > Thank...
    Ben Schmidt Oct 15, 2012
  • On 12/09/12 9:06 AM, Derek Ashley Thomas wrote: > Oh, sorry I was not aware of vim-app on macports. The only additional comment I > have is that you may want to have "if has('gui')" before changing the $PATH > variable since you probably don't need to change it in terminal-vim. > > Also, my MacVim does not seem to load any environment variables for the user > (using zsh). At least...
    Ben Schmidt Sep 17, 2012
  • On 10/09/12 11:46 AM, Tim Chase wrote: > On 09/09/12 20:43, Bee wrote: >> cal in a doc >> From within terminal vim I can issue the command: >> !cal >> and it will display the current month. >> How can I get it placed in the current document? > > :r! cal > > which you can read about at > > :help :r! I suggest, though, that it is more helpful to view it as :r !cal The '!' belongs...
    Ben Schmidt Sep 9, 2012
  • Fetching Sponsored Content...
  • ...Saturday, August 4, 2012 11: 59:49 PM UTC+12, Daan wrote: >>> I was thinking about remapping s to $, because: X-Original-Sender: mail_ben_schmidt@^$1 X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 98.138.229.224 is neither permitted nor denied...
    Ben Schmidt Aug 5, 2012
  • On 1/08/12 4:08 PM, Peter Miller wrote: > i gather from the lack of response that my previous question has no > feasible answer. You may yet get an answer. I don't think it's impossible to do javascript in strings, but it is a little tricky. It's the sort of area we delve into relatively rarely, and indeed, relatively few of us go there at all. Formulating a truly useful response...
    Ben Schmidt Aug 1, 2012
  • On 1/08/12 1:05 PM, ping wrote: > b.t.w, just curious is there anything about vim that you don't know of? :D Yeah, but I try not to answer those questions. Smiles, Ben. -- 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
    Ben Schmidt Jul 31, 2012
  • > thanks, but... > I tried following, still I need to press 4 enter... > > function! s:Asciidoc2All() > let a:destdir = "/Dropbox/temp-transfer/" > let a:filebasename = "%:t:r" > let tohtml = "silent w|!asciidoc -a toc -a toclevels=6 -o" . a:destdir . "/" . > a:filebasename . ".html \"%\"" > let tofodt = "silent w|!asciidoc -b odt -o" . a:destdir . "/" . a:filebasename . > ".fodt...
    Ben Schmidt Jul 31, 2012
  • On 1/08/12 7:38 AM, ping wrote: > hi experts: > I now everything after > :!ext-prog > will be treated as param of that ext-prog. so I can't > :!ext-prog param1 param2 > but then how to avoid keep typing in following cases? > > command! AsciidocA call s:Asciidoc2All() > > function! s:Asciidoc2All() > w|!asciidoc -a toc -a toclevels=6 -o /mnt/public_html/temp/%:t:r.html "%" > w...
    Ben Schmidt Jul 31, 2012
  • On 1/08/12 10:07 AM, Ben Schmidt wrote: >>>> filetype=asciidoc >>>> Last set from /etc/vim/ftdetect/asciidoc_filetype.vim >>>> >>>> what is that /etc/vim/ folder doing here? >>>> >>>> runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,~/.vim/after >>>> > >> :scriptnames >> 1: /usr/share/vim/vimrc >> 2: /usr/share/vim/vim73/syntax/syntax...
    Ben Schmidt Jul 31, 2012
  • >>> filetype=asciidoc >>> Last set from /etc/vim/ftdetect/asciidoc_filetype.vim >>> >>> what is that /etc/vim/ folder doing here? >>> >>> runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,~/.vim/after > :scriptnames > 1: /usr/share/vim/vimrc > 2: /usr/share/vim/vim73/syntax/syntax.vim > 3: /usr/share/vim/vim73/syntax/synload.vim > 4: /usr...
    Ben Schmidt Jul 31, 2012