• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

colors

Set Vim Colors Permanently

August 12, 2022

Here’s how to set Vim colors permanently.

vi ~/.vimrc

vi ~/.vimrc

Add the following.

highlight Normal ctermfg=white ctermbg=black

highlight Normal ctermfg=white ctermbg=black

Filed Under: Linux Tagged With: background, colors, foreground, permanent, vim

Linux Prompt

January 20, 2020

Here’s my favorite Linux prompt.

PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

Add to end of your .bashrc to make it permanent.

Filed Under: Linux Tagged With: colors, directory, hostname, linux, prompt, username

Change VIM Colors

March 20, 2019

Vim is a text editor. Edit the ~.vimrc

# vim ~.vimrc
colo desert
syntax on

# vim ~.vimrc colo desert syntax on

Filed Under: Linux Tagged With: colors, desert, editor, terminal, vim

  • Home
  • About
  • Archives

Copyright © 2023