All Projects → lePerdu → kakboard

lePerdu / kakboard

Licence: MIT license
Clipboard integration for Kakoune

Programming Languages

KakouneScript
24 projects

Projects that are alternatives of or similar to kakboard

kak-ansi
Kakoune support for rendering ANSI-colored text.
Stars: ✭ 30 (-38.78%)
Mutual labels:  kakoune
cookie-extraction
登录后提取在线cookie,更新至服务器或拷贝至剪切板,为爬虫抓取跳过复杂验证码识别程序
Stars: ✭ 46 (-6.12%)
Mutual labels:  clipboard
emmet-cli
Emmet command line interface
Stars: ✭ 27 (-44.9%)
Mutual labels:  kakoune
ossFileTransferClient
이 프로젝트는 업무망과 인터넷망으로 분리된 망간자료전송 솔루션의 인터넷망용 클라이언트를 개발합니다.
Stars: ✭ 18 (-63.27%)
Mutual labels:  clipboard
townshell
For Townscaper, an application providing additional keyboard shortcuts, tools to manipulate .scape files, screen recording
Stars: ✭ 40 (-18.37%)
Mutual labels:  clipboard
alfred-string-operations
Perform string operations to clipboard content
Stars: ✭ 70 (+42.86%)
Mutual labels:  clipboard
kakoune-colors
Color schemes for kakoune
Stars: ✭ 15 (-69.39%)
Mutual labels:  kakoune
XamarinClipboardPlugin
Cross Platform Clipboard access for Xamarin
Stars: ✭ 24 (-51.02%)
Mutual labels:  clipboard
auto-pairs.kak
Auto-pairing of characters for Kakoune
Stars: ✭ 62 (+26.53%)
Mutual labels:  kakoune
rofi-fontawesome
fontawesome icon list for rofi dmenu
Stars: ✭ 58 (+18.37%)
Mutual labels:  clipboard
cliptext
Clipboard manager for macOS. Built with Electron.js
Stars: ✭ 37 (-24.49%)
Mutual labels:  clipboard
one.kak
Atom "One" color schemes for Kakoune.
Stars: ✭ 19 (-61.22%)
Mutual labels:  kakoune
vim-cutlass
Plugin that adds a 'cut' operation separate from 'delete'
Stars: ✭ 134 (+173.47%)
Mutual labels:  clipboard
dokuwiki-plugin-syntaxhighlighter4
SyntaxHighlighter4 plugin for DokuWiki
Stars: ✭ 51 (+4.08%)
Mutual labels:  clipboard
SharpClipboard
A library for anonymously monitoring clipboard entries.
Stars: ✭ 127 (+159.18%)
Mutual labels:  clipboard
nativescript-clipboard
📋 NativeScript plugin to copy stuff to the device clipboard, and read from it again
Stars: ✭ 40 (-18.37%)
Mutual labels:  clipboard
secure-pbcopy
pbcopy(1) replacement that marks data as confidential
Stars: ✭ 18 (-63.27%)
Mutual labels:  clipboard
cb
Command line interface to manage clipboard
Stars: ✭ 69 (+40.82%)
Mutual labels:  clipboard
kakoune-extra-filetypes
Extra highlighters for the Kakoune editor
Stars: ✭ 20 (-59.18%)
Mutual labels:  kakoune
snippet.kak
Snippets integration for Kakoune
Stars: ✭ 23 (-53.06%)
Mutual labels:  kakoune

kakboard

Clipboard integration for kakoune.

Installation

With plug.kak (recommended)

Just add this to your kakrc:

plug "lePerdu/kakboard" %{
    hook global WinCreate .* %{ kakboard-enable }
}

Manually

There are two methods:

  1. Clone this repository and source the file kakboard.kak in your kakrc, or
  2. Simply clone the repo into your autoload subdirectory.

Then, set it up to run with:

hook global WinCreate .* %{ kakboard-enable }

Usage

Just copy and paste with the normal commands (y, c, p, R, etc.)! Copy keys copy the main selection to the system clipboard and paste commands sync the system clipboard with the " register before executing. Copying/pasting to/from the system clipboard can be prevented by specifying a register to use, even the default " register.

Configuration

The kakboard_copy_cmd and kakboard_paste_cmd options specify the commands to copy to and paste from the system clipboard. If they are unset, kakboard will try to detect command pair to use.

Currently supports:

To change the keys for which clipboard syncing is done, just set the kakboard_copy_keys and kakboard_paste_keys options.

Note: This plugin will map all of the keys in kakboard_paste_keys and kakboard_copy_keys, so if you already have mappings for these keys, you will have to edit those bindings to call kakboard-{pull,push}-if-unset to sync the clipboard after copying / before pasting and remove said keys from kakboard's lists.

Commands

  • kakboard-enable/kakboard-disable/kakboard-toggle: enable/disable/toggle clipboard integration
  • kakboard-pull-clipboard: Pull system clipboard into the " register.
  • kakboard-pull-if-unset: Call kakboard-pull-clipboard if %val{register} is empty.
  • kakboard-with-pull-clipboard <keys>: Call kakboard-pull-if-unset then execute <keys>.
  • kakboard-push-clipboard: Set system clipboard from the " register.
  • kakboard-push-if-unset: Call kakboard-push-clipboard if %val{register} is empty.
  • kakboard-with-push-clipboard <keys>: Execute <kys> then call kakboard-push-if-unset

Limitations

System clipboards don't support multiple selections, so only the primary selection is copied to the clipboard. Correspondingly, when the " register is synced to the system clipboard, it is filled with a single value and remaining values, if any, are deleted. To get around this, the " register can be specified explicitly when pasting multiple selections (before syncing with the system clipboard) as mentioned above.

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].