]> git.hoellein.online Git - zenbook/commitdiff
committing changes in /etc after apt run
authorMario Höllein <mhoellein@freenet.de>
Wed, 12 Jun 2019 17:04:47 +0000 (19:04 +0200)
committerMario Höllein <mhoellein@freenet.de>
Wed, 12 Jun 2019 17:04:47 +0000 (19:04 +0200)
Package changes:
+vim-gtk3 2:8.0.1453-1ubuntu1 amd64
+vim-gui-common 2:8.0.1453-1ubuntu1 all

17 files changed:
.etckeeper
alternatives/eview [new symlink]
alternatives/evim [new symlink]
alternatives/ex
alternatives/gview [new symlink]
alternatives/gvim [new symlink]
alternatives/gvimdiff [new symlink]
alternatives/rgview [new symlink]
alternatives/rgvim [new symlink]
alternatives/rview
alternatives/rvim
alternatives/vi
alternatives/view
alternatives/vim
alternatives/vimdiff
mailcap
vim/gvimrc [new file with mode: 0644]

index 75454c34d724ade39643627310f0c8bd7df065b4..6f4b810351e50ff9589592724b93db83572a1bb0 100755 (executable)
@@ -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 (symlink)
index 0000000..b021177
--- /dev/null
@@ -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 (symlink)
index 0000000..b021177
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/vim.gtk3
\ No newline at end of file
index 1d112dac81210d7a950b7fae25d2a1f4372e86f5..b021177f822c732f779147f120e079d1282e2fa5 120000 (symlink)
@@ -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 (symlink)
index 0000000..b021177
--- /dev/null
@@ -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 (symlink)
index 0000000..b021177
--- /dev/null
@@ -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 (symlink)
index 0000000..b021177
--- /dev/null
@@ -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 (symlink)
index 0000000..b021177
--- /dev/null
@@ -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 (symlink)
index 0000000..b021177
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/vim.gtk3
\ No newline at end of file
index 1d112dac81210d7a950b7fae25d2a1f4372e86f5..b021177f822c732f779147f120e079d1282e2fa5 120000 (symlink)
@@ -1 +1 @@
-/usr/bin/vim.basic
\ No newline at end of file
+/usr/bin/vim.gtk3
\ No newline at end of file
index 1d112dac81210d7a950b7fae25d2a1f4372e86f5..b021177f822c732f779147f120e079d1282e2fa5 120000 (symlink)
@@ -1 +1 @@
-/usr/bin/vim.basic
\ No newline at end of file
+/usr/bin/vim.gtk3
\ No newline at end of file
index 1d112dac81210d7a950b7fae25d2a1f4372e86f5..b021177f822c732f779147f120e079d1282e2fa5 120000 (symlink)
@@ -1 +1 @@
-/usr/bin/vim.basic
\ No newline at end of file
+/usr/bin/vim.gtk3
\ No newline at end of file
index 1d112dac81210d7a950b7fae25d2a1f4372e86f5..b021177f822c732f779147f120e079d1282e2fa5 120000 (symlink)
@@ -1 +1 @@
-/usr/bin/vim.basic
\ No newline at end of file
+/usr/bin/vim.gtk3
\ No newline at end of file
index 1d112dac81210d7a950b7fae25d2a1f4372e86f5..b021177f822c732f779147f120e079d1282e2fa5 120000 (symlink)
@@ -1 +1 @@
-/usr/bin/vim.basic
\ No newline at end of file
+/usr/bin/vim.gtk3
\ No newline at end of file
index 1d112dac81210d7a950b7fae25d2a1f4372e86f5..b021177f822c732f779147f120e079d1282e2fa5 120000 (symlink)
@@ -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 968617cd6293da8852b8772675f30ac7a8134af4..5a4540f4ac2f9476631b7af35dddb164d2be3c6e 100644 (file)
--- 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 (file)
index 0000000..94bdf44
--- /dev/null
@@ -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