1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

Keep the mouse in the first column

This commit is contained in:
Shidong Wang 2019-06-08 21:38:05 +08:00
parent bdd3a3c658
commit c5c98e13c9

View File

@ -59,6 +59,11 @@ function! s:defx_init()
setl nofoldenable setl nofoldenable
setl foldmethod=manual setl foldmethod=manual
" disable this mappings
nnoremap <silent><buffer> <3-LeftMouse> <Nop>
nnoremap <silent><buffer> <4-LeftMouse> <Nop>
nnoremap <silent><buffer> <LeftMouse> <LeftMouse><Home>
silent! nunmap <buffer> <Space> silent! nunmap <buffer> <Space>
silent! nunmap <buffer> <C-l> silent! nunmap <buffer> <C-l>
silent! nunmap <buffer> <C-j> silent! nunmap <buffer> <C-j>