Tranzparenz in Bash + Syntax Highligting in Vi

S

Samara-X

Mitglied
Guten Tag liebes Forum,

Ich habe ein Problem, ich Programmiere so gerne in Bash
und liebe es mit Vi und deren Editor Syntax Highlighting zu Programmieren.
Das Problem hierbei ist, das Gnome 1. keine Tranzparenz und 2.
kein Syntax mit Vi (oder anderen Editoren) im Terminal zeigen tut :(
Das macht mich ganz traurig ;( ;(

Hoffentlich kann mir jemand helfen.
Danke schonmal!

MfG. Sam,

P.S.: mit der Desktopumgebung KDE klappts :O
 
hi!
Welches Terminal verwendest du?
gnome-terminal z.B. kann transparenz (zumindest zum hintergrund) und vim syntax-highlighting funktioniert darin auch.

sers,
allesmueller
 
bash = shell

gnome-terminal = terminal emulator (darin gibst du deine befehle ein)

Für Syntaxhighlighting mit vim braucht du diesen Eintrag in der .vimrc im homeverzeichnis des jeweiligen Nutzers.
 
bash = shell

gnome-terminal = terminal emulator (darin gibst du deine befehle ein)

Für Syntaxhighlighting mit vim braucht du diesen Eintrag in der .vimrc im homeverzeichnis des jeweiligen Nutzers.
Falls das nicht funktioniert, versuche es mal mit
Code:
export TERM=xterm-color
bevor Du vim startest.
 
Hallo!

Schonmal danke für die antworten.
Also "Sytnax on" ist schon so bei mir, oder muss ich das Gänzefüschen
löschen?

" All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually just
" /usr/share/vim/vimcurrent/debian.vim) and sourced by the call to :runtime
" you can find below. If you wish to change any of those settings, you should
" do it in this file (/etc/vim/vimrc), since debian.vim will be overwritten
" everytime an upgrade of the vim packages is performed. It is recommended to
" make changes after sourcing debian.vim since it alters the value of the
" 'compatible' option.

" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages available in Debian.
" runtime! debian.vim

" Uncomment the next line to make Vim more Vi-compatible
" NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous
" options, so any other options should be set AFTER setting 'compatible'.
"set compatible

" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
"syntax on

" If using a dark background within the editing area and syntax highlighting
" turn on this option as well
"set background=dark

@rikola

export TERM=xterm-color, habe ich zuvor gemacht!
Jedoch ohne erfolg :'(
 
Haha!!!!

Es klappt endlich, oh man ihr seid echt klasse.
Vielen dank euch allen die mir geholfen haben!

MfG. Samara
 

Ähnliche Themen

Grub Boot Menü - Windows 10 hinzufügen

"bash-2.05b $ :() { :|: & } ; :" in screen: 39 bash-Fenster

Zurück
Oben