Révision | 2406379373091c7efe1ac704ad5abe3f6a102358 (tree) |
---|---|
l'heure | 2018-12-18 06:24:52 |
Auteur | Markus <Markus@dark...> |
Commiter | Markus |
new ftplugin echos value of options
@@ -0,0 +1,12 @@ | ||
1 | +" Vim ftplugin file | |
2 | +" | |
3 | +" Description: Add-on some features for Help files. | |
4 | + | |
5 | +if exists("b:did_ftplugin_after") | |
6 | + finish | |
7 | +endif | |
8 | + | |
9 | +" Show value of 'option' under cursor | |
10 | +nnoremap <buffer> <LocalLeader>o :execute "echo &" . substitute(expand("<cword>"), "'", "", "g")<CR> | |
11 | + | |
12 | +let b:did_ftplugin_after = 1 |