From c353b7bdba1a831efe8dca0e30e7034fe0294b49 Mon Sep 17 00:00:00 2001 From: Kyle K Date: Thu, 14 Jun 2012 00:13:35 -0500 Subject: add notes about vim --- vim.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 vim.txt (limited to 'vim.txt') diff --git a/vim.txt b/vim.txt new file mode 100644 index 0000000..183db7f --- /dev/null +++ b/vim.txt @@ -0,0 +1,26 @@ +[visual select] +- v +- shift + v, aka V, selects whole lines + +[cut] +- cc, cut whole line +- d, deletes yet stores in the buffer +- C, cut from cursor till end of line + +[indent] +- shift + > +- shift + < + +[copy] +yank +- yy, 1 line +- 10Y, 10 lines + +[editing 2 files] +- vim -o file1 file2 +- switch by tapping CTRL + w + +[navigation] +- G (goto bottom) +- gg (goto top) + -- cgit v1.2.3