vim-devicons
vim-devicons copied to clipboard
copy paste issues
after installing the plugin and fonts, i have problems copy pasting items followed by the icons. for example a line from unite git source:
.gitignore
trying to select ".gitignore" will select the space in front of it as well. same issue in nerdtree. the mouse cursor seems to be offset by a number of characters, finishing the word also requires going further behind the end of the word.
i am using literation mono powerline nerd font complete mono:h15 same issue with other fonts i tried.
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb 29 2016 11:54:01)
MacOS X (unix) version
Included patches: 1-1362
Compiled by Homebrew
Ugh I thought I replied but I guess I did not actually click 'comment' :angry:
Anyway.....
Are you copying and pasting with mouse (assuming gvim) or are you yanking and pasting the filename?
I think I am seeing a similar but different problem when I use yaW
, e.g.:
yaW
when my cursor is on the f of favicon.ico
and then I p
it into a buffer I get: ]favicon.ico
I think I need to adjust where the whitespace appears when there are concealed characters
yes, i am using the mouse in gvim (macvim)
Thanks, I'll look into it :+1:
Looks like this bug is related to vim itself and it has been around for a while now, see: http://vim.1045645.n5.nabble.com/behavior-of-mouseclick-positioning-cursor-with-concealed-chars-td4489865.html
I will at least fix the brackets being next to the files/dirs which should help when yanking a word via keyboard but unfortunately that will not solve the issue you have with positioning and selecting with the mouse.
@squfrans Does this bug reappear when I update my Vim to the latest version?