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 '%: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? > > Try > :lcd %/.. > > -- > Andy testing with vim.tiny on lubuntu 16.04
:lcd %/.. E472: Command failed -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.