Skip to content

duggiefresh/vim-easydir

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 

easydir.vim

A simple way to create, edit and save files and directories.

What does it do?

Ever wanted to save a file and create its parent directories at the same time?

Well, now you can!

Here are some examples:

  • New directory and file...
:new new_directory/new_file.txt

# Write some stuff to new_file.txt

:w

# new_directory/ is now created
  • Create child directories inside...
:e existing_directory/new_directory/new_file.txt
  • Works with horizontal and vertical splits...
:sp new/directory/file.txt

:vsp another/new/directory/file.txt

Installation

I highly recommend checking out Vundle or Pathogen for managing plugins.

# ~/.vimrc

Plugin 'duggiefresh/vim-easydir'

# Then run ':PluginInstall'
$ cd ~/.vim/bundle
$ git clone https://github.com/duggiefresh/vim-easydir.git

About

A simple way to create, edit and save files and parent directories

Resources

Stars

Watchers

Forks

Packages

No packages published