aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--.vim/after/plugin/ale.vim2
-rw-r--r--.vim/after/plugin/sneak.vim3
m---------.vim/pack/submodule/opt/vim-sneak (renamed from .vim/pack/submodule/start/vim-sneak)0
-rw-r--r--README.md3
5 files changed, 10 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
index f3e87f0..8ae1da9 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -16,3 +16,6 @@
[submodule ".vim/pack/submodule/start/vim-sneak"]
path = .vim/pack/submodule/start/vim-sneak
url = https://github.com/justinmk/vim-sneak
+[submodule ".vim/pack/submodule/opt/vim-sneak"]
+ path = .vim/pack/submodule/opt/vim-sneak
+ url = https://github.com/justinmk/vim-sneak
diff --git a/.vim/after/plugin/ale.vim b/.vim/after/plugin/ale.vim
index 3103ef9..ab71dba 100644
--- a/.vim/after/plugin/ale.vim
+++ b/.vim/after/plugin/ale.vim
@@ -7,6 +7,8 @@ let g:ale_sign_warning = 'W>'
let g:ale_hover_cursor = 0
let g:ale_virtualtext_cursor = 1
+autocmd FileType markdown let b:ale_languagetool_options = '--autoDetect --disable WHITESPACE_RULE'
+
nmap <silent> [g <Plug>(ale_previous_wrap)
nmap <silent> ]g <Plug>(ale_next_wrap)
diff --git a/.vim/after/plugin/sneak.vim b/.vim/after/plugin/sneak.vim
new file mode 100644
index 0000000..c0d73d1
--- /dev/null
+++ b/.vim/after/plugin/sneak.vim
@@ -0,0 +1,3 @@
+let g:sneak#use_ic_scs = 1
+
+packadd vim-sneak
diff --git a/.vim/pack/submodule/start/vim-sneak b/.vim/pack/submodule/opt/vim-sneak
-Subproject 29ec9167d4a609f74c130b46265aa17eb2736e6
+Subproject 29ec9167d4a609f74c130b46265aa17eb2736e6
diff --git a/README.md b/README.md
index 7eab427..924cc26 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,8 @@ Motion:
- [vim9-stargate](https://github.com/monkoose/vim9-stargate): modern
alternative to easymotion.
- [vim-sneak](https://github.com/justinmk/vim-sneak): Jump to any
- location with two characters.
+ location with two characters. It should be `opt`. Otherwise the config
+ in `after` folder would not work.
Languages specfic: