Skip to content

Commit

Permalink
Keep the mouse in the first column
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdjeg committed Jun 8, 2019
1 parent bdd3a3c commit c5c98e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/plugins/defx.vim
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ function! s:defx_init()
setl nofoldenable
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> <C-l>
silent! nunmap <buffer> <C-j>
Expand Down

0 comments on commit c5c98e1

Please sign in to comment.