diff --git a/vim/.vim/colors/madtheme.vim b/vim/.vim/colors/madtheme.vim index c1a6b8b..c7e3cb2 100644 --- a/vim/.vim/colors/madtheme.vim +++ b/vim/.vim/colors/madtheme.vim @@ -58,12 +58,14 @@ hi Ignore cterm=bold ctermfg=darkgrey hi Error cterm=bold ctermbg=red hi Todo cterm=bold,underline ctermbg=none ctermfg=darkgrey -" EasyMotion -hi EasyMotionTarget cterm=none ctermbg=darkblue ctermfg=black -hi EasyMotionShade cterm=none ctermbg=none ctermfg=grey -hi EasyMotionMoveHL cterm=none ctermbg=none ctermfg=darkblue -hi EasyMotionTarget2First ctermbg=none ctermfg=red -hi EasyMotionTarget2Second ctermbg=none ctermfg=lightred +" EasyMotion +hi EasyMotionTarget cterm=none ctermbg=none ctermfg=lightblue +hi EasyMotionShade cterm=none ctermbg=none ctermfg=grey +hi EasyMotionMoveHL cterm=none ctermbg=none ctermfg=blue +hi EasyMotionTarget2First cterm=none ctermbg=none ctermfg=blue +hi EasyMotionTarget2Second cterm=none ctermbg=none ctermfg=blue +hi EasyMotionIncSearch cterm=none ctermbg=none ctermfg=lightblue +hi EasyMotionIncCursor cterm=none ctermbg=none ctermfg=lightblue " ModeLine hi ModeLineNormal cterm=none ctermbg=none ctermfg=none diff --git a/vim/.vimrc b/vim/.vimrc index f04d491..722fc7a 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -156,23 +156,35 @@ nnoremap i :set list! nnoremap rr :call RunCmdVimux() nnoremap rq :call VimuxCloseRunner() nnoremap ; :call AddSemicolon() -nnoremap todo :g/TODO/ +nnoremap t :g/TODO/ " 0 should find first non blank nmap 0 ^ " Easy buffer switching -nnoremap :bnext -nnoremap :bprev +nnoremap M :bnext +nnoremap N :bprev " Moving through windows nnoremap l nnoremap h nnoremap j nnoremap k " Quick macroing -nnoremap + @wj +nnoremap Q @@ " --- Don't need a help inoremap nnoremap vnoremap +" -- Make Y behave correct +map Y y$ +" -- Easy indenting in visual +vnoremap > >gv +vnoremap < +nmap ) +nmap { +nmap } +nmap [ +nmap ] " Sudo to write cnoremap w!! w !sudo tee % >/dev/null @@ -186,7 +198,6 @@ ino ino ino - " --- Different use of undo nnoremap U