Tech notes

Thursday, March 27, 2014

Vim: Edit a file in the directory of the current file

:e %:p:h/filename
See also Set_working_directory_to_the_current_file.
Posted by tardenoisean at 3/27/2014 01:49:00 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: vim

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Labels

  • vim (10)
  • ctags (3)
  • C++ (2)
  • X11 (2)
  • cscope (2)
  • Armadillo (1)
  • Linear algebra (1)
  • avconv (1)
  • bash (1)
  • config (1)
  • debugging (1)
  • font (1)
  • gdb (1)
  • git (1)
  • java (1)
  • linux (1)
  • mingw (1)
  • mintty (1)
  • svn (1)
  • unix (1)
  • video (1)
  • xmonad (1)

Blog Archive

  • ►  2019 (1)
    • ►  July (1)
  • ►  2016 (8)
    • ►  November (1)
    • ►  October (2)
    • ►  May (1)
    • ►  February (3)
    • ►  January (1)
  • ▼  2014 (5)
    • ►  October (1)
    • ►  May (2)
    • ▼  March (2)
      • Vim: Edit a file in the directory of the current file
      • Bullet lists autoformatting for text files in vim
  • ►  2013 (6)
    • ►  October (4)
    • ►  September (2)
  • ►  2012 (7)
    • ►  December (3)
    • ►  November (4)

About Me

tardenoisean
View my complete profile
Simple theme. Powered by Blogger.