Visual mode move up and down not working?
- Dominant language
- Vim Script
- Stars
- 910
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Hello there, I love Vimbox and everything about it but Im having some issues with getting https://github.com/matze/vim-move and/or https://github.com/tpope/vim-unimpaired working to move single or multiple lines up or down like the following.

I have tried many different options to get it to work
In my `bundlesVimRc.custom` I have
```
" Add custom bundles here using the `NeoBundle` command.
"
Plug 'ervandew/supertab'
Plug 'airblade/vim-gitgutter'
Plug 'w0rp/ale'
Plug 'tpope/vim-unimpaired'
Plug 'justinj/vim-react-snippets'
Plug 'pangloss/vim-javascript'
Plug 'mxw/vim-jsx'
Plug 'SirVer/ultisnips'
Plug 'matze/vim-move'
```
In my `vimrc.custom.after` I have
```
" Overwrite this file with whatever you want. This will be executed after
" loading any of the stock bundles/settings.
set number
set gfn=Inconsolata-dz\ for\ Powerline:h14
autocmd BufWritePost * GitGutter
let g:ale_fixers = {
\ 'javascript': ['eslint']
\ }
let g:ale_sign_error = '❗'
let g:ale_sign_warning = '⚠️'
let g:ale_fix_on_save = 1
" Visual mode mappings.
" Move between windows.
xnoremap h
xnoremap j
xnoremap k
xnoremap l
" Move VISUAL LINE selection within buffer.
xnoremap K :call wincent#mappings#visual#move_up()
xnoremap J :call wincent#mappings#visual#move_down()
" Bubble single lines
nmap [e
nmap ]e
" Bubble multiple lines
vmap [egv
vmap ]egv
```
I have even tried following multiple suggestions online and none are working as I would expect. Every time I visually select something and I use J or K to move up and down instead if moving up and down it tries to select more and does not move. Can someone direct me to how we can get this functionality in VimBox. Or if there is another move solution like this [issue](https://github.com/jordwalke/VimBox/issues/3) suggests, can someone direct me the key mapping to use it
The following links are tutorials I have tried to get this functionality to work in VImBox
https://www.youtube.com/watch?v=X5IAdaN6IwM&t=206s
https://www.youtube.com/watch?v=L93-S4qksVA
https://vim.fandom.com/wiki/Moving_lines_up_or_down
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the mappings shown in bundlesVimRc.custom and vimrc.custom.after, then compare the intended behavior with the approach discussed in issue 3. Check how VimBox loads these custom files and how J, K, and the Ctrl-up/Ctrl-down mappings behave in Visual mode. Done means a documented mapping reliably moves a single or multiple selected lines up and down.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100