Browse Source

Vi mode/new theme for bash

- New theme to try and fix cursor issue.
- Merge with lab lc.
red-hat-laptop
Kevin Mok 7 years ago
parent
commit
2d74f915e7
  1. 2
      dotfiles/.bash_aliases
  2. 4
      dotfiles/.bashrc
  3. 3
      dotfiles/.inputrc
  4. 3
      dotfiles/termConfig

2
dotfiles/.bash_aliases

@ -68,7 +68,7 @@ alias psy="$cdSchool/psy"
alias ll="ls -l"
alias 209="$cdSchool/209"
alias 9r="$cdSchool/209/mokkar"
alias l2="$cdSchool/209/mokkar/lab2"
alias l3="$cdSchool/209/mokkar/lab3"
alias a1="$cdSchool/209/mokkar/a1"
gcc9() {
gcc -Wall -std=gnu99 -g -o "${1%.*}.out" "$1"

4
dotfiles/.bashrc

@ -132,7 +132,7 @@ export BASH_IT="$DIR_BASH_IT"
# Lock and Load a custom theme file
# location /.bash_it/themes/
export BASH_IT_THEME='simple'
export BASH_IT_THEME='nwinkler'
# (Advanced): Change this to the name of your remote repo if you
# cloned bash-it with a remote other than origin such as `bash-it`.
@ -184,5 +184,7 @@ source "$BASH_IT"/bash_it.sh
# source /etc/environment
export QSYS_ROOTDIR="/home/kevin/usr/altera_lite/16.0/quartus/sopc_builder/bin"
# custom
export EDITOR='vim'
export VISUAL='vim'

3
dotfiles/.inputrc

@ -1 +1,4 @@
set completion-ignore-case on
set editing-mode vi
set keymap vi-command
set show-mode-in-prompt on

3
dotfiles/termConfig

@ -1,5 +1,6 @@
[global_config]
inactive_color_offset = 1.0
suppress_multiple_term_dialog = True
title_font = Noto Sans 10
title_transmit_bg_color = "#3d3d3d"
[keybindings]
@ -27,7 +28,7 @@
copy_on_selection = True
cursor_color = "#b9b9b9"
custom_command = env TERM=xterm-256color bash
font = Monospace 12
font = Monospace 13
foreground_color = "#0077ff"
palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff"
scrollbar_position = hidden

Loading…
Cancel
Save