diff options
Diffstat (limited to 'vimrc-full')
-rw-r--r-- | vimrc-full | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -506,6 +506,8 @@ if has("autocmd") | |||
506 | 09menu &Directory.Change\ to\ current\ buffers\ directory\ (local\ window)<tab>:lcd\ %:p:h | 506 | 09menu &Directory.Change\ to\ current\ buffers\ directory\ (local\ window)<tab>:lcd\ %:p:h |
507 | \ :lcd %:p:h<CR>:pwd<CR> | 507 | \ :lcd %:p:h<CR>:pwd<CR> |
508 | 508 | ||
509 | menu &Git.&Display\ uncommited\ files\ in\ location\ list | ||
510 | \ :call setloclist(0, map(systemlist("git diff --name-only --pretty=''"), {_, p->{'filename': fnamemodify(p, ':.')}}))<CR>:lopen<CR> | ||
509 | menu &Git.&Display\ recently\ changed\ files\ in\ location\ list | 511 | menu &Git.&Display\ recently\ changed\ files\ in\ location\ list |
510 | \ :call setloclist(0, map(systemlist("git show --name-only --pretty=''"), {_, p->{'filename': fnamemodify(p, ':.')}}))<CR>:lopen<CR> | 512 | \ :call setloclist(0, map(systemlist("git show --name-only --pretty=''"), {_, p->{'filename': fnamemodify(p, ':.')}}))<CR>:lopen<CR> |
511 | menu &Git.&Display\ last\ changes | 513 | menu &Git.&Display\ last\ changes |
@@ -1143,6 +1145,8 @@ augroup status | |||
1143 | \ ."%#".a:highlight_group."#" | 1145 | \ ."%#".a:highlight_group."#" |
1144 | \ ."%(%w%h%q\ %{ModeString()}%)" | 1146 | \ ."%(%w%h%q\ %{ModeString()}%)" |
1145 | \ ."%-2{nr2char(0xe621)}" | 1147 | \ ."%-2{nr2char(0xe621)}" |
1148 | \ ."%{(argc()>0\ ?\ argidx()+1.':'.argc().' '.nr2char(0xe621).' '\ :\ '')}" | ||
1149 | \ ."%{winbufnr(0).' '.nr2char(0xe621)}" | ||
1146 | \ ."%{(&readonly\ ?\ '\ \ \ '\ :\ '')}" | 1150 | \ ."%{(&readonly\ ?\ '\ \ \ '\ :\ '')}" |
1147 | \ ."%{(&modified\ ?\ nr2char(0xF0C7).'\ '\ :\ '')\ }" | 1151 | \ ."%{(&modified\ ?\ nr2char(0xF0C7).'\ '\ :\ '')\ }" |
1148 | \ ."%{(&buftype\ ==\ \"terminal\"\ ?\ ''\ :\ fnamemodify(getcwd(),\ ':~').nr2char(0xf44a))}\ " | 1152 | \ ."%{(&buftype\ ==\ \"terminal\"\ ?\ ''\ :\ fnamemodify(getcwd(),\ ':~').nr2char(0xf44a))}\ " |
@@ -1162,7 +1166,7 @@ augroup status | |||
1162 | \ ."%{(&fileencoding\ !=\ ''\ ?\ &fileencoding.' '.nr2char(0xe621)\ :\ '')}" | 1166 | \ ."%{(&fileencoding\ !=\ ''\ ?\ &fileencoding.' '.nr2char(0xe621)\ :\ '')}" |
1163 | \ ."%{(&fileformat\ !=\ ''\ ?\ &fileformat\ :\ '')}" | 1167 | \ ."%{(&fileformat\ !=\ ''\ ?\ &fileformat\ :\ '')}" |
1164 | \ ."%(\ %{nr2char(0xe621)}\ %)" | 1168 | \ ."%(\ %{nr2char(0xe621)}\ %)" |
1165 | \ ."%4l:%-4c" | 1169 | \ ."%4l:%-3c" |
1166 | \ ."%(\ %{nr2char(0xe621)}\ %)" | 1170 | \ ."%(\ %{nr2char(0xe621)}\ %)" |
1167 | \ ."%-3p%%" | 1171 | \ ."%-3p%%" |
1168 | endfunction | 1172 | endfunction |