소스 검색

Doc: add another example for custom indices

Marco Hinz 11 년 전
부모
커밋
7676944ad7
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      doc/startify.txt

+ 4 - 0
doc/startify.txt

@@ -357,6 +357,10 @@ This would result in:
     [2]  /last/recently/used/file6
     etc.
 
+If you want numbers to start at 1 instead of 0, you could use this:
+>
+    let g:startify_custom_indices = map(range(1,100), 'string(v:val)')
+<
 NOTE: There is no sanitizing going on, so you should know what you're doing!
 
 Best practices: