1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

replaced vim-sneak with vim-easymotion

This commit is contained in:
Ryan Kes 2020-08-18 15:04:27 +02:00
parent 06d5b3d182
commit 8e5be79868
2 changed files with 22 additions and 3 deletions

View File

@ -160,9 +160,9 @@ A repository of my personal configuration files.
*** General
- [[https://github.com/bling/vim-bufferline][bling/vim-bufferline]]
- [[https://github.com/ctrlpvim/ctrlp.vim][ctrlp/ctrlp.vim]]
- [[https://github.com/easymotion/vim-easymotion][easymotion/vim-easymotion]]
- [[https://github.com/farmergreg/vim-lastplace][farmergreg/vim-lastplace]]
-[[https://github.com/junegunn/fzf][ junegunn/fzf]]
- [[https://github.com/justinmk/vim-sneak][justinmk/vim-sneak]]
- [[https://github.com/junegunn/fzf][ junegunn/fzf]]
- [[https://github.com/mbbill/undotree][mbbill/undotree]]
- [[https://github.com/mhinz/vim-signify][mhinz/vim-signify]]
- [[https://github.com/myusuf3/numbers.vim][myusuf3/numbers.vim]]

View File

@ -17,9 +17,9 @@
Plug 'unblevable/quick-scope'
" }
Plug 'bling/vim-bufferline'
Plug 'easymotion/vim-easymotion'
Plug 'farmergreg/vim-lastplace'
Plug 'junegunn/fzf'
Plug 'justinmk/vim-sneak'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'mbbill/undotree'
Plug 'mhinz/vim-signify'
@ -195,4 +195,23 @@
" Fix files automatically on save
let g:ale_fix_on_save = 1
" }
" easymotion {
let g:EasyMotion_do_mapping = 0 " Disable default mappings
" Jump to anywhere you want with minimal keystrokes, with just one key binding.
" `s{char}{label}`
nmap s <Plug>(easymotion-overwin-f)
" or
" `s{char}{char}{label}`
" Need one more keystroke, but on average, it may be more comfortable.
nmap s <Plug>(easymotion-overwin-f2)
" Turn on case-insensitive feature
let g:EasyMotion_smartcase = 1
" JK motions: Line motions
map <Leader>j <Plug>(easymotion-j)
map <Leader>k <Plug>(easymotion-k)
" }
" }