All Projects → dylanaraps → taskrunner.nvim

dylanaraps / taskrunner.nvim

Licence: MIT license
🏃 Runs Gulp/Gruntfiles in terminal splits

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to taskrunner.nvim

Nvim Config
My custom Neovim configuration with full battery for Python, C++, Markdown, LaTeX and more...
Stars: ✭ 176 (+1253.85%)
Mutual labels:  nvim
Nvim Hs
Neovim API for Haskell plugins as well as the plugin provider
Stars: ✭ 208 (+1500%)
Mutual labels:  nvim
Dotfiles
using vim
Stars: ✭ 245 (+1784.62%)
Mutual labels:  nvim
Init.nvim
An Opinionated Neovim Config for the Minimalists
Stars: ✭ 194 (+1392.31%)
Mutual labels:  nvim
Spelunker.vim
Improved vim spelling plugin (with camel case support)!
Stars: ✭ 203 (+1461.54%)
Mutual labels:  nvim
Vim Yoink
Vim plugin that maintains a yank history to cycle between when pasting
Stars: ✭ 225 (+1630.77%)
Mutual labels:  nvim
.dotfiles
🎆 Arch Linux with i3 / nvim / tmux / urxvt / zsh / ...
Stars: ✭ 167 (+1184.62%)
Mutual labels:  nvim
my-neovim-configurations
Some vim plugs on neovim and its show on MacOS
Stars: ✭ 16 (+23.08%)
Mutual labels:  nvim
Lsp Status.nvim
Utility functions for getting diagnostic status and progress messages from LSP servers, for use in the Neovim statusline
Stars: ✭ 201 (+1446.15%)
Mutual labels:  nvim
Node Client
Nvim Node.js client and plugin host
Stars: ✭ 243 (+1769.23%)
Mutual labels:  nvim
Twf
Standalone tree view file explorer, inspired by fzf.
Stars: ✭ 196 (+1407.69%)
Mutual labels:  nvim
Lualine.nvim
A blazing fast and easy to configure neovim statusline written in pure lua.
Stars: ✭ 198 (+1423.08%)
Mutual labels:  nvim
Vim Lsp Cxx Highlight
Vim plugin for C/C++/ObjC semantic highlighting using cquery, ccls, or clangd
Stars: ✭ 231 (+1676.92%)
Mutual labels:  nvim
Vim Sneak
The missing motion for Vim 👟
Stars: ✭ 2,467 (+18876.92%)
Mutual labels:  nvim
Coc.nvim
Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Stars: ✭ 18,268 (+140423.08%)
Mutual labels:  nvim
Kommentary
Neovim commenting plugin, written in lua.
Stars: ✭ 172 (+1223.08%)
Mutual labels:  nvim
Deoppet.nvim
The dark powered snippet plugin for neovim
Stars: ✭ 219 (+1584.62%)
Mutual labels:  nvim
composer
API-first task runner with three methods: task, run and watch.
Stars: ✭ 35 (+169.23%)
Mutual labels:  task-runner
dotfiles
My NixOS configuration featuring awesome and neovim
Stars: ✭ 40 (+207.69%)
Mutual labels:  nvim
Rnvimr
Make Ranger running in a floating window to communicate with Neovim via RPC
Stars: ✭ 238 (+1730.77%)
Mutual labels:  nvim

taskrunner.nvim

taskrunner is a simple plugin for Neovim that adds a :Task cmd that runs gulp/grunt in a terminal split.

The plugin by default will look for your gulp/gruntfile in your current working directory. If no taskrunner file is found it'll keep looking up a directory.

The plugin only works with Neovim because it makes use of neovim's built in terminal splits to create the taskrunner split. If installed in regular vim the plugin won't do anything. So it's fine to install in a .vimrc used in both vim/nvim.

Gulp

Installation

Use your favorite plugin manager.

  • vim-plug
    1. Add Plug 'dylanaraps/taskrunner.nvim' to your .nvimrc
    2. Run :PlugInstall

Options

:Task

	" Command Example
	" The command on it's own will look in the open file's current working directory.
	" If left blank the command will use the 'default' task.
	:Task taskname

	" More Command Examples:
	" You can also use all of gulp/grunt's cmdline flags!
	:Task --gulpfile ~/projects/gulpfile.coffee coffeescript
	:Task --cwd ~/projects/startpage/
	:Task --no-color

Command to use to launch taskrunner

Default: let g:taskrunner#cmd = "default"

	" Custom launch command for gulp
	let g:taskrunner#cmd = "gulp --no-color"

When left default the plugin will launch the task runners with their default command:

  • Gulp: gulp
  • Grunt: grunt

Files to look for

Default: let g:taskrunner#filelist = ['gulpfile.js', 'gulpfile.coffee', 'gruntfile.js', 'gruntfile.coffee']

	" Only look for gulpfiles
	let g:taskrunner#filelist = ['gulpfile.js', 'gulpfile.coffee']

	" Only look for gruntfiles
	let g:taskrunner#filelist = ['gruntfile.js', 'gruntfile.coffee']

Size of the split

Default: let g:taskrunner#split = "10new"

	" taskrunner split size/position

	" Opens a horizontal split that is 10 high
	let g:taskrunner#split = "10new"

	" Opens a vertical split that is 30 wide
	let g:taskrunner#split = "30vnew"

Split Direction

Default: let g:taskrunner#split_direction = "splitbelow splitright"

	" Split Direction

	" Sets split to open to the bottom and right
	let g:taskrunner#split_direction = "splitbelow splitright"

	" left/top
	let g:taskrunner#split_direction = "nosplitbelow nosplitright"

	" top
	let g:taskrunner#split_direction = "nosplitbelow"

	" top/right
	let g:taskrunner#split_direction = "nosplitbelow splitright"

Unlisted

Default: let g:taskrunner#unlisted = 1

	" Hide the buffer from the buffer list.
	let g:taskrunner#unlisted = 1

Focus On Open

Default: let g:taskrunner#focus_on_open = 0

	" Focus on open
	let g:taskrunner#focus_on_open = 1
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].