From 9918dc4fd54d0683c95e10418ed7a34bcc6f773c Mon Sep 17 00:00:00 2001 From: Marco Hinz <mh.codebro@gmail.com> Date: Sat, 27 Apr 2013 10:49:38 +0200 Subject: [PATCH] click anywhere on the line to select --- plugin/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/startify.vim b/plugin/startify.vim index 0b1dd09..3f032fb 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -91,7 +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> + nnoremap <buffer><silent> <LeftRelease> :execute 'normal '. matchstr(getline('.'), '\w\+')<cr> if exists('g:startify_empty_buffer_key') execute 'nnoremap <buffer><silent> '. g:startify_empty_buffer_key .' :enew<cr>'