xaizek / dotvim (License: Unspecified) (since 2018-12-07)
Vim configuration and plugins.
<root> / autoload / libaction.vim (95bf5c619cd69a2e6f08819dd639db3229f0df73) (426B) (mode 100644) [raw]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
" move tab to [count] tab position, if [count] is present
function libaction#CountTabMove()
    if v:count == 0
        return 'gT'
    endif

    let ret = ":\<C-u>tabmove "
    if v:count > tabpagenr('$')
        let ret .= tabpagenr('$')
    elseif v:count >= tabpagenr()
        let ret .= v:count
    elseif v:count < tabpagenr()
        let ret .= v:count - 1
    endif
    let ret .= "\<CR>"
    return ret
endfunction
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/dotvim

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/dotvim

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master