dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 18d568f26423a868d3e2539cb416c8b2ef7aea7d
parent 530a93c4b3f5e83d870073472785ba04cfd86088
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Mon, 27 Nov 2017 09:43:10 -0500

update easymotion bindings

Diffstat:
Mlinks/.vim/keybinds.vim | 11++++++++---
Mlinks/.vim/plugins.vim | 2+-
2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/links/.vim/keybinds.vim b/links/.vim/keybinds.vim @@ -125,11 +125,16 @@ inoremap lkj <Esc>:write<CR> "nnoremap j gj "nnoremap k gk +" easymotion bindings +let g:EasyMotion_smartcase = 1 " case-insensitive +let g:EasyMotion_do_mapping = 0 " disable default bindings + map <leader>E <Plug>(easymotion-prefix) +map <leader>j <Plug>(easymotion-j) +map <leader>k <Plug>(easymotion-k) -" <Leader>f{char} to move to {char} -map <leader><leader> <Plug>(easymotion-bd-f) -nmap <leader><leader> <Plug>(easymotion-overwin-f) +" <Leader><Leader>{char}{char} to move to {char}{char} +nmap s <Plug>(easymotion-overwin-f2) " Disable arrow keys map <Left> <Nop> diff --git a/links/.vim/plugins.vim b/links/.vim/plugins.vim @@ -28,7 +28,7 @@ Plug 'ludovicchabant/vim-gutentags' " automatic tag generation Plug 'w0rp/ale' " asynchronous syntax check """""" Buffer motion """""" -Plug 'Lokaltog/vim-easymotion' " jump to char with <spc><spc>char +Plug 'easymotion/vim-easymotion' " jump to char with <spc><spc>char Plug 'christoomey/vim-tmux-navigator' " seamless tmux pane/vim window navigation Plug 'junegunn/vim-slash' " clear highlight when moving cursor