From 09ab7308632cd5949dbcc6289aaf095ce9eb09a3 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Tue, 10 Nov 2015 02:59:02 +0100 Subject: new vim shortcut and vimrc location vimrc can resist in ~/.vim/vimrc instead of ~/.vimrc, which looks tidier --- .vim/doc/shortcuts.txt | 8 ++++++++ .vimrc | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) delete mode 120000 .vimrc diff --git a/.vim/doc/shortcuts.txt b/.vim/doc/shortcuts.txt index 6b88797..fe61034 100644 --- a/.vim/doc/shortcuts.txt +++ b/.vim/doc/shortcuts.txt @@ -1,6 +1,7 @@ [normal mode] f{char} - move cursor to the character {char} + [visual mode] - with selected lines gq - formats text so that it fits in whatever :set textwidth was set @@ -23,10 +24,16 @@ q - stop macro recording @a - replay macro a :'<,'>normal @a - apply a to every line in the current selection + [marker] ma - set marker a-z (a in this case) 'a - go to marker a + +[hotkeys] +, - increment, decrement number under the cursor + + [windows] v - splits buffer vertically (screen uses |) s - splits buffer horizontally (same as screen) @@ -39,3 +46,4 @@ do - get changes from other window into the current dp - put changes from current window into the other ]c - jump to the next change [c - jump to the prevous change + diff --git a/.vimrc b/.vimrc deleted file mode 120000 index 3f2626c..0000000 --- a/.vimrc +++ /dev/null @@ -1 +0,0 @@ -.vim/vimrc \ No newline at end of file -- cgit v1.2.3