diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/INSTALL | 40 | ||||
-rw-r--r-- | doc/coderonline-vim.png | bin | 195172 -> 0 bytes | |||
-rw-r--r-- | doc/readme.md | 8 | ||||
-rw-r--r-- | doc/shortcuts.txt | 41 |
4 files changed, 0 insertions, 89 deletions
diff --git a/doc/INSTALL b/doc/INSTALL deleted file mode 100644 index 14fb286..0000000 --- a/doc/INSTALL +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | # INSTALL | ||
2 | # this should briefly show you how to install this bundle | ||
3 | # | ||
4 | # step 1) | ||
5 | # download the current version using git | ||
6 | git clone http://git.entwicklerseite.de/vim .vim/ | ||
7 | |||
8 | # step 2) | ||
9 | # create a symbolic link to the downloaded vim.rc in you $HOME-directory | ||
10 | ln -s .vim/vimrc .vimrc | ||
11 | |||
12 | # step 3) | ||
13 | # get vim submodules, namely this is just vundle as this will download the rest by itsown | ||
14 | git submodule update --init --recursive | ||
15 | |||
16 | # step 4) | ||
17 | # fix errors caused by the different vim version you might be using and define the spell checkers language. Starting Vim will show you which lines are not supported on your vim installation so that you can fix them: | ||
18 | vim vimrc | ||
19 | |||
20 | # step 5) | ||
21 | # download spell file for you language | ||
22 | vim -c ":au! SpellFileMissing" | ||
23 | |||
24 | # step 6) | ||
25 | # build YouCompleteMe (if you plan to use it) | ||
26 | cd plugins/YouCompleteMe | ||
27 | python2 ./install.py --clang-completer | ||
28 | |||
29 | |||
30 | # step 7) | ||
31 | # create an entry in file managers right click menu 'open with' allowing you to open the file in a vim tab | ||
32 | mkdir -p .local/share/Thunar/sendto/ | ||
33 | cp ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/ | ||
34 | |||
35 | # step 8) | ||
36 | # add gvim functionality to thunar, so that sendto can be used to open a file in an existing vim instance (as a tab in this case) | ||
37 | cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/ | ||
38 | update-desktop-database ~/.local/share/applications/ | ||
39 | |||
40 | |||
diff --git a/doc/coderonline-vim.png b/doc/coderonline-vim.png deleted file mode 100644 index ac76bff..0000000 --- a/doc/coderonline-vim.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/doc/readme.md b/doc/readme.md deleted file mode 100644 index 800c1a2..0000000 --- a/doc/readme.md +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | <h1>vim configuration</h1> | ||
2 | This is the configuration I am using. | ||
3 | |||
4 | |||
5 | <h2>coderonline.vim - colorscheme</h2> | ||
6 | <a href="/vim/plain/doc/coderonline-vim.png"> | ||
7 | <img src="/vim/plain/doc/coderonline-vim.png" width="720" alt="screenshot of vim" /> | ||
8 | </a> | ||
diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt deleted file mode 100644 index 6b88797..0000000 --- a/doc/shortcuts.txt +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | [normal mode] | ||
2 | f{char} - move cursor to the character {char} | ||
3 | |||
4 | [visual mode] - with selected lines | ||
5 | gq - formats text so that it fits in whatever :set textwidth was set | ||
6 | |||
7 | |||
8 | [commands] | ||
9 | :spell [word] - adds a word to the current dictionary (no mistake any more) | ||
10 | :set list - display non printable characters | ||
11 | :retab - replaces tabs with spaces | ||
12 | :set expandtab - in insert mode: replace tab with spaces | ||
13 | |||
14 | |||
15 | [navigation] | ||
16 | <CTRL-]> - look up the tag under the cursor (help links as well) | ||
17 | <CTRL-T> - return back from tag under the cursor | ||
18 | |||
19 | |||
20 | [macros] - record and play back a series of vim commands | ||
21 | qa - start (q) macro recording in register a (can be anything) | ||
22 | q - stop macro recording | ||
23 | @a - replay macro a | ||
24 | :'<,'>normal @a - apply a to every line in the current selection | ||
25 | |||
26 | [marker] | ||
27 | ma - set marker a-z (a in this case) | ||
28 | 'a - go to marker a | ||
29 | |||
30 | [windows] | ||
31 | <C-W>v - splits buffer vertically (screen uses |) | ||
32 | <C-W>s - splits buffer horizontally (same as screen) | ||
33 | <C-W>w - moves the cursor to the next window and back | ||
34 | <C-W>[dir] - moves the cursor in that direction (use hjkl or arrow keys) | ||
35 | |||
36 | |||
37 | [vimdiff] | ||
38 | do - get changes from other window into the current | ||
39 | dp - put changes from current window into the other | ||
40 | ]c - jump to the next change | ||
41 | [c - jump to the prevous change | ||