diff options
author | aktersnurra <gustaf.rydholm@gmail.com> | 2021-02-07 20:35:46 +0100 |
---|---|---|
committer | aktersnurra <gustaf.rydholm@gmail.com> | 2021-02-07 20:35:46 +0100 |
commit | a29fa44b3a0bd6f726ab2e8169dec35b697b04a0 (patch) | |
tree | 49e40e6e6b5b0378ea47638f77039bb4ae4c42b5 /.config/nvim/plug-config/sneak.vim | |
parent | 251cde74e3bdfe70776aac644ee8858515fbc55c (diff) |
neovim config added
Diffstat (limited to '.config/nvim/plug-config/sneak.vim')
-rw-r--r-- | .config/nvim/plug-config/sneak.vim | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.config/nvim/plug-config/sneak.vim b/.config/nvim/plug-config/sneak.vim new file mode 100644 index 0000000..2641dc9 --- /dev/null +++ b/.config/nvim/plug-config/sneak.vim @@ -0,0 +1,25 @@ +let g:sneak#label = 1 + +" case insensitive sneak +let g:sneak#use_ic_scs = 1 + +" immediately move to the next instance of search, if you move the cursor sneak is back to default behavior +let g:sneak#s_next = 1 + +" remap so I can use , and ; with f and t +map gS <Plug>Sneak_, +map gs <Plug>Sneak_; + +" Change the colors +highlight Sneak guifg=black guibg=#00C7DF ctermfg=black ctermbg=cyan +highlight SneakScope guifg=red guibg=yellow ctermfg=red ctermbg=yellow + +" Cool prompts +" let g:sneak#prompt = '🕵️' +let g:sneak#prompt = '🔎 ' + +" I like quickscope better for this since it keeps me in the scope of a single line +" map f <Plug>Sneak_f +" map F <Plug>Sneak_F +" map t <Plug>Sneak_t +" map T <Plug>Sneak_T |