Code Monkey home page Code Monkey logo

hallebarde.vim's Introduction

Store a list of files as bookmark in the root of the current project. This allows to open easily a list of bookmarked files.

Same idea as ThePrimeagen/harpoon, but without the requirement of neovim 0.5 and harpoon (this plugin only uses fzf.vim and is written in vimscript, hence compatible with neovim 0.4 (and possibly vim, I dont know)).

Check the documentation for more details.

Example of configuration

Plug 'mdedonno1337/hallebarde.vim'

" Open the menu, if needed
nnoremap <silent> <Leader><Leader> <CMD>Hallebarde<CR>

" Add a file to the list
nnoremap          <Leader>aa       <CMD>HallebardeAdd<CR>

" Remove a file from the list
nnoremap          <Leader>ar       <CMD>HallebardeRemove<CR>

" Edit the list of files
nnoremap <silent> <Leader>ae       <CMD>HallebardeEdit<CR>

" Open the previous files in the list
nnoremap <silent> <F2>             <CMD>HallebardePrevious<CR>
inoremap <silent> <F2>             <CMD>HallebardePrevious<CR>

" Open the next file in the list
nnoremap <silent> <F3>             <CMD>HallebardeNext<CR>
inoremap <silent> <F3>             <CMD>HallebardeNext<CR>

" Open the n-th file in the list
nnoremap <silent> <Leader>1        <CMD>Hallebarde(1)<CR>
nnoremap <silent> <Leader>2        <CMD>Hallebarde(2)<CR>
nnoremap <silent> <Leader>3        <CMD>Hallebarde(3)<CR>
nnoremap <silent> <Leader>4        <CMD>Hallebarde(4)<CR>

hallebarde.vim's People

Contributors

mdedonno1337 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

adisuper94

hallebarde.vim's Issues

store .hallebarde file outside the project dir ?

First of all, thank you for writing this cool plugin. I liked the idea of harpoon but did not want to move to telescope as I am satisfied with my current fzf setup.

It does not make sense (at least to me) to commit the .hallebarde file as it has meaning only to the user who created it.
Adding the .hallebarde file in the .gitignore also seems like a additional work per project.

It might be nice if the .hallebarde files were stored(per project) in different location.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.