Noriyo Akita's Today I Learned

# vim のインラインコードブロックのキーバインディング

Table of Contents

vim のインラインコードブロックのキーバインディング

https://github.com/tpope/vim-surround

Terminal window
mkdir -p ~/.vim/pack/tpope/start
cd ~/.vim/pack/tpope/start
git clone https://tpope.io/vim/surround.git
vim -u NONE -c "helptags surround/doc" -c q

例えば以下の文章の code にカーソルを合わせ ysiw` This is the code.

visual mode (charwise-visual) の場合

v 押して文字列を選択し S`


Markdown のコードの中にバッククォートを含めるには外側のバッククォートを2つずつにするの知らなかった

`` `code` ``

Markdown のコードの中にバッククォートを含める方法

My avatar

Thanks for reading my blog post! Feel free to check out my other posts or contact me via the social links in the footer.


More Posts