1
0
Fork 0
mirror of synced 2024-12-22 06:51:06 -05:00

Merge branch 'master' of github.com:amix/vimrc

This commit is contained in:
Amir 2020-12-07 10:44:04 +01:00
commit f6855c3c41
4 changed files with 6 additions and 6 deletions

View file

@ -227,7 +227,7 @@ Surround the visual selection in parenthesis/brackets/etc.:
vnoremap $3 <esc>`>a}<esc>`<i{<esc> vnoremap $3 <esc>`>a}<esc>`<i{<esc>
vnoremap $$ <esc>`>a"<esc>`<i"<esc> vnoremap $$ <esc>`>a"<esc>`<i"<esc>
vnoremap $q <esc>`>a'<esc>`<i'<esc> vnoremap $q <esc>`>a'<esc>`<i'<esc>
vnoremap $e <esc>`>a"<esc>`<i"<esc> vnoremap $e <esc>`>a`<esc>`<i`<esc>
### Insert mode mappings ### Insert mode mappings
@ -370,8 +370,8 @@ Just do following:
* Remove any lines that reference `.vim_runtime` in your `~/.vimrc` * Remove any lines that reference `.vim_runtime` in your `~/.vimrc`
## Doist ## Looking for a remote-first job?
Maintaining this Vim configuration isn't my day job. Daily I am the founder of [Doist](https://doist.com/). You could come and help us build the workplace of the future while living a balanced life (anywhere in the world 🌍🌎🌏). Maintaining this Vim configuration isn't my day job. Daily I am the founder/CEO of [Doist](https://doist.com/). You could come and help us build the workplace of the future while living a balanced life (anywhere in the world 🌍🌎🌏).
PS: Using Vim isn't a requirement 😄 PS: Using Vim isn't a requirement 😄

View file

@ -31,7 +31,7 @@ else
SELECTED_USERS=${@:2} SELECTED_USERS=${@:2}
echo "Selected users: $SELECTED_USERS" echo "Selected users: $SELECTED_USERS"
for user in $SELECTED_USERS; do for user in $SELECTED_USERS; do
homepath=$(eval echo "~/$user") homepath=$(eval echo "~$user")
IFS='' IFS=''
echo $VIMRC > ${homepath}/.vimrc echo $VIMRC > ${homepath}/.vimrc
unset IFS unset IFS

View file

@ -2,7 +2,7 @@ GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
diff-lcs (1.2.5) diff-lcs (1.2.5)
rake (10.4.2) rake (12.3.3)
rspec (3.4.0) rspec (3.4.0)
rspec-core (~> 3.4.0) rspec-core (~> 3.4.0)
rspec-expectations (~> 3.4.0) rspec-expectations (~> 3.4.0)

View file

@ -85,7 +85,7 @@ vnoremap $2 <esc>`>a]<esc>`<i[<esc>
vnoremap $3 <esc>`>a}<esc>`<i{<esc> vnoremap $3 <esc>`>a}<esc>`<i{<esc>
vnoremap $$ <esc>`>a"<esc>`<i"<esc> vnoremap $$ <esc>`>a"<esc>`<i"<esc>
vnoremap $q <esc>`>a'<esc>`<i'<esc> vnoremap $q <esc>`>a'<esc>`<i'<esc>
vnoremap $e <esc>`>a"<esc>`<i"<esc> vnoremap $e <esc>`>a`<esc>`<i`<esc>
" Map auto complete of (, ", ', [ " Map auto complete of (, ", ', [
inoremap $1 ()<esc>i inoremap $1 ()<esc>i