run make! from subdirs

2007-02-20 Thread Ilia N Ternovich
Hi! Someone noticed that if I add this line into .vimrc: autocmd BufEnter * :cd %:p:h I'll be able to run :make and vim will automatically look at the directory where currently opened file is located for Makefile. But if I have directory structure like this: [d]ProjectDir main.cpp Makefile

:copen annoying trouble

2007-02-05 Thread Ilia N Ternovich
Hi! When I work with many buffers inside vim and suddenly need to :copen :make project, vim opens buffer in which warning or error is detected. This is very annoying, since I have to switch from pouped-up buffer where error or warning is detected to last working one. Is it possible to switch

last line view in gvim

2007-01-13 Thread Ilia N Ternovich
Hi all! Is there any opportunity to watch only for last 2-3 lines in vim buffer while watching for some big output? This means that when I create some buffer in vim, then run in it some process, that produces big output ( for example gdb debugger ) I want to see only last lines produced this

recent.vim plugin

2007-01-09 Thread Ilia N Ternovich
Hi all! I'm trying to make recent.vim plguin working with vim-7.0 There is some kind of problem with mapping keys inside plugin: function! OptionFiles() let file = bufname(%) if bufname()==recent_files map Enter gf set number set noswapfile else set

recent.vim plugin

2007-01-09 Thread Ilia N Ternovich
Hi all! I'm trying to make recent.vim plguin working with vim-7.0 There is some kind of problem with mapping keys inside plugin: function! OptionFiles() let file = bufname(%) if bufname()==recent_files map Enter gf set number set noswapfile else set