GithubHelp home page GithubHelp logo

edhyah / vim-screenshot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sergioribera/vim-screenshot

0.0 0.0 0.0 323 KB

Beautifull screenshots for your code writed in (Neo)vim

License: GNU Affero General Public License v3.0

JavaScript 60.73% CSS 33.16% HTML 5.03% Vim Script 1.08%

vim-screenshot's Introduction

Vim-Screenshot

This is a simple plugin that allows you to take snapshots to snippets of your code with a highly customizable format, besides being beautiful, it includes 70+ of pre-set themes.

Requirements

To be able to use this extension, it is essential that you have the following installed:

  • NodeJs
  • npm

Installation

Plug:

Plug 'SergioRibera/vim-screenshot', { 'do': 'npm install --prefix Renderizer' }

The other way would be cloning the repository.

Instructions

Variables

Name Default Value Description
g:vimShotSavePath ~/Images/code-screenshot This is the path to the directory where all generated images will be saved

Functions

Name Description
TakeScreenShot() This function takes the selected lines and converts them into the image with the settings you have indicated.
OpenFileScreenshotSettings() This function opens in a new tab the configuration file in JSON format to customize the image.
OpenPreviewPage() This function opens in the binary a test page that allows in a graphical way to configure and see all the themes that the plugin brings, THIS FUNCTION DOES NOT SAVE THE CHANGES; IT SAVES THEM IN THE CLIPBOARD you must paste that in the configuration files calling the previous function and replacing the contents

Commands

Name Description
:TakeScreenShot This command captures the lines selected in visual mode and converts them into an image.
:OpenFileScreenshotSettings This command calls the function OpenScreenshotSettings()
:OpenPreviewPage This command calls the OpenPreviewPage() function.

Examples

Graphical Explication Directory Create

Graphical Explication File Create

Graphical Explication File Create

Please report all bugs and problems

Thanks for install this tool, for see more visit my web (Very soon I will add an app store)

Donate

ko-fi



Made with the ❤️ by SergioRibera

vim-screenshot's People

Contributors

edhyah avatar kevillo avatar sergioribera avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.