diff --git a/vimrc b/vimrc index 44cad4a..71d4318 100644 --- a/vimrc +++ b/vimrc @@ -90,6 +90,9 @@ noremap x x " === GENERAL COMMANDS === command! L lopen | set number | set norelativenumber +command! Fixme cex MatchingLines("\\cfixme.*") +command! Todo cex MatchingLines("\\ctodo.*") + " === GENERAL KEY MAPPINGS === let mapleader = "\\" nnoremap :L @@ -104,8 +107,8 @@ nnoremap :bnext nnoremap :bprevious nnoremap n :lnext nnoremap p :lNext -nnoremap cn :cnext -nnoremap cp :cNext +nnoremap n :cnext +nnoremap p :cNext nnoremap Bi i nnoremap Ea a " This one does nothing, but I'm adding it to remember not to remap the tab key @@ -127,7 +130,7 @@ nnoremap : :let @* = @: " Tabs vs. Spaces nnoremap :setl expandtab!:set expandtab? -" todo: custom function to retab only indentation +" TODO: custom function to retab only indentation " Empty Lines nnoremap :call Enter(0)