summary refs log tree commit diff stats
path: root/lib/pure/unidecode/unidecode.dat
Commit message (Collapse)AuthorAgeFilesLines
* fixes #8768 properlyAraq2018-08-301-3/+0
|
* fixes #8768Araq2018-08-301-419/+419
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* fixed pango/pangoutils new wrappersAndreas Rumpf2010-02-261-0/+0
|
* continued work on html/xmlparserrumpf_a@web.de2010-02-141-0/+0
|
* further progress on the new XML processing modulesAndreas Rumpf2010-02-121-0/+0
|
* more enhancements for the libAndreas Rumpf2010-02-081-0/+65411
e31e96f108a2339c52631e1d42a48e22234ad82'>^
ee35f41d ^
93654aa0 ^
ee35f41d ^

796074b5 ^
ee35f41d ^

93654aa0 ^
ee35f41d ^








ab90d5bb ^
ee35f41d ^


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
                                            
 
                                     
 
                                                                             
                                                                              

                                                                              
 




                                                                             




                                                                         
                          
               

                          
         

                              
               








                                                         
           


                                               
" Compatible with ranger 1.4.2 through 1.7.*
"
" Add ranger as a file chooser in vim
"
" If you add this code to the .vimrc, ranger can be started using the command
" ":RangerChooser" or the keybinding "<leader>r".  Once you select one or more
" files, press enter and ranger will quit again and vim will open the selected
" files.

function! RangeChooser()
    let temp = tempname()
    " The option "--choosefiles" was added in ranger 1.5.1. Use the next line
    " with ranger 1.4.2 through 1.5.0 instead.
    "exec 'silent !ranger --choosefile=' . shellescape(temp)
    if has("gui_running")
        exec 'silent !xterm -e ranger --choosefiles=' . shellescape(temp)
    else
        exec 'silent !ranger --choosefiles=' . shellescape(temp)
    endif
    if !filereadable(temp)
        redraw!
        " Nothing to read.
        return
    endif
    let names = readfile(temp)
    if empty(names)
        redraw!
        " Nothing to open.
        return
    endif
    " Edit the first item.
    exec 'edit ' . fnameescape(names[0])
    " Add any remaning items to the arg list/buffer list.
    for name in names[1:]
        exec 'argadd ' . fnameescape(name)
    endfor
    redraw!
endfunction
command! -bar RangerChooser call RangeChooser()
nnoremap <leader>r :<C-U>RangerChooser<CR>