Giter Club home page Giter Club logo

nvim-dogecomments's Introduction

Description: Help get ๐Ÿถ to the ๐ŸŒœ by commenting out your code.

Install: Plug 'leewannacott/nvim-dogecomments'

Current Keymappings to call different functions:

-- Commands are silenced with <silent>
noremap <leader>cl :call Comment_line() <CR> -- Comment out a single line or multiple using count or VL mode.

noremap <leader>cL :call Comment_end_of_line() <CR> -- Places comment at end of line and enters insert mode.

noremap <leader>cc :call Comment_on_cursor() <CR> -- Places a comment on the cursor mark position.

noremap <leader>ct :call Comment_todo() <CR> -- Places a TODO comment.

noremap <leader>cd :call Comment_remove() <CR> -- Deletes comments placed at start of lines.

noremap <leader>cp :call Comment_doge() <CR> -- Prints ascii Doge.

Development on this repository:

Plug '/home/user/Desktop/nvim-dogecomments'

TODO:

  • Deploy server to AWS as EC2 instance to show global amount of lines of code commented out by users of the plugin.

nvim-dogecomments's People

Contributors

hanylovescode avatar leewannacott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hanylovescode

nvim-dogecomments's Issues

Add more file-types to the file table.

This is a good beginner issue.
I have a few file-types for single line comments. But there is a large amount of programming languages to support.

file_types

Select a language not already on the list and add the single line comment for the language.
For example: file['haskell'] = '--'
You can get the file-type for a corresponding file by using filetype = vim.bo.filetype and print(filetype)

Relevant file to change: nvim-dogecomments/lua/Dogecomments/filetypes.lua

Implement telemetry to get amount of comments.

Implement telemetry to get amount of comments users have placed. This can be used to display if Doge gets to the moon. Requires logging into text files each time user places comments(done) and then set up a server to process text files.

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.