Skip to content

Instantly share code, notes, and snippets.

@glidenote
Created April 1, 2012 15:29
Show Gist options
  • Save glidenote/2276389 to your computer and use it in GitHub Desktop.
Save glidenote/2276389 to your computer and use it in GitHub Desktop.
.vimrc for octoeditor.vim
Bundle 'glidenote/octoeditor.vim'
let g:octopress_path = '~/octopress'
let g:octopress_prompt_categories = 1
let g:octopress_qfixgrep = 1
map <Leader>on :OctopressNew<CR>
map <Leader>ol :OctopressList<CR>
map <Leader>og :OctopressGrep<CR>
nmap ,og :OctopressGenerate<CR>
nmap ,od :OctopressDeploy<CR>
" For FuzzyFinder
Bundle 'FuzzyFinder'
nmap of :FufFile <C-r>=expand(g:octopress_path."/source/_posts/")<CR><CR>
" For ctrlp
Bundle 'ctrlp.vim'
nmap ,of :exe "CtrlP" g:octopress_path . "/source/_posts/"<cr><f5>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment