Skip to content

Commit

Permalink
fixed some maps:
Browse files Browse the repository at this point in the history
- tabs moving by <A-h>/<A-l> now moved to <A-b>/<A-f>
  (because "vim-move" plugin needs it after an update)
- <A-f> for Hoogling is moved to <A-g> (since <A-f> now is for tabs)
  • Loading branch information
unclechu committed Aug 20, 2018
1 parent 8317fbe commit fa2123e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions maps.vim
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ nmap <leader>gP <leader>gp<CR>
nnoremap <C-Space> :CtrlSpace<CR>
" Make Hoogle search easier (because I use it very often)
nnoremap <A-f> :Hoogle<space>
xnoremap <A-f> <Esc>
nnoremap <A-g> :Hoogle<space>
xnoremap <A-g> <Esc>
\:let __tmp_x_leader_A_f = @0<CR>gv
\y:Hoogle <C-R>0
\<C-R>=execute('let @0 = __tmp_x_leader_A_f \| unl __tmp_x_leader_A_f')<CR>
Expand Down Expand Up @@ -478,8 +478,8 @@ nnoremap ,gt gt
xnoremap ,gt gt
" navigating by tabs
nmap <A-h> gT
nmap <A-l> gt
nmap <A-f> gt
nmap <A-b> gT
" default maps disabled for plugin
cnoremap <expr> <CR> '<CR>' . (getcmdtype() =~ '[/?]' ? ':ShowSearchIndex<CR>' : '')
Expand Down

0 comments on commit fa2123e

Please sign in to comment.