diff --git a/nvim/init.vim b/nvim/init.vim index af9bdb1..2115464 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -369,12 +369,12 @@ augroup END augroup haskell_maps au! - au FileType haskell nmap ht :NeomakeSh stack exec -- fast-tags -R . - au FileType haskell nmap hg :Ghcid - au FileType haskell nmap hk :GhcidKill - au FileType haskell nmap hc :HoogleClose - au FileType haskell nmap ho :exe ':Hoogle ' . expand('') - au FileType haskell nmap hi :exe ':HoogleInfo ' . expand('') + au FileType haskell nmap t :NeomakeSh stack exec -- fast-tags -R . + au FileType haskell nmap g :Ghcid + au FileType haskell nmap k :GhcidKill + au FileType haskell nmap c :HoogleClose + au FileType haskell nmap o :exe ':Hoogle ' . expand('') + au FileType haskell nmap i :exe ':HoogleInfo ' . expand('') au FileType haskell setlocal keywordprg=:Hoogle augroup END @@ -395,29 +395,29 @@ augroup END augroup c_maps au! - au FileType c nmap ct :NeomakeSh ctags -R . - au FileType c nmap cu :NeomakeSh cscope -bqR - au FileType c nmap cr :cs reset + au FileType c nmap ct :NeomakeSh ctags -R . + au FileType c nmap cu :NeomakeSh cscope -bqR + au FileType c nmap cr :cs reset - au FileType c nmap ss :call Cscope('0', expand('')) - au FileType c nmap sg :call Cscope('1', expand('')) - au FileType c nmap sd :call Cscope('2', expand('')) - au FileType c nmap sc :call Cscope('3', expand('')) - au FileType c nmap st :call Cscope('4', expand('')) - au FileType c nmap se :call Cscope('6', expand('')) - au FileType c nmap sf :call Cscope('7', expand('')) - au FileType c nmap si :call Cscope('8', expand('')) - au FileType c nmap sa :call Cscope('9', expand('')) + au FileType c nmap s :call Cscope('0', expand('')) + au FileType c nmap g :call Cscope('1', expand('')) + au FileType c nmap d :call Cscope('2', expand('')) + au FileType c nmap c :call Cscope('3', expand('')) + au FileType c nmap t :call Cscope('4', expand('')) + au FileType c nmap e :call Cscope('6', expand('')) + au FileType c nmap f :call Cscope('7', expand('')) + au FileType c nmap i :call Cscope('8', expand('')) + au FileType c nmap a :call Cscope('9', expand('')) - au FileType c nmap ss :call CscopeQuery('0') - au FileType c nmap sg :call CscopeQuery('1') - au FileType c nmap sd :call CscopeQuery('2') - au FileType c nmap sc :call CscopeQuery('3') - au FileType c nmap st :call CscopeQuery('4') - au FileType c nmap se :call CscopeQuery('6') - au FileType c nmap sf :call CscopeQuery('7') - au FileType c nmap si :call CscopeQuery('8') - au FileType c nmap sa :call CscopeQuery('9') + au FileType c nmap s :call CscopeQuery('0') + au FileType c nmap g :call CscopeQuery('1') + au FileType c nmap d :call CscopeQuery('2') + au FileType c nmap c :call CscopeQuery('3') + au FileType c nmap t :call CscopeQuery('4') + au FileType c nmap e :call CscopeQuery('6') + au FileType c nmap f :call CscopeQuery('7') + au FileType c nmap i :call CscopeQuery('8') + au FileType c nmap a :call CscopeQuery('9') augroup END augroup rust_maps