Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting g:csv_highlight_column breaks default action of :h v_b_A #147

Open
sharat87 opened this issue Aug 13, 2019 · 0 comments
Open

Setting g:csv_highlight_column breaks default action of :h v_b_A #147

sharat87 opened this issue Aug 13, 2019 · 0 comments

Comments

@sharat87
Copy link

I've run quite a few tests to confirm this and I'm pretty sure that setting g:csv_highlight_column is the culprit. Here's my full configuration for csv.vim:

let g:no_csv_maps = 1
let g:csv_nomap_space = 1
let g:csv_nomap_bs = 1
let g:csv_nomap_l = 1
let g:csv_nomap_h = 1
let g:csv_no_conceal = 1
let g:csv_highlight_column = 'y'
let g:csv_hiGroup = 'CSVHiGroup'
autocmd ssk ColorScheme * hi default CSVHiGroup guibg=#FFEEAA gui=BOLD

With this config, and editing the following file:

abc,1
defghi,2
j,3

I do this in normal mode: gg0<C-v>G$A,xyz<ESC>. After that , the file contains the following:

abc,,xyz1
defg,xyzhi,2
j,3 ,xyz

But I expected the following:

abc,1,xyz
defghi,2,xyz
j,3,xyz

I managed to replicate this with vim --clean and adding csv.vim to rtp (after setting g:csv_highlight_column of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant