Git Product home page Git Product logo

yankbank-nvim's Introduction

-- initialize user profile
local ptdewey = {}

-- user info
ptdewey.info = {
    name = "patrick dewey",
    education = {
        masters = "computer science at virginia tech",
        bachelors = "computational modeling and data analytics at virginia tech"
    },
    experience = {
        "software engineering",
        "data science",
        "computational science"
    }
}

-- user stats
ptdewey.stats = {
    total_repositories = 32,
    total_stargazers = 74,
    total_commits_current_year = 343,
    total_prs = 36,
    total_issues = 10,
    top_languages = {
        lua = "32.8%",
        go = "20.9%",
        python = "10.6%",
        shell = "10.6%",
        r = "7.6%",
        vim script = "5.2%"
    }
}

return ptdewey

yankbank-nvim's People

Contributors

github-actions[bot] avatar ptdewey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

gradyorr teocns

yankbank-nvim's Issues

attempt to compare nil with number

Thanks for an excellent plugin!

I just started seeing this a few days ago. I'm currently on 6bd9ca9. I'm happy to provide more context if needed.

Error detected while processing TextYankPost Autocommands for "*":
Error executing lua callback: ...share/nvim/lazy/yankbank-nvim/lua/yankbank/clipboard.lua:16: attempt to compare nil with number
stack traceback:
        ...share/nvim/lazy/yankbank-nvim/lua/yankbank/clipboard.lua:16: in function 'add_yank'
        ...share/nvim/lazy/yankbank-nvim/lua/yankbank/clipboard.lua:48: in function <...share/nvim/lazy/yankbank-nvim/lua/yankbank/clipboard.lua:28>

changing keymap support

Thanks for your efforts,

Could you provide keymap support (move up/down) or select using number instead of ?

Feature request : paste inline

Thank you for your efforts,

Could you fix these issue?

  1. I found that the paste from yankbank always does linewise.
1) I yank the words using visual mode, 
2) The word will be paste to the next line if i use yankbank. not next ot cursor. 
  1. Some words are not pasted. like [%p]
    it is very minor problem, but I think it has some bug
%p  : yank successful
[%p] : yank fail
[%p : yank successful
"[%p]" : yank successful

Pasting from yankbank pastes on newline instead of cursor position

Configuration

lazy.nvim

return {
  "ptdewey/yankbank-nvim",
  config = function()
    require('yankbank').setup()
    vim.keymap.set("n", "<leader>p", "<cmd>YankBank<CR>", { noremap = true })
  end,
}

Setup

  1. Windows 10
  2. Neovim v0.9.5

Reproduce:

  1. copy something
  2. open yankbank
  3. <CR>
  4. contents is pasted on next line and not cursor position

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.