====== Vim ====== ===== Useful Commands ===== * Switch case\\ ''~'' ==== Commenting ==== * [[https://stackoverflow.com/questions/1676632/whats-a-quick-way-to-comment-uncomment-lines-in-vim|What's a quick way to comment/uncomment lines in Vim?]] * https://www.vim.org/scripts/script.php?script_id=1218 * [[github>preservim/nerdcommenter]] ==== Multiple Panes ==== * Split window\\ '':split [filename]'' , '':vsplit [filename]'' * Switch panes\\ ''C-w C-w'' , ''C-w [arrow]'' * Hide/close current panel\\ '':hide'' ''C-w c'' ==== Tricks ==== * Show colours\\ '':runtime syntax/colortest.vim'' ===== Also ===== ---look, I made this: {{media:image:banner:vim.gif}} {{tag>guide software text-editor}}