Skip to content

Vim shortcuts for faster iteration #8

@pnowell

Description

@pnowell
  • An easy way to (globally, not just the current buffer / tab) set the CWD in vim to the current file's directory
  • Compile the CWD (to avoid recompiling all applications when a low-level source file changes)
    • This should probably just be
  • Compile the base directory
    • This could be g, g, etc
  • Compile with ZIPSRC from the CWD
    • This could be z, z, etc
  • Run the executable associated with a directory (assuming the directory is the main dir for an executable)
    • A function
      • It should take
        • A target platform
        • A build type
        • A directory
        • Command line parameters
      • It should build the path to the given compiled executable
      • Run the exe and pass it the specified arguments
      • Create a quickfix buffer for its output
    • A mapping that pops that line up filled in for you and leaves the cursor in the "command line parameters" argument

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions