mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 23:06:38 -05:00
Remove vim-unimpaired and vim-repeat, and manually add the [<Space> ]<Space> feature of vim-unimpaired that adds lines above and below the current one
This commit is contained in:
parent
17d829c8fc
commit
28cad284ac
5 changed files with 7 additions and 19 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -22,18 +22,12 @@
|
||||||
[submodule "vim/bundle/vim-signify"]
|
[submodule "vim/bundle/vim-signify"]
|
||||||
path = vim/bundle/vim-signify
|
path = vim/bundle/vim-signify
|
||||||
url = https://github.com/mhinz/vim-signify
|
url = https://github.com/mhinz/vim-signify
|
||||||
[submodule "vim/bundle/vim-repeat"]
|
|
||||||
path = vim/bundle/vim-repeat
|
|
||||||
url = https://github.com/tpope/vim-repeat.git
|
|
||||||
[submodule "vim/bundle/vim-polyglot-darkcloud"]
|
[submodule "vim/bundle/vim-polyglot-darkcloud"]
|
||||||
path = vim/bundle/vim-polyglot-darkcloud
|
path = vim/bundle/vim-polyglot-darkcloud
|
||||||
url = https://github.com/prurigro/vim-polyglot-darkcloud.git
|
url = https://github.com/prurigro/vim-polyglot-darkcloud.git
|
||||||
[submodule "vim/bundle/tabular"]
|
[submodule "vim/bundle/tabular"]
|
||||||
path = vim/bundle/tabular
|
path = vim/bundle/tabular
|
||||||
url = https://github.com/godlygeek/tabular
|
url = https://github.com/godlygeek/tabular
|
||||||
[submodule "vim/bundle/vim-unimpaired"]
|
|
||||||
path = vim/bundle/vim-unimpaired
|
|
||||||
url = https://github.com/tpope/vim-unimpaired.git
|
|
||||||
[submodule "vim/bundle/ReplaceWithRegister"]
|
[submodule "vim/bundle/ReplaceWithRegister"]
|
||||||
path = vim/bundle/ReplaceWithRegister
|
path = vim/bundle/ReplaceWithRegister
|
||||||
url = https://github.com/prurigro/ReplaceWithRegister.git
|
url = https://github.com/prurigro/ReplaceWithRegister.git
|
||||||
|
|
|
@ -144,8 +144,6 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the
|
||||||
* [vim-signify](https://github.com/mhinz/vim-signify): When a version controlled file is changed, this displays a column showing where and how, and allows for navigation to and between differences
|
* [vim-signify](https://github.com/mhinz/vim-signify): When a version controlled file is changed, this displays a column showing where and how, and allows for navigation to and between differences
|
||||||
* [vim-togglelist](https://github.com/milkypostman/vim-togglelist): A simple plugin for vim that allows you to bind a key to toggle the Location List and the Quickfix List
|
* [vim-togglelist](https://github.com/milkypostman/vim-togglelist): A simple plugin for vim that allows you to bind a key to toggle the Location List and the Quickfix List
|
||||||
* [vim-trailing-whitespace](https://github.com/bronson/vim-trailing-whitespace): Highlights and allows for the easy removal of trailing whitespace in documents
|
* [vim-trailing-whitespace](https://github.com/bronson/vim-trailing-whitespace): Highlights and allows for the easy removal of trailing whitespace in documents
|
||||||
* [vim-unimpaired](https://github.com/tpope/vim-unimpaired): Pairs of handy bracket mappings
|
|
||||||
* [vim-repeat](https://github.com/tpope/vim-repeat): Enable repeating supported plugin maps with "."
|
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 24afe922e6a05891756ecf331f39a1f6743d3d5a
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 6d44a6dc2ec34607c41ec78acf81657248580bf1
|
|
|
@ -134,12 +134,10 @@
|
||||||
" <Leader>w | (N) -> remove whitespace
|
" <Leader>w | (N) -> remove whitespace
|
||||||
" <Tab> | (V) -> indent all the lines currently selected
|
" <Tab> | (V) -> indent all the lines currently selected
|
||||||
" <Tab> | (N) -> indent the current line
|
" <Tab> | (N) -> indent the current line
|
||||||
" <Leader>> | (V) -> indent all the lines currently selected
|
|
||||||
" <Leader>> | (N) -> indent the current line
|
|
||||||
" <Shift-Tab> | (V) -> un-indent all the lines currently selected
|
" <Shift-Tab> | (V) -> un-indent all the lines currently selected
|
||||||
" <Shift-Tab> | (N) -> un-indent the current line
|
" <Shift-Tab> | (N) -> un-indent the current line
|
||||||
" <Leader>< | (V) -> un-indent all the lines currently selected
|
" [<Space> | (N) -> insert a blank line above the current one
|
||||||
" <Leader>< | (N) -> un-indent the current line
|
" ]<Space> | (N) -> insert a blank line below the current one
|
||||||
"
|
"
|
||||||
" (macros)
|
" (macros)
|
||||||
" ' | (N) -> run a macro
|
" ' | (N) -> run a macro
|
||||||
|
@ -521,15 +519,15 @@
|
||||||
"remove trailing whitespace
|
"remove trailing whitespace
|
||||||
nnoremap <silent><expr> <Leader>w ':FixWhitespace<CR>:echo "Trailing whitespace has been removed"<CR>'
|
nnoremap <silent><expr> <Leader>w ':FixWhitespace<CR>:echo "Trailing whitespace has been removed"<CR>'
|
||||||
|
|
||||||
"tab/<Leader>> and untab/<Leader>< the currently selected lines
|
"tab and untab the currently selected lines
|
||||||
vnoremap <Tab> >gv
|
vnoremap <Tab> >gv
|
||||||
nnoremap <Tab> v>gv<Esc>
|
nnoremap <Tab> v>gv<Esc>
|
||||||
vnoremap <Leader>> >gv
|
|
||||||
nnoremap <Leader>> v>gv<Esc>
|
|
||||||
vnoremap <S-Tab> <gv
|
vnoremap <S-Tab> <gv
|
||||||
nnoremap <S-Tab> v<gv<Esc>
|
nnoremap <S-Tab> v<gv<Esc>
|
||||||
vnoremap <Leader>< <gv
|
|
||||||
nnoremap <Leader>< v<gv<Esc>
|
"insert blank lines above and below the current one
|
||||||
|
nnoremap <silent> ]<Space> :<C-u>call append(line("."), repeat([""], v:count1))<CR>
|
||||||
|
nnoremap <silent> [<Space> :<C-u>call append(line(".")-1, repeat([""], v:count1))<CR>
|
||||||
"}
|
"}
|
||||||
|
|
||||||
"MACROS:{
|
"MACROS:{
|
||||||
|
|
Loading…
Reference in a new issue