Code Monkey home page Code Monkey logo

clipb.kak's Introduction

Banner

Open source initiative Linux Godot Ruby Rust

Hello, My name is Nguyễn Nhật Anh!

  • 🎨 I'm an independent game developer.
  • 🌐 I'm also a frontend-web-dev.
  • 📟 And a command-line enthusiast.

About Me My Blog My Games

clipb.kak's People

Contributors

delapouite avatar leperdu avatar nnbnh avatar valpackett avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

clipb.kak's Issues

Sourcing clipb.kak should not call clipb-detect

This may be unintentional since the readme contains

plug 'NNBnh/clipb.kak' config %{
	clipb-detect
	clipb-enable
}

Removing the clipb-detect call will speedup initialization when the user has defined their own clipb_set_command/clipb_get_command.

Multiple selections

This looks nice!

It is similar enough to mine that I think I'll remove mine and use this. But I have one issue that I solved in perhaps a hacky way:

Do not set " if the "main" value of " is already equal to the clipboard.

This handles the case where I make multiple selections and yank them in one client, then switch to another client (in another window, therefore triggering FocusIn), and try to paste multiple selections. Otherwise, all except the main selection gets deleted before I paste.

Reading through the code here, I realize there's another possibility: Multiple selections could be copied to the clipboard separated by, say, an ASCII RS. This would allow other applications to have access to the multiple selections.

Either of these sound interesting? I could make a PR.

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.