From 6be3b056d82edaac56bd5b2887c979b9f3f7bed5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mario=20H=C3=B6llein?= Date: Wed, 12 Jun 2019 19:04:47 +0200 Subject: [PATCH] committing changes in /etc after apt run Package changes: +vim-gtk3 2:8.0.1453-1ubuntu1 amd64 +vim-gui-common 2:8.0.1453-1ubuntu1 all --- .etckeeper | 1 + alternatives/eview | 1 + alternatives/evim | 1 + alternatives/ex | 2 +- alternatives/gview | 1 + alternatives/gvim | 1 + alternatives/gvimdiff | 1 + alternatives/rgview | 1 + alternatives/rgvim | 1 + alternatives/rview | 2 +- alternatives/rvim | 2 +- alternatives/vi | 2 +- alternatives/view | 2 +- alternatives/vim | 2 +- alternatives/vimdiff | 2 +- mailcap | 17 +++++++++++++++++ vim/gvimrc | 19 +++++++++++++++++++ 17 files changed, 51 insertions(+), 7 deletions(-) create mode 120000 alternatives/eview create mode 120000 alternatives/evim create mode 120000 alternatives/gview create mode 120000 alternatives/gvim create mode 120000 alternatives/gvimdiff create mode 120000 alternatives/rgview create mode 120000 alternatives/rgvim create mode 100644 vim/gvimrc diff --git a/.etckeeper b/.etckeeper index 75454c3..6f4b810 100755 --- a/.etckeeper +++ b/.etckeeper @@ -2753,6 +2753,7 @@ maybe chmod 0755 'usb_modeswitch.d' maybe chmod 0644 'uswsusp.conf' maybe chmod 0644 'vdpau_wrapper.cfg' maybe chmod 0755 'vim' +maybe chmod 0644 'vim/gvimrc' maybe chmod 0644 'vim/vimrc' maybe chmod 0644 'vim/vimrc.tiny' maybe chmod 0644 'wgetrc' diff --git a/alternatives/eview b/alternatives/eview new file mode 120000 index 0000000..b021177 --- /dev/null +++ b/alternatives/eview @@ -0,0 +1 @@ +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/evim b/alternatives/evim new file mode 120000 index 0000000..b021177 --- /dev/null +++ b/alternatives/evim @@ -0,0 +1 @@ +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/ex b/alternatives/ex index 1d112da..b021177 120000 --- a/alternatives/ex +++ b/alternatives/ex @@ -1 +1 @@ -/usr/bin/vim.basic \ No newline at end of file +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/gview b/alternatives/gview new file mode 120000 index 0000000..b021177 --- /dev/null +++ b/alternatives/gview @@ -0,0 +1 @@ +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/gvim b/alternatives/gvim new file mode 120000 index 0000000..b021177 --- /dev/null +++ b/alternatives/gvim @@ -0,0 +1 @@ +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/gvimdiff b/alternatives/gvimdiff new file mode 120000 index 0000000..b021177 --- /dev/null +++ b/alternatives/gvimdiff @@ -0,0 +1 @@ +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/rgview b/alternatives/rgview new file mode 120000 index 0000000..b021177 --- /dev/null +++ b/alternatives/rgview @@ -0,0 +1 @@ +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/rgvim b/alternatives/rgvim new file mode 120000 index 0000000..b021177 --- /dev/null +++ b/alternatives/rgvim @@ -0,0 +1 @@ +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/rview b/alternatives/rview index 1d112da..b021177 120000 --- a/alternatives/rview +++ b/alternatives/rview @@ -1 +1 @@ -/usr/bin/vim.basic \ No newline at end of file +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/rvim b/alternatives/rvim index 1d112da..b021177 120000 --- a/alternatives/rvim +++ b/alternatives/rvim @@ -1 +1 @@ -/usr/bin/vim.basic \ No newline at end of file +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/vi b/alternatives/vi index 1d112da..b021177 120000 --- a/alternatives/vi +++ b/alternatives/vi @@ -1 +1 @@ -/usr/bin/vim.basic \ No newline at end of file +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/view b/alternatives/view index 1d112da..b021177 120000 --- a/alternatives/view +++ b/alternatives/view @@ -1 +1 @@ -/usr/bin/vim.basic \ No newline at end of file +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/vim b/alternatives/vim index 1d112da..b021177 120000 --- a/alternatives/vim +++ b/alternatives/vim @@ -1 +1 @@ -/usr/bin/vim.basic \ No newline at end of file +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/alternatives/vimdiff b/alternatives/vimdiff index 1d112da..b021177 120000 --- a/alternatives/vimdiff +++ b/alternatives/vimdiff @@ -1 +1 @@ -/usr/bin/vim.basic \ No newline at end of file +/usr/bin/vim.gtk3 \ No newline at end of file diff --git a/mailcap b/mailcap index 968617c..5a4540f 100644 --- a/mailcap +++ b/mailcap @@ -329,6 +329,21 @@ image/webp; /usr/bin/google-chrome-stable --incognito %s; test=test -n "$DISPLAY x-scheme-handler/http; /usr/bin/google-chrome-stable --incognito %s; test=test -n "$DISPLAY" x-scheme-handler/https; /usr/bin/google-chrome-stable --incognito %s; test=test -n "$DISPLAY" x-scheme-handler/ftp; /usr/bin/google-chrome-stable --incognito %s; test=test -n "$DISPLAY" +text/english; gvim -f %s; test=test -n "$DISPLAY" +text/plain; gvim -f %s; test=test -n "$DISPLAY" +text/x-makefile; gvim -f %s; test=test -n "$DISPLAY" +text/x-c++hdr; gvim -f %s; test=test -n "$DISPLAY" +text/x-c++src; gvim -f %s; test=test -n "$DISPLAY" +text/x-chdr; gvim -f %s; test=test -n "$DISPLAY" +text/x-csrc; gvim -f %s; test=test -n "$DISPLAY" +text/x-java; gvim -f %s; test=test -n "$DISPLAY" +text/x-moc; gvim -f %s; test=test -n "$DISPLAY" +text/x-pascal; gvim -f %s; test=test -n "$DISPLAY" +text/x-tcl; gvim -f %s; test=test -n "$DISPLAY" +text/x-tex; gvim -f %s; test=test -n "$DISPLAY" +application/x-shellscript; gvim -f %s; test=test -n "$DISPLAY" +text/x-c; gvim -f %s; test=test -n "$DISPLAY" +text/x-c++; gvim -f %s; test=test -n "$DISPLAY" application/x-java-jnlp-file; /usr/bin/javaws %s; test=test -n "$DISPLAY" application/x-java-archive; /usr/lib/jvm/java-8-oracle/bin/java -jar %s; test=test -n "$DISPLAY" application/java-archive; /usr/lib/jvm/java-8-oracle/bin/java -jar %s; test=test -n "$DISPLAY" @@ -723,6 +738,7 @@ x-scheme-handler/help; yelp %s; test=test -n "$DISPLAY" x-scheme-handler/info; yelp %s; test=test -n "$DISPLAY" x-scheme-handler/man; yelp %s; test=test -n "$DISPLAY" text/plain; view %s; edit=vim %s; compose=vim %s; test=test -x /usr/bin/vim; needsterminal +text/plain; gview -f %s; edit=gvim -f %s; compose=gvim -f %s; test=test "$DISPLAY" != "" video/mpeg; vlc -I rc -V caca %s; needsterminal; description="MPEG Video" video/x-mpeg; vlc -I rc -V caca %s; needsterminal; description="MPEG Video" video/mpeg-system; vlc -I rc -V caca %s; needsterminal; description="MPEG Video" @@ -834,6 +850,7 @@ application/x-troff-man; /usr/bin/man -Tascii -l '%s' | col -b; copiousoutput; d text/troff; /usr/bin/man -Tascii -l '%s' | col -b; copiousoutput; description=Man page text/*; less '%s'; needsterminal text/*; view %s; edit=vim %s; compose=vim %s; test=test -x /usr/bin/vim; needsterminal +text/*; gview -f %s; edit=gvim -f %s; compose=gvim -f %s; test=test "$DISPLAY" != "" application/x-info; /usr/bin/info --subnodes -o /dev/stdout -f '%s' 2>/dev/null; copiousoutput; description=GNU Info document application/x-tar; /bin/tar tvf '%s'; print=/bin/tar tvf - | print text/plain:-; copiousoutput application/x-gtar; /bin/tar tvf '%s'; print=/bin/tar tvf - | print text/plain:-; copiousoutput diff --git a/vim/gvimrc b/vim/gvimrc new file mode 100644 index 0000000..94bdf44 --- /dev/null +++ b/vim/gvimrc @@ -0,0 +1,19 @@ +" Make external commands work through a pipe instead of a pseudo-tty +"set noguipty + +" You can also specify a different font, overriding the default font +"if has('gui_gtk2') +" set guifont=Bitstream\ Vera\ Sans\ Mono\ 12 +"else +" set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1 +"endif + +" If you want to run gvim with a dark background, try using a different +" colorscheme or running 'gvim -reverse'. +" http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/ has examples and +" downloads for the colorschemes on vim.org + +" Source a global configuration file if available +if filereadable("/etc/vim/gvimrc.local") + source /etc/vim/gvimrc.local +endif -- 2.43.0