Code Monkey home page Code Monkey logo

atom-clipboard-plus's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

atom-clipboard-plus's Issues

Watch System Clipboard not Working

According to the README this package supports watching the system clipboard. However this feature doesn't seem to be working with the latest version.

Watch system clipboard

I know this is in the to-do list in README.md, but I'm creating an issue just so I can track when this is implemented. ๐Ÿ˜

Thanks for a great package!

Keymaps

Is there a reason why you haven't included the clipboard-plus:toggle keyboard shortcuts in the keymaps file? https://github.com/aki77/atom-clipboard-plus/blob/master/keymaps/clipboard-plus.cson

The below are in the README. Just wondering why you don't have it in this project's keymap file so that it would be implemented be default without having to open and edit my atom keymap file.

'.platform-darwin atom-text-editor:not([mini])':
  'cmd-shift-v': 'clipboard-plus:toggle'

'.platform-win32 atom-text-editor:not([mini])':
  'ctrl-shift-v': 'clipboard-plus:toggle'

'.platform-linux atom-text-editor:not([mini])':
  'ctrl-shift-v': 'clipboard-plus:toggle'

Fuzzy search result doesn't respect order of history

When we search for matches, the occurrences' order seem not to respect the paste history's order. Instead, fuzzaldrin matching is used. I'm not sure whether this is intended or not. My personal expectation would be that the filtered result still obey the original paste history's order.

repro

Order of copy, from more to least recent: cca, bba, aaa. Upon searching with a it shows aaa, cca, bba, while I was expecting it in this (same original) order: cca, bba, aaa.

Vim-mode paste

Proposed keymaps for Readme:

'.platform-darwin atom-text-editor.vim-mode:not(.insert-mode)':
  'ctrl-p': 'clipboard-plus:toggle'

'.platform-linux atom-text-editor.vim-mode:not(.insert-mode)':
  'alt-p': 'clipboard-plus:toggle'

However, the clipboard entry shows up on the same line, instead of the next line like a normal vim-mode paste.

Edit. Works fine if you yank or paste from the first character.

Saving Clips per project not cross project

I used to be able to copy things from one project open another and paste them, Now the clipboard plus remembers project specific copies so I have different things in my clipboard for each project. I had someone else test and they don't have the issue.

Windows 10, latest atom and latest Clipboard plus.

Failed to activate the clipboard-plus package

Atom Version: 1.4.3
System: Mac OS X 10.11.3
Thrown From: clipboard-plus package, v0.5.1

Stack Trace

Failed to activate the clipboard-plus package

At Cannot find module 'property-accessors'

Error: Cannot find module 'property-accessors'
    at Module._resolveFilename (module.js:336:15)
    at Function.Module._resolveFilename (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/shishi/spideroak_sync/conf/atom/packages/clipboard-plus/node_modules/@aki77/atom-select-action/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/grim/node_modules/emissary/lib/behavior.js:9:23)
    at Object.<anonymous> (/Users/shishi/spideroak_sync/conf/atom/packages/clipboard-plus/node_modules/@aki77/atom-select-action/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/grim/node_modules/emissary/lib/behavior.js:120:4)
    at Module._compile (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/shishi/spideroak_sync/conf/atom/packages/clipboard-plus/node_modules/@aki77/atom-select-action/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/grim/node_modules/emissary/lib/helpers.js:5:14)
    at Object.<anonymous> (/Users/shishi/spideroak_sync/conf/atom/packages/clipboard-plus/node_modules/@aki77/atom-select-action/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/grim/node_modules/emissary/lib/helpers.js:55:4)
    at Module._compile (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/shishi/spideroak_sync/conf/atom/packages/clipboard-plus/node_modules/@aki77/atom-select-action/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/grim/node_modules/emissary/lib/emissary.js:4:13)
    at Object.<anonymous> (/Users/shishi/spideroak_sync/conf/atom/packages/clipboard-plus/node_modules/@aki77/atom-select-action/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/grim/node_modules/emissary/lib/emissary.js:14:4)
    at Module._compile (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/local/Caskroom/atom/1.3.2/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/shishi/spideroak_sync/conf/atom/packages/clipboard-plus/node_modules/@aki77/atom-select-action/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/grim/lib/grim.js:4:13)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "linter-rubocop"
    ]
  },
  "clipboard-plus": {}
}

Installed Packages

# User
atomatigit, v1.5.5
auto-indent, v0.5.0
clipboard-plus, v0.5.1
disable-keybindings, v0.6.0
emacs-plus, v0.9.11
file-icons, v1.6.14
file-types, v0.5.1
git-log, v0.4.1
jshint, v1.8.3
language-diff, v0.4.0
language-rspec, v0.3.0
linter, v1.11.3
linter-coffeescript, v1.0.0
linter-erb, v1.0.2
linter-haml, v1.1.0
linter-ruby, v1.2.1
linter-sass-lint, v1.0.4
linter-scss-lint, v2.5.1
ruby-block, v0.3.5
tualo-git-context, v0.6.17

# Dev
No dev packages

text in clipboard widget does not respect font settings, causing non-ascii character displaying problems

As shown below in the screenshot.

screen

Clipboard widget created by atom-clipboard-plus is not respecting my font setup in atom settings:

config.cson:

  editor:
    invisibles: {}
    fontFamily: "Liberation Mono, WenQuanYi Micro Hei Mono"
    softWrap: true

And thus non-ascii characters (in my case, Chinese characters) are not rendered correctly, cause default used English font do not have these characters, and Chinese fonts must be used to display them.

`M-y` like emacs?

Hi,

First, thank you for making emacs-plus and this package! I use them for hours every day.

My feature request: could M-y in this app behave like emacs? In emacs, the behavior of pressing M-y repeatedly is to cycle through the kill ring, replacing the pasted text with previously yanked things. In the current implementation, it opens the clipboard bar and then starts pasting "ยฅ" (on OSX).

(Warning: I don't know proper emacs terminology, so the above might sound fishy.)

The reason: there's this workflow that you get into the habit of with emacs where you paste something with C-y and then if it's not what you want, you just keep pressing M-y again to replace what you pasted with previous text. You keep doing this until you find what you want. It's really convenient, and I miss it dearly!

It seems like binding M-y to a command that cycles wouldn't be hard, but I'm not sure if replacing the pasted text with the next item in the clipboard would be messy. I certainly understand if you'd rather not implement this, but I thought I'd ask.

Many thanks and kind regards,
Max

Failed to load the clipboard-plus package

  1. Try to update clipboard-plus to 0.4.0

Atom Version: 0.211.0
System: Microsoft Windows 10 Pro Insider Preview
Thrown From: clipboard-plus package, v0.4.0

Stack Trace

Failed to load the clipboard-plus package

At variable @ui-padding is undefined in C:\Users\Jordi Orlando\.atom\packages\clipboard-plus\styles\clipboard-plus.less:15:11

LessError: variable @ui-padding is undefined
  at C:\Users\Jordi Orlando\.atom\packages\clipboard-plus\styles\clipboard-plus.less:15:11

Commands

  2x -9:53.5.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  3x -9:46.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:40 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-base16-eighties-one-dark.theme-spacegray-eighties-ui)

Config

{
  "core": {
    "disabledPackages": [
      "minimap-color-highlight",
      "atom-color-highlight",
      "project-palette-finder"
    ],
    "themes": [
      "spacegray-eighties-ui",
      "base16-eighties-one-dark"
    ]
  }
}

Installed Packages

# User
atom-html-preview, v0.1.8
atomatigit, v1.5.3
autoclose-html, v0.18.0
autocomplete-clang, v0.7.0
autocomplete-paths, v1.0.2
base16-eighties-one-dark, v0.2.2
clipboard-plus, v0.4.0
color-picker, v2.0.7
file-icons, v1.5.8
hex, v0.6.2
highlight-line, v0.11.0
highlight-selected, v0.10.1
language-arduino, v0.2.1
language-scala, v1.1.3
linter, v1.0.4
linter-clang, v2.26.0
linter-csslint, v0.0.13
linter-htmlhint, v0.0.16
linter-jshint, v0.1.6
minimap, v4.10.0
minimap-git-diff, v4.1.3
minimap-highlight-selected, v4.3.0
minimap-selection, v4.2.0
pretty-json, v0.3.3
project-manager, v1.15.10
spacegray-eighties-ui, v1.0.0
Sublime-Style-Column-Selection, v1.3.0
tab-control, v0.6.6
tabs-to-spaces, v0.11.0

# Dev
No dev packages

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.