aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2017-09-09 19:09:16 +0200
committerMax Christian Pohle2017-09-09 19:09:16 +0200
commit91be005a62396fa922c6264c011ad93ef95b9e2d (patch)
treeda122fe35b33b95fff708388d77bc07535100b03
parent22dfff34fd7bf261caf33854f567c5874aa90ebc (diff)
downloadvim-91be005a62396fa922c6264c011ad93ef95b9e2d.tar.bz2
vim-91be005a62396fa922c6264c011ad93ef95b9e2d.zip
updated INSTALL instructions and added symbolic link for neovim
-rw-r--r--doc/INSTALL51
-rw-r--r--gtk-3.0.css5
l---------init.vim1
-rw-r--r--nvim.desktop2
4 files changed, 34 insertions, 25 deletions
diff --git a/doc/INSTALL b/doc/INSTALL
index 0d2d95f..9cab2dd 100644
--- a/doc/INSTALL
+++ b/doc/INSTALL
@@ -2,42 +2,45 @@
2# this should briefly show you how to install this bundle 2# this should briefly show you how to install this bundle
3 3
4 4
5# download the current version using git 5# [required steps]
6git clone http://git.entwicklerseite.de/vim .vim/
7 6
8# create a symbolic link to the downloaded vim.rc in you $HOME-directory 7# Download the current version using git (probably you already have!)
9ln -s ~/.vim/vimrc ~/.vimrc 8git clone http://git.entwicklerseite.de/vim ~/.vim
10 9
11# Get Vundle as a Git submodule 10# Get the required submodule(s)
12git submodule update --init --recursive 11git submodule update --init --recursive
13 12
14# fix errors caused by the different vim version you might be using and define 13# start vim for the first time and use the plugin manager to install required plugins
15# the spell checkers language. Starting Vim will show you which lines are not 14vim -c ":PlugInstall"
16# supported on your vim installation so that you can fix them:
17vim vimrc
18 15
19# build YouCompleteMe 16# build YouCompleteMe
20cd bundle/YouCompleteMe 17cd ~/.vim/plugged/YouCompleteMe
21python2 ./install.py --clang-completer 18python ./install.py --clang-completer
22 19
23# download plugins and spell file for your language
24vim -c ":VundleUpdate"
25# vim -c ":set spell"
26# vim +set\ spell # < maybe that works as well
27 20
28:call spellfile#LoadFile(expand("de"))
29 21
30 22
23# [optional steps]
24# create a symbolic link to the downloaded vim.rc in you $HOME-directory
25ln -s ~/.vim/vimrc ~/.vimrc
31 26
32# create an entry in file managers right click menu 'open with' allowing you to 27# gvim: make menu bar more fancy
33# open the file in a vim tab 28ln -s ~/.vim/gtk-3.0.css ~/.config/gtk-3.0/gtk.css
34mkdir -p .local/share/Thunar/sendto/
35cp ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/
36 29
37# add gvim functionality to thunar, so that sendto can be used to open a file 30# if you do not have working gvim start menu entries, try:
38# in an existing vim instance (as a tab in this case) 31ln -s ~/.vim/gvim-tab.desktop ~/.local/share/applications/
39cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/ 32update-desktop-database ~/.local/share/applications/
40update-desktop-database ~/.local/share/applications/
41 33
34# Thunar file manager specific: create an entry in the sendto menu...
35mkdir -p ~/.local/share/Thunar/sendto/
36ln -s ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/
37
38
39
40# [random/unfinished stuff]
41# download plugins and spell file for your language
42# vim -c ":set spell"
43# vim +set\ spell # < maybe that works as well
44# :call spellfile#LoadFile(expand("de"))
42 45
43# vim: noai:ts=2:sw=2 filetype=csh nolist 46# vim: noai:ts=2:sw=2 filetype=csh nolist
diff --git a/gtk-3.0.css b/gtk-3.0.css
index 10252a3..610edf0 100644
--- a/gtk-3.0.css
+++ b/gtk-3.0.css
@@ -27,3 +27,8 @@
27 border-radius:1em; 27 border-radius:1em;
28 28
29} 29}
30
31/*
32toolbar button {
33notebook tab {
34*/
diff --git a/init.vim b/init.vim
new file mode 120000
index 0000000..c9a3c9c
--- /dev/null
+++ b/init.vim
@@ -0,0 +1 @@
vimrc \ No newline at end of file
diff --git a/nvim.desktop b/nvim.desktop
index 6d63814..21f0090 100644
--- a/nvim.desktop
+++ b/nvim.desktop
@@ -3,7 +3,7 @@ Version=1.0
3Type=Application 3Type=Application
4Name=Vim 4Name=Vim
5Comment= 5Comment=
6Exec=xfce4-terminal --icon /usr/share/icons/HighContrast/256x256/apps/vim.png -T 'nvim' -e '/bin/bash -i -c "screen nvr ."' --fullscreen 6Exec=xfce4-terminal --icon /usr/share/icons/HighContrast/256x256/apps/vim.png -T 'nvim' -e '/bin/bash -i -c "env TERM=gnome-256color screen nvr ."' --fullscreen
7Icon=/usr/share/icons/HighContrast/256x256/apps/vim.png 7Icon=/usr/share/icons/HighContrast/256x256/apps/vim.png
8Path= 8Path=
9Terminal=false 9Terminal=false
..