Explorar el Código

add date and time to vim statusbar

Weiyi Lou hace 13 años
padre
commit
b20e9f215b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      vim/vimrc

+ 2 - 0
vim/vimrc

@@ -84,6 +84,8 @@ endif
 
 set number "show line numbers
 set ruler "show row,col count in status line
+set rulerformat=%55(%{strftime('%a\ %b\ %e\ %I:%M\ %p')}\ %5l,%-6(%c%V%)\ %P%)
+nnoremap <silent> <expr> $ ScreenMovement("$")
 set laststatus=2 "always show a status line
 
 if version >= 730