Skip to main content

Home/ VIM Editor/ Group items tagged ide

Rss Feed Group items tagged

reckoner reckoner

clipboarded: vim as an IDE - 0 views

  • File exploringAlright. You need two plugins, NERDTree and BufExplorer.NERDTree is started by typing :NERDTree and it will give you a much better file explorer than any other IDE. BufExplorer is started by typing \be and it will allow you to access a list of recently used files, and switch between them quickly.You might also want to bone up on windows and tabs (:help windows and :help tabs)
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

Tip #1439 - Using vim as an IDE all in one : vim online - 0 views

  • I've read a lot of tips about how to make vim as an IDE like editor. Most of them are really useful, and I want to sum up them in this tip, and then add some of my experiences.
reckoner reckoner

vimpdb - Google Code - 0 views

  • Tired of debugging Python using print statements? Don't like the cumbersome PDB (Python debugger) console? Prefer using Vim for coding your Python programs? VimPdb is the solution - allows debugging Python in an IDE-fashion, right within the Vim editor.
reckoner reckoner

VimMate - 0 views

  • VimMate is a graphical add-on to Vim with IDE-like features: it does more than the plain Vim while still being lightweight. Even with the additional features, it stays out of the way for it's main task: editing files with Vim. VimMate adds functionality to Vim by embedding Vim GTK GUI (gVim) within VimMate.
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.
reckoner reckoner

pasting to command line - vim_use | Google Groups - 0 views

  • > What's the way for pasting to command line? The usual way I use is    :put It's linewise, but there are some stunts (coming to mind: abusing :substitute and control+r to pull in content from various registers) It also takes a register, so if you want the system clipboard, you can do    :put * -tim
reckoner reckoner

apply function to substitution? - vim_use | Google Groups - 0 views

  • is this possible: > :%s/\(.*\)/some_function(\1)/g > where some_function is something I would define myself. Python has this > function, BTW. > Thanks in advance.         :%s/.*/\=some_function(submatch(0))/ see         :help sub-replace-special         :help submatch() Note that since the * operator is greedy, .* matches the whole line, therefore the g flag doesn't change anything (there is only one whole line on each line).
  •  
    apply function to matched group in substitution
reckoner reckoner

SourceForge.net: pyclewn - 0 views

  • Pyclewn is a python program that allows the use of the vim editor as a front end to a debugger. Pyclewn currently supports the gdb debugger.
reckoner reckoner

shortcut for ex ranges - vim_use | Google Groups - 0 views

  • > Hi, > After reading the thread on asynchronous processes I was just looking > at the help for the ! command which I rarely use, and after playing > with it I realized that it translates a motion from normal mode into a > range for an ex command, i.e. doing !2j gives you an ex command line > of :.,+2! to start your filter with.  This made me wonder: Is there a > way to do this without the filter?  In other words, instead of having > to type :.,+2s I could get there with a 2j combined with something.  I > realize I can do it with the ! itself by just backspacing over the ! > at the end of the ex command, but is there a more 'official' way to do > this? No, there isn't. But in your example, you know the number of lines you want to get in your range, so you can type     3: to get     :.,.+2 In general: !2j  has the form {operator}{motion}     :h operator You can create a custom operator (and name it e.g. "g:") with     :h g@ Once it has been done here (from Jan 2008, see the whole discussion) http://groups.google.com/group/vim_dev/msg/c6fb56645c188244 The details are somewhat tricky (if this reads better than ugly ...).
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

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

idle timeout to automatically leave insert mode? - vim_use | Google Groups - 0 views

  • > Due to a repetitive stress injury, I have heavily customized the keys > in VIM. I don't know this is possible, but it would help there were an > automatic exit out of insert mode after a fixed idle duration. This > would save me having to hit the<ESC>  key so frequently to exit insert > mode. In other words, once in insert mode, after not hitting any keys > for 2 seconds or so, VIM would automatically take me out of insert > mode w/o me  having to hit the<ESC>  key. > I hope that made sense. > Thanks in advance         :au CursorHoldI * stopinsert will take you out of Insert mode when you don't type anything for 'updatetime' milliseconds (default 4000). To make it 2 seconds, add         :set ut=2000
reckoner reckoner

different background color for Insert/Normal mode - vim_use | Google Groups - 0 views

  • > I want to customize vimrc to change background color to yellow when switched to > "Insert mode".  It should be easy but I can not find how to do it. Any help will > be appreciated. > regards,   :au InsertEnter * hi Normal term=reverse ctermbg=darkgrey guibg=yellow   :au InsertLeave * hi Normal term=NONE    ctermbg=black    guibg=white Change to taste. see         :help InsertEnter         :help InsertLeave         :help :autocmd         :help :highlight
1 - 16 of 16
Showing 20 items per page