All Projects → csexton → Jekyll.vim

csexton / Jekyll.vim

Automate common Jekyll tasks from Vim

Labels

Projects that are alternatives of or similar to Jekyll.vim

Vim Latex
Mirror of vim-latex as Sourceforge's git support blows chunks!
Stars: ✭ 73 (-12.05%)
Mutual labels:  viml
Vim Statline
Add useful informations to Vim statusline
Stars: ✭ 80 (-3.61%)
Mutual labels:  viml
Vim Symfony
A vim plugin to handle symfony and all that stuff
Stars: ✭ 82 (-1.2%)
Mutual labels:  viml
Intero.nvim
Haskell+Neovim lightning fast autocompletion and other IDE functionality
Stars: ✭ 76 (-8.43%)
Mutual labels:  viml
Vim Pomodoro
Vim plugin for the Pomodoro time management technique
Stars: ✭ 79 (-4.82%)
Mutual labels:  viml
Vimtodo
Vim TODO manager
Stars: ✭ 80 (-3.61%)
Mutual labels:  viml
Moonscript Vim
MoonScript support for vim
Stars: ✭ 73 (-12.05%)
Mutual labels:  viml
Learn Vim
无废话极简版Vim学习笔记!文章按主题分拆为多个章节,并尽量控制每节的信息量;通过文字色彩和字体,将命令、快捷键突出显示;在每节结尾,提供一个命令列表,以便回顾文中介绍的重要命令。如果这些文章能对喜欢Vim的朋友有所益处,我将不胜荣幸。
Stars: ✭ 83 (+0%)
Mutual labels:  viml
Rocannon
Vim for Ansible playbooks: omni-completion, abbreviations, syntax, folding, K-docs, and colorscheme
Stars: ✭ 80 (-3.61%)
Mutual labels:  viml
Incsearch Easymotion.vim
Stars: ✭ 82 (-1.2%)
Mutual labels:  viml
Cmake.vim
🔨 CMake functionality within Vim.
Stars: ✭ 76 (-8.43%)
Mutual labels:  viml
Vim Plugin Viewdoc
Vim plugin: flexible viewer for any documentation
Stars: ✭ 79 (-4.82%)
Mutual labels:  viml
Vim Reload
Automatic reloading of Vim scripts ((file-type) plug-ins, auto-load/syntax/indent scripts, color schemes)
Stars: ✭ 80 (-3.61%)
Mutual labels:  viml
Skybison
Vim plugin to expedite use of cmdline commands
Stars: ✭ 74 (-10.84%)
Mutual labels:  viml
Use vim as ide
use vim as IDE
Stars: ✭ 9,067 (+10824.1%)
Mutual labels:  viml
L9
Vim-script library
Stars: ✭ 73 (-12.05%)
Mutual labels:  viml
Xoria256.vim
Finely tuned soft gamma, 256 colors, dark background, gvim == vim
Stars: ✭ 80 (-3.61%)
Mutual labels:  viml
Languagetool
Grammar checker for English, French, German (etc.) in Vim
Stars: ✭ 83 (+0%)
Mutual labels:  viml
Vimrc
Meteor/Web development centric vim config
Stars: ✭ 83 (+0%)
Mutual labels:  viml
Closetag.vim
Functions and mappings to close open HTML/XML tags
Stars: ✭ 81 (-2.41%)
Mutual labels:  viml

Jekyll.vim

jekyll.vim: Blogging from the command line should not be tedious.

This script is intended to automate the process of creating and editing Jekyll blog posts from within vim.

Introduction

Install in ~/.vim, you can use the rake task to do this quickly:

rake install

Set the path to your Jekyll Blog in your vimrc:

let g:jekyll_path = "/path/to/jekyll/blog"

The default post suffix is "markdown" and the post status is published. You can override these if you like.

Example: let g:jekyll_post_suffix = "textile" let g:jekyll_post_published = "false"

You may also want to ad a few mappings to stream line the behavior:

map <Leader>jb  :JekyllBuild<CR>
map <Leader>jn  :JekyllPost<CR>
map <Leader>jl  :JekyllList<CR>

By default all posts are created as drafts (published: false in the YAML), to publish that post simply delete that line.

Commands

Build Jekyll site:

:JekyllBuild

List Jekyll posts:

:JekyllList

Create a new Jekyll Post:

:JekyllPost

If you are using git to store your blog, consider installing Tim Pope's vim-fugitive plugin. It allows you to use the following commands to speed things up.

Add and commit the current post:

:Gwrite
:Gcommit

Push the changes to the remote origin:

:Git push

LICENSE

License: Same terms as Vim itself (see license)

:-)

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].