How to anable lua for vim?

2016-09-28 Thread Meino . Cramer
Hi, To enable lua for vim I run configure as follows: ./configure --prefix=/usr/local --sysconfdir=/etc/vim --with-features=huge --with-luainterp=dynamic --with-lua-prefix=/usr/bin --enable-luainterp=yes --enable-pythoninterp . Vim compiles fine. But doing 'vim --version' produces (besides oth

Re: vim & ctags: how to jump to the definition in new window

2016-09-28 Thread 张正宇
Hi Nicola On 9/28/16 6:33 PM, Nicola wrote: >> On 9/22/16 2:28 PM, 张正宇 wrote: >> >> As I said, I struggled to write a plugin. Request for comment! >> >> https://github.com/freemandealer/CodeCoverFlow > > You've brilliantly solved your own problem, so this may be a bit late, but… > using the comm

I want a prompt to save Vim edits when closing window with "X" button

2016-09-28 Thread go
Hi, I normally close Vim with either ":q" or ":wq" or "ZZ". However yesterday at the end of the day, I closed a bunch of windows and accidentally closed a Vim window and lost some edits :-( I wish that Vim would display a prompt to save changes when I close with the "X" button at the right top

Re: strip filename from full path in small vim

2016-09-28 Thread Bee
On Wednesday, September 28, 2016 at 10:38:48 AM UTC-7, Andy Wokula wrote: > Am 28.09.2016 um 18:45 schrieb Bee: > > In a 'normal' version of vim > > > > :lcd %:h > > > > will change to the directory of the current file by stripping the > > filename from the full path. > > > > But in a 'small' vim '

Re: strip filename from full path in small vim

2016-09-28 Thread 'Andy Wokula' via vim_use
Am 28.09.2016 um 18:45 schrieb Bee: In a 'normal' version of vim :lcd %:h will change to the directory of the current file by stripping the filename from the full path. But in a 'small' vim '%:h' does not exist and '%' refers to the full file path. Is there a way in 'small' vim to strip the f

strip filename from full path in small vim

2016-09-28 Thread Bee
In a 'normal' version of vim :lcd %:h will change to the directory of the current file by stripping the filename from the full path. But in a 'small' vim '%:h' does not exist and '%' refers to the full file path. Is there a way in 'small' vim to strip the filename from the path? -- -- You r

Re: vim & ctags: how to jump to the definition in new window

2016-09-28 Thread Nicola
On 2016-09-28 08:26:47 +, 张正宇 said: On 9/22/16 2:28 PM, 张正宇 wrote: Hi Bryan & Marc On 9/21/16 9:30 PM, Bryan Richter wrote: On Wed, Sep 21, 2016 at 10:49:48AM +0800, 张正宇 wrote: Hello list! I am reading some source code with vim & ctags these days. You know sometimes people just forget

Re: No such highlight group name: netrwMarkFile

2016-09-28 Thread Johann Höchtl
Am Dienstag, 27. September 2016 16:06:17 UTC+2 schrieb DrChip: > Johann Höchtl wrote: > > Hi, > > > > I am using > > Vim 8.0.7, netrw v156 > > > > When I highlight a file in netrw using mf, it is not highlighted, neither > > on the console, nor in gvim. > > > > If I first mark files and later a ta

Re: vim & ctags: how to jump to the definition in new window

2016-09-28 Thread 张正宇
On 9/22/16 2:28 PM, 张正宇 wrote: > Hi Bryan & Marc > > On 9/21/16 9:30 PM, Bryan Richter wrote: >> On Wed, Sep 21, 2016 at 10:49:48AM +0800, 张正宇 wrote: >>> Hello list! >>> >>> I am reading some source code with vim & ctags these days. You know >>> sometimes people just forget those input/output pa