Skip to main content

Home/ VIM Editor/ Contents contributed and discussions participated by reckoner reckoner

Contents contributed and discussions participated by reckoner reckoner

reckoner reckoner

GVim won't 'cd' to dropped file's dir - vim_use | Google Groups - 0 views

  • Andrew schrieb: > Is there a way to get GVim to auto-`cd` to a dropped file's directory? > My gripe is that when I `:sav` the edited file giving it a new name, it > ends up in my home directory, which *of course* is not what I'd want to > do. > I'm using version 7.0.237 on KDE 3.5 for Linux. > Thanks in advance, > Andrew     :h drag-n-drop hold down Shift while dropping the file. For similar situations, I need this often but not always, thus I mapped a function key to it:     :nn <F3> :cd %:p:h<cr>     :h ::p If you want it always, set 'autochdir'     :h 'acd
reckoner reckoner

efficient editing with VIM - Amidst a tangled web - 0 views

  • ]p: Just like p for pasting, but it automatically adjusts the indent level of the pasted code to match the indentation of the cursor location. This will save me from having to spend time reindenting code.
reckoner reckoner

marvim - Macro Persistent Storage and Shareable Repository for VIM : vim online - 0 views

  • MARVIM - MAcro Repository for VIM "Give your most complex macros a name and store it for future recall and use"
reckoner reckoner

Debugger for Vim Code? - vim_use | Google Groups - 0 views

  • >  I was wondering if there's any debugger written specifically for Vim >  code?   I've got a thorny problem on a vim plugin on Solaris (I can't >  share the code) and stepping through the code would be lovely (though I >  realize this could be difficult, given the nature of vim). As I am sure you found out from Tony's post Vim has a built in debugger for Vim scripts. What I would suggest to you is to download and use this plugin by Hari: " BreakPts - Debug Vim Scripts " Author: Hari Krishna Dara " http://www.vim.org/scripts/script.php?script_id=618 I use it regularly and love it. HTH, Dave
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>
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

Vimplugin - The best of two worlds [Vimplugin] - 0 views

  • Vimplugin is an Eclipse plugin that brings the power of the editor Vim to the Eclipse IDE. Vim is one of the most powerful editors around. But it is not an IDE. On the other hand, Eclipse is one of the most powerful IDEs. But its editor lacks many of the features vim offers. Vim is lean, Eclipse is extensible. So, just take the best of two worlds.
reckoner reckoner

Renumbering lists automatically within vim - 0 views

  •  (1) blah blah  (2) more blah blah (3) still more blah blah (4)... (5)... Now I finish point (2) and delete the line from my list. I manually renumber a long list for all points after (2). Does vim make this task any easier?
  • There's visincr... You can get visincr from:
  • Abusing the "\=" replacement evaluation described at    :help sub-replace-special you can do something like   :.,$s/(\zs\d\+\ze)/\=submatch(0)-1
reckoner reckoner

Tip #805 - Windows: gvim as an external editor : vim online - 0 views

  • This tip provides a (Windows only) means of using gvim as an external editor for almost any other program. This script has been tested with Lotus Notes and Internet Explorer on Windows NT.
reckoner reckoner

chamindra - marvim - 0 views

  •  "Give your most complex macros a name and store it for future recall and use" Problem statement(s): Can't remember those complex VIM macro sequences you use frequently?Wish you could save those macros beyond your immediate session? Wish you could share your VIM macros with each other? Why not templates as well in the same script?
  •  
    save vim macros
reckoner reckoner

clipbrd - Clipboard and other register content editor. : vim online - 0 views

  • lipbrd : Clipboard and other register content editor.
  • gvim +ClipBrd +only
reckoner reckoner

Vim Cookbook - 0 views

  • This is the Vim cookbook page. It contains short recipes for doing many simple and not so simple things in Vim. You should already know the basics of Vim, however each command is explained in detail. Each set of instructions is a complete package. Feel free to pick and choose what you need.
reckoner reckoner

Debugging Python in VIM- Peter's Blog - 0 views

  • Following my thoughts yesterday, here are some VIM python scripts to add python breakpoint and debugging features to VIM. With this set up the F7 key will set a breakpoint on a line of code, Shift-F7 will remove all breakpoints and Shift-F12 will execute a script in the python debugger. This only runs on windows as far as I know, because it uses the 'start' command to launch the debugger in a seperate process without VIM waiting for it to finish. This allows you to look through the source code (and fix it) while the debugging is still in progress.
« First ‹ Previous 41 - 60 of 136 Next › Last »
Showing 20 items per page