Skip to main content

Home/ VIM Editor/ Group items tagged html

Rss Feed Group items tagged

reckoner reckoner

Daily Vim: Vim to Postscript - 0 views

  • Here's a little Vim trick that might be of interest. If you're on a non-Windows machine, you can make the Vim hardcopy command print to a postscript file instead of a real printer. Try issue the following::hardcopy > file.ps
reckoner reckoner

[vim] deleting a pair of matching (), [] or {} - Application Development and Programming - 0 views

  • Assuming you're in normal mode and cursor is on a '('. %x<C-O>x -ap
reckoner reckoner

Vim documentation: eval - 0 views

  • :au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
  •  
    Restore the cursor to the file position in previous editing session
reckoner reckoner

Vim tips and help - Amidst a tangled web - 0 views

  • View your search history: / Ctrl-F (:q to exit)
  • Restore the cursor to the file position in previous editing session (vim.org tip) Put this line in .vimrc: au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
reckoner reckoner

IPython - User - A useful couple of scripts - 0 views

  • ERRCONDS = select.POLLHUP|select.POLLERR
    • reckoner reckoner
       
      this part doesn't work on Windows
  •  
    sadly, doesn't work with Windows.
reckoner reckoner

Daily Vim: Quick Paste - 0 views

  • You may have noticed that pasting outside text into Vim from insert mode can lead to awkwardly stair-stepped text. You may also know that this is easily avoidable via :set paste from normal mode. I paste from outside often enough, that I've added the following to my vimrc making it that much easier.set pastetoggle=<F5>
‹ Previous 21 - 29 of 29
Showing 20 items per page