Skip to content

Trigger projectile actions without leaving neovim or opening :term

Notifications You must be signed in to change notification settings

qrasmont/projectile.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

projectile.nvim

Plugin for projectile.

Config

Sample config with default values:

require('projectile').setup{
    output_behavior = 'notify',
    notifier = {
        wait = {
            wait_text = 'Projectile',
            rate = 1000,
        },
        done = {
            success_symbol = '',
            success_text = 'Success',
            fail_symbol = '',
            fail_text = 'Fail',
            delay = 3000,
        },
        loader = {
            '[.  ]',
            '[.. ]',
            '[...]',
            '[   ]',
        },
    },
    mappings = {
        select_action = 's',
        start = '<CR>',
        quit = 'q',
    }
}

output_behavior

  • "notify"
  • "on_exit"
  • "on_stdout"

Highlights

  • NotifierText
  • NotifierSuccess
  • NotifierFail

Can be set with:

vim.cmd([[highlight NotifierText guifg=#fe8019]])

Acknowledgements

The notifier UI was inspired and borrows implementation from j-hui/fidget.nvim

About

Trigger projectile actions without leaving neovim or opening :term

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages