diff options
author | Max Christian Pohle | 2017-09-09 19:09:16 +0200 |
---|---|---|
committer | Max Christian Pohle | 2017-09-09 19:09:16 +0200 |
commit | 91be005a62396fa922c6264c011ad93ef95b9e2d (patch) | |
tree | da122fe35b33b95fff708388d77bc07535100b03 | |
parent | 22dfff34fd7bf261caf33854f567c5874aa90ebc (diff) | |
download | vim-91be005a62396fa922c6264c011ad93ef95b9e2d.tar.bz2 vim-91be005a62396fa922c6264c011ad93ef95b9e2d.zip |
updated INSTALL instructions and added symbolic link for neovim
-rw-r--r-- | doc/INSTALL | 51 | ||||
-rw-r--r-- | gtk-3.0.css | 5 | ||||
l--------- | init.vim | 1 | ||||
-rw-r--r-- | nvim.desktop | 2 |
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] |
6 | git 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!) |
9 | ln -s ~/.vim/vimrc ~/.vimrc | 8 | git clone http://git.entwicklerseite.de/vim ~/.vim |
10 | 9 | ||
11 | # Get Vundle as a Git submodule | 10 | # Get the required submodule(s) |
12 | git submodule update --init --recursive | 11 | git 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 | 14 | vim -c ":PlugInstall" |
16 | # supported on your vim installation so that you can fix them: | ||
17 | vim vimrc | ||
18 | 15 | ||
19 | # build YouCompleteMe | 16 | # build YouCompleteMe |
20 | cd bundle/YouCompleteMe | 17 | cd ~/.vim/plugged/YouCompleteMe |
21 | python2 ./install.py --clang-completer | 18 | python ./install.py --clang-completer |
22 | 19 | ||
23 | # download plugins and spell file for your language | ||
24 | vim -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 | ||
25 | ln -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 | 28 | ln -s ~/.vim/gtk-3.0.css ~/.config/gtk-3.0/gtk.css |
34 | mkdir -p .local/share/Thunar/sendto/ | ||
35 | cp ~/.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) | 31 | ln -s ~/.vim/gvim-tab.desktop ~/.local/share/applications/ |
39 | cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/ | 32 | update-desktop-database ~/.local/share/applications/ |
40 | update-desktop-database ~/.local/share/applications/ | ||
41 | 33 | ||
34 | # Thunar file manager specific: create an entry in the sendto menu... | ||
35 | mkdir -p ~/.local/share/Thunar/sendto/ | ||
36 | ln -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 | /* | ||
32 | toolbar button { | ||
33 | notebook 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 | |||
3 | Type=Application | 3 | Type=Application |
4 | Name=Vim | 4 | Name=Vim |
5 | Comment= | 5 | Comment= |
6 | Exec=xfce4-terminal --icon /usr/share/icons/HighContrast/256x256/apps/vim.png -T 'nvim' -e '/bin/bash -i -c "screen nvr ."' --fullscreen | 6 | Exec=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 |
7 | Icon=/usr/share/icons/HighContrast/256x256/apps/vim.png | 7 | Icon=/usr/share/icons/HighContrast/256x256/apps/vim.png |
8 | Path= | 8 | Path= |
9 | Terminal=false | 9 | Terminal=false |