-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path0101 - nlist.vim.json
43 lines (43 loc) · 2.43 KB
/
0101 - nlist.vim.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"script_id": "101",
"display_name": "nlist.vim",
"summary": "Vim global plugin for adding line numbers",
"name": "nlist.vim",
"script_type": "utility",
"description": "Description:\nThis provides a command and a function. They both can be called with or\nwithout a range. In addition, they can be called with or without arguments.\nWithout a range they operate on the current line. The arguments are described\nbelow:\n\n arg1 -> the number to start at. The default is one. This will\n number your selected lines sequentially. The start can be a\n number, ., $, or, 'x (like getline).\n arg2 -> Text to append after numbers. The default is a space.\n arg3 -> Controls formatting. Can be \"left\", \"right\", or \"none\". The\n default is \"right\".\n\nExamples:\n To make a list start at 1:\n :'<,'>Nlist\n :'<,'>call Nlist()\n To number the whole buffer (with it's actual line number):\n :%Nlist\n :%call Nlist()\n To number a subset of lines with their line number (and put a '] ' in\n front of every number):\n :'<,'>Nlist . ]\\\n :'<,'>call Nlist(\".\", \"] \")\n To number the whole buffer (with it's actual line number) without\n justification:\n :%Nlist 1 \\ left\n :%call Nlist(\"1\", \" \", \"none\")\n\nExample mappings that a user can define:\nnnoremap <unique> <Leader>N :%Nlist<cr>\nvnoremap <unique> <Leader>N :Nlist<cr>",
"install_details": "cp ~/.vim/plugin",
"versions": [
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=2125",
"filename": "nlist.vim",
"script_version": "2.0",
"date": "2003-07-02",
"vim_version": "6.0",
"author": {
"user_id": "271",
"user_name": "bmedley",
"first_name": "brian",
"last_name": "medley",
"email": "bpm-vim@4321.tv",
"homepage": ""
},
"release_notes": "Alphabetic numbering like a b c .... y z aa ab ac added by Seib."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=218",
"filename": "nlist.vim",
"script_version": "1.0",
"date": "2001-10-01",
"vim_version": "6.0",
"author": {
"user_id": "271",
"user_name": "bmedley",
"first_name": "brian",
"last_name": "medley",
"email": "bpm-vim@4321.tv",
"homepage": ""
},
"release_notes": "Initial upload"
}
]
}