From 2d74f915e7f5562b600fc4919879705fe4f2202e Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Thu, 25 Jan 2018 13:57:54 -0500 Subject: [PATCH] Vi mode/new theme for bash - New theme to try and fix cursor issue. - Merge with lab lc. --- dotfiles/.bash_aliases | 2 +- dotfiles/.bashrc | 4 +++- dotfiles/.inputrc | 3 +++ dotfiles/termConfig | 3 ++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases index 6ba852f..fd17642 100644 --- a/dotfiles/.bash_aliases +++ b/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" diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index 23a7711..dbaf491 100644 --- a/dotfiles/.bashrc +++ b/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' diff --git a/dotfiles/.inputrc b/dotfiles/.inputrc index 236bfdd..9c30088 100644 --- a/dotfiles/.inputrc +++ b/dotfiles/.inputrc @@ -1 +1,4 @@ set completion-ignore-case on +set editing-mode vi +set keymap vi-command +set show-mode-in-prompt on diff --git a/dotfiles/termConfig b/dotfiles/termConfig index a55fafb..1942f63 100644 --- a/dotfiles/termConfig +++ b/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