summaryrefslogtreecommitdiffstats
path: root/vim.txt
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2012-06-14 00:13:35 -0500
committerKamil Kaminski <kyle@kkaminsk.com>2012-06-14 00:13:35 -0500
commitc353b7bdba1a831efe8dca0e30e7034fe0294b49 (patch)
treef9d9f9e698f77365e00682c5d3216f8c08df209c /vim.txt
parent0997a2d49c34a32f45505d61bcf0c61fc8fa7e42 (diff)
downloadconfigs-c353b7bdba1a831efe8dca0e30e7034fe0294b49.tar.gz
configs-c353b7bdba1a831efe8dca0e30e7034fe0294b49.tar.bz2
configs-c353b7bdba1a831efe8dca0e30e7034fe0294b49.zip
add notes about vim
Diffstat (limited to 'vim.txt')
-rw-r--r--vim.txt26
1 files changed, 26 insertions, 0 deletions
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)
+