From c2a13ef3f498d90fb9f46b830e14c31156635676 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 9 May 2016 17:00:35 +0200 Subject: moved repository up again this repo shell be used for vim exclusively --- doc/INSTALL | 42 ++++++++++++++++++++++++++++++++++++++++ doc/coderonline-vim.png | Bin 0 -> 195172 bytes doc/readme.md | 8 ++++++++ doc/shortcuts.txt | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 doc/INSTALL create mode 100644 doc/coderonline-vim.png create mode 100644 doc/readme.md create mode 100644 doc/shortcuts.txt (limited to 'doc') diff --git a/doc/INSTALL b/doc/INSTALL new file mode 100644 index 0000000..50a2f08 --- /dev/null +++ b/doc/INSTALL @@ -0,0 +1,42 @@ +# INSTALL +# this should briefly show you how to install this bundle +# +# step 1) +# download the current version using git +git clone http://git.entwicklerseite.de/vim .vim/ + +# step 2) +# create a symbolic link to the downloaded vim.rc in you $HOME-directory +ln -s .vim/vimrc .vimrc + +# step 3) +# get vim submodules, namely this is just vundle as this will download the rest by itsown +git submodule update --init --recursive + +# step 4) +# 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: +vim vimrc + +# step 5) +# download plugins and spell file for your language +vim -c ":VundleUpdate" +vim -c ":set spell" +# vim +set\ spell # < maybe that works as well + +# step 6) +# build YouCompleteMe (if you plan to use it) +cd plugins/YouCompleteMe +python2 ./install.py --clang-completer + + +# step 7) +# create an entry in file managers right click menu 'open with' allowing you to open the file in a vim tab +mkdir -p .local/share/Thunar/sendto/ +cp ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/ + +# step 8) +# 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) +cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/ +update-desktop-database ~/.local/share/applications/ + + diff --git a/doc/coderonline-vim.png b/doc/coderonline-vim.png new file mode 100644 index 0000000..ac76bff Binary files /dev/null and b/doc/coderonline-vim.png differ diff --git a/doc/readme.md b/doc/readme.md new file mode 100644 index 0000000..800c1a2 --- /dev/null +++ b/doc/readme.md @@ -0,0 +1,8 @@ +