Skip to content

Mr-peipei/vsfiler.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vsfiler.vim

MIT License

Concept

This filer is so light and intuitive.
You don't have to remember too many keymapings.
This filer will deliver the simplest vertically divided filer in the world.

Images

Screenshot_20220224_205900

Installation

Use your favorite plugin manager to install this plugin. tpope/vim-pathogen, VundleVim/Vundle.vim, junegunn/vim-plug, and Shougo/dein.vim are some of the more popular ones. A lengthy discussion of these and other managers can be found on vi.stackexchange.com. Basic instructions are provided below, but please be sure to read, understand, and follow all the safety rules that come with your power tools plugin manager.

If you have no favorite, or want to manage your plugins without 3rd-party dependencies, consider using Vim 8+ packages, as described in Greg Hurrell's excellent Youtube video: Vim screencast #75: Plugin managers.

Pathogen Pathogen is more of a runtime path manager than a plugin manager. You must clone the plugins' repositories yourself to a specific location, and Pathogen makes sure they are available in Vim.
  1. In the terminal,
    git clone https://github.com/Mr-peipei/vsfiler.vim.git ~/.vim/bundle/vsfiler.vim
  2. In your vimrc,
    call pathogen#infect()
    syntax on
    filetype plugin indent on
  3. Restart Vim, and run :helptags ~/.vim/bundle/vsfiler.vim/doc/ or :Helptags.
Vundle
  1. Install Vundle, according to its instructions.
  2. Add the following text to your vimrc.
    call vundle#begin()
      Plugin 'Mr-peipei/vsfiler.vim'
    call vundle#end()
  3. Restart Vim, and run the :PluginInstall statement to install your plugins.
Vim-Plug
  1. Install Vim-Plug, according to its instructions.
  2. Add the following text to your vimrc.
call plug#begin()
  Plug 'Mr-peipei/vsfiler.vim'
call plug#end()
  1. Restart Vim, and run the :PlugInstall statement to install your plugins.
Dein
  1. Install Dein, according to its instructions.
  2. Add the following text to your vimrc.
    call dein#begin()
      call dein#add('Mr-peipei/vsfiler.vim')
    call dein#end()
  3. Restart Vim, and run the :call dein#install() statement to install your plugins.
Vim 8+ packages

If you are using Vim version 8 or higher you can use its built-in package management; see :help packages for more information. Just run these commands in your terminal:

git clone https://github.com/Mr-peipei/vsfiler.vim.git ~/.vim/pack/vendor/start/vsfiler.vim
vim -u NONE -c "helptags ~/.vim/pack/vendor/start/vsfiler.vim/doc" -c q

Usaga

Keymapping is so simple.
Below is the default keymappings.

nnoremap <silent><C-m> :<c-u>call vsfiler#initv()<cr>

if !hasmapto('<plug>(vsfiler-open)')
  nmap <buffer> l <plug>(vsfiler-open)
  nmap <buffer> h <plug>(vsfiler-up)
  nmap <buffer> K <plug>(vsfiler-newdir)
  nmap <buffer> N <plug>(vsfiler-newfile)
  nmap <buffer> D <plug>(vsfiler-deletedir)
  nmap <buffer> <C-m> <plug>(vsfiler-close)
endif

INSPIRED

This vim plugin is inspire by mattn/vim-molder and lambdalisue/fern.vim
Thank you for yours oss contribution.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published