From 33ebc6c39227caac96a5b30209870a8a83f1ef99 Mon Sep 17 00:00:00 2001 From: Chris DeLuca Date: Fri, 9 Sep 2016 15:24:38 -0400 Subject: [PATCH] Add syntax highlighting to README code samples --- README.markdown | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/README.markdown b/README.markdown index e2ddab3..b54db4b 100644 --- a/README.markdown +++ b/README.markdown @@ -12,8 +12,10 @@ If you don't have a preferred installation method, I recommend installing [pathogen.vim](https://github.com/tpope/vim-pathogen), and then simply copy and paste: - cd ~/.vim/bundle - git clone git://github.com/PeterRincker/vim-argumentative.git +```sh +cd ~/.vim/bundle +git clone git://github.com/PeterRincker/vim-argumentative.git +``` Once help tags have been generated, you can view the manual with `:help argumentative`. @@ -24,13 +26,15 @@ Once help tags have been generated, you can view the manual with Argumentative mappings can be changed from the default by simply adding mappings in your `~/.vimrc` file to argumentative's `` mappings. - nmap [; Argumentative_Prev - nmap ]; Argumentative_Next - xmap [; Argumentative_XPrev - xmap ]; Argumentative_XNext - nmap <; Argumentative_MoveLeft - nmap >; Argumentative_MoveRight - xmap i; Argumentative_InnerTextObject - xmap a; Argumentative_OuterTextObject - omap i; Argumentative_OpPendingInnerTextObject - omap a; Argumentative_OpPendingOuterTextObject +```vim +nmap [; Argumentative_Prev +nmap ]; Argumentative_Next +xmap [; Argumentative_XPrev +xmap ]; Argumentative_XNext +nmap <; Argumentative_MoveLeft +nmap >; Argumentative_MoveRight +xmap i; Argumentative_InnerTextObject +xmap a; Argumentative_OuterTextObject +omap i; Argumentative_OpPendingInnerTextObject +omap a; Argumentative_OpPendingOuterTextObject +```