GithubHelp home page GithubHelp logo

ptdewey / yankbank-nvim Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 1.0 353 KB

Neovim plugin improving access to recent yank history

License: MIT License

Lua 98.82% Makefile 1.18%
lua neovim neovim-lua neovim-plugin

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 = 27,
    total_stargazers = 71,
    total_commits_current_year = 311,
    total_prs = 35,
    total_issues = 10,
    top_languages = {
        lua = "41.0%",
        go = "13.8%",
        python = "10.6%",
        shell = "10.3%",
        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

Watchers

 avatar

Forkers

gradyorr

yankbank-nvim's Issues

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

changing keymap support

Thanks for your efforts,

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

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.