Skip to content

DougBeney/vim-reddit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 54 commits ahead of joshhartigan:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

vim-reddit (With Python3 Support)

Browse reddit inside Vim!

Forked from joshhartigan's vim-reddit plugin with added Python3 support and more.

subreddit home New Features:

  • Open the comments of a post in your browser by pressing c
  • Image and video links open in your web browser instead of attempting to open in your terminal
  • You can now open links that are inside reddit posts.
  • You can now simply type :Reddit with no parameters and you will be able to view r/all

Usage

  • Open the front page of a subreddit with :Reddit [subreddit] or :Reddit to open r/all.
  • Press lowercase o to open links in Vim. (Images/videos will still open in a web browser since...well you can't view images/videos in a terminal.)
  • Press uppercase O to open links in the default web browser
  • Press lowercase c to view the comments of a reddit post in your browser.
  • Press lowercase u to go back (or whatever you've remapped undo to)
  • Press Ctrl+r to go forward (or whatever you're remapped redo to)
  • Execute the :bd command to close and remove the reddit buffer

Installation

Plug (Recommended)
Plug 'DougBeney/vim-reddit'
Pathogen
git clone https://github.com/DougBeney/vim-reddit ~/.vim/bundle/vim-reddit
Vundle, vim-plug and friends
Plugin 'DougBeney/vim-reddit'

About

Browse reddit inside vim (Updated for Python 3)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 85.2%
  • Vim Script 14.8%