fs_menu: put the NERDTreeListNode* methods together
This commit is contained in:
parent
b19995b14f
commit
adc11983bc
@ -213,6 +213,17 @@ function! NERDTreeDeleteNode()
|
|||||||
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
" FUNCTION: NERDTreeListNode() {{{1
|
||||||
|
function! NERDTreeListNode()
|
||||||
|
let treenode = g:NERDTreeFileNode.GetSelected()
|
||||||
|
if treenode != {}
|
||||||
|
let metadata = split(system('ls -ld ' . shellescape(treenode.path.str())), '\n')
|
||||||
|
call s:echo(metadata[0])
|
||||||
|
else
|
||||||
|
call s:echo("No information avaialable")
|
||||||
|
endif
|
||||||
|
endfunction
|
||||||
|
|
||||||
" FUNCTION: NERDTreeListNodeWin32() {{{1
|
" FUNCTION: NERDTreeListNodeWin32() {{{1
|
||||||
function! NERDTreeListNodeWin32()
|
function! NERDTreeListNodeWin32()
|
||||||
let treenode = g:NERDTreeFileNode.GetSelected()
|
let treenode = g:NERDTreeFileNode.GetSelected()
|
||||||
@ -287,16 +298,4 @@ function! NERDTreeExecuteFile()
|
|||||||
let x = system("open '" . treenode.path.str() . "'")
|
let x = system("open '" . treenode.path.str() . "'")
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" FUNCTION: NERDTreeListNode() {{{1
|
|
||||||
function! NERDTreeListNode()
|
|
||||||
let treenode = g:NERDTreeFileNode.GetSelected()
|
|
||||||
if treenode != {}
|
|
||||||
let metadata = split(system('ls -ld ' . shellescape(treenode.path.str())), '\n')
|
|
||||||
call s:echo(metadata[0])
|
|
||||||
else
|
|
||||||
call s:echo("No information avaialable")
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
" vim: set sw=4 sts=4 et fdm=marker:
|
" vim: set sw=4 sts=4 et fdm=marker:
|
||||||
|
Loading…
Reference in New Issue
Block a user