Explorar el Código

make mouse clicks select an entry

Marco Hinz hace 12 años
padre
commit
25a900a40a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      plugin/startify.vim

+ 1 - 0
plugin/startify.vim

@@ -91,6 +91,7 @@ function! s:insane_in_the_membrane() abort
   nnoremap <buffer> q :quit<cr>
   nnoremap <buffer><silent> e :enew<cr>
   nnoremap <buffer><silent> <cr> :normal <c-r><c-w><cr>
+  nnoremap <buffer><silent> <LeftMouse> :normal <c-r><c-w><cr>
 
   if exists('g:startify_empty_buffer_key')
     execute 'nnoremap <buffer><silent> '. g:startify_empty_buffer_key .' :enew<cr>'