Comments (4)
kakboard_copy_keys
works by copying the contents of Kakoune's clipboard to the system clipboad after executing the key. Since <a-d>
doesn't modify kakoune's clipboard, the last values copied will be sent to the system clipboard.
To get what you want, you will have to tell Kakboard to sync the clipboard in your own <a-d>
mapping as such:
map global normal d <a-d>
map global normal c <a-c>
map global normal <a-d> ": kakboard-with-push-clipboard d<ret>"
set-option global kakboard_copy_keys y
# All this does is make the mapping:
# map global normal y ": kakboard-with-push-clipboard y<ret>"
from kakboard.
That works. Thanks!
Just a last clarification: by your explanation, I presume kakboard_copy_keys
ignores mappings, otherwise <a-d>
would in fact modify kakoune's clipboard, because it would be mapped to d
. Is it right?
from kakboard.
kakboard-enable
creates mappings for all of the keys in kakboard_copy_keys
which override your existing ones. It used to use hooks, which would work with existing mappings, but that had its own problems (I can't remember exactly what atm).
from kakboard.
Hmm! This explains why it used to work...
Thank you!
from kakboard.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kakboard.