xaizek / dotvim (License: Unspecified) (since 2018-12-07)
Vim configuration and plugins.
Commit b6da169943c470be31dfae117f883613620ed8dd

Fix A mapping
Got broken due to the use of nnoremap.

The auxiliary ZA mapping seems to be a workaround use of nmap, so now
everything is fine.
Author: xaizek
Author date (UTC): 2020-02-17 22:48
Committer name: xaizek
Committer date (UTC): 2020-02-17 22:48
Parent(s): 982996f63cdc472102a46edbd142daaa2f425f02
Signing key: 99DC5E4DB05F6BE2
Tree: 010e4fd7f8edf739faf7cd3596094872b9e714c2
File Lines added Lines deleted
autoload/libedit/adva.vim 1 3
File autoload/libedit/adva.vim changed (mode: 100644) (index 070243e..809a41f)
1 nnoremap ZA A
2
3 1 " A that considers indentation level " A that considers indentation level
4 2 function! libedit#adva#AdvancedA() function! libedit#adva#AdvancedA()
5 3 let l:prev_indent = indent(line('.') - 1) let l:prev_indent = indent(line('.') - 1)
 
... ... function! libedit#adva#AdvancedA()
15 13 elseif l:is_empty elseif l:is_empty
16 14 return 'I' return 'I'
17 15 else else
18 return 'ZA'
16 return 'A'
19 17 endif endif
20 18 endfunction 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