# .bashrc is for configuring the interactive Bash usage, like Bash aliases, setting favorite editor, setting Bash prompt, etc.
+# If not running interactively, don't do anything
+[[ -z "$PS1" ]] && return
+
+cd ~
+
# Set favorites
export SHELL='bash'
export EDITOR='vim'
export PAGER='less -eFRX'
export MANPAGER="less -eFRX"
-# If not running interactively, don't do anything
-[[ -z "$PS1" ]] && return
-
# Set prompt
if [[ -z "$MSYS2_PS1" ]]; then
PS1='${debian_chroot:+($debian_chroot)}' # debian
else
PS1='\[\033]0;$PWD\007\]' # terminal title in msys2
- cd ~
- GIT_EXEC_PATH="$(git --exec-path 2>/dev/null)"
- COMPLETION_PATH="${GIT_EXEC_PATH%/libexec/git-core}"
- COMPLETION_PATH="${COMPLETION_PATH%/lib/git-core}"
- COMPLETION_PATH="$COMPLETION_PATH/share/git/completion"
- if test -f "$COMPLETION_PATH/git-prompt.sh"; then
- . "$COMPLETION_PATH/git-completion.bash"
- . "$COMPLETION_PATH/git-prompt.sh"
- fi
fi
PS1="$PS1"'\[\033[01;32m\]' # change color
[submodule ".vim/pack/plugins/start/incsearch.vim"]
path = .vim/pack/plugins/start/incsearch.vim
url = https://github.com/haya14busa/incsearch.vim.git
+[submodule ".vim/pack/plugins/start/ctrlp.vim"]
+ path = .vim/pack/plugins/start/ctrlp.vim
+ url = https://github.com/ctrlpvim/ctrlp.vim.git
#export XDG_DATA_DIRS=/usr/local/share/:/usr/share/
export QT_STYLE_OVERRIDE=adwaita-dark
-export USERNAME=$LOGNAME
export HOSTNAME=`hostname`
+
echo Welcome $USERNAME @ $HOSTNAME !
################################# DEBIAN LOCAL SETTINGS ##### TO BE MOVED ####
--- /dev/null
+Subproject commit e66b5b50e5c539354813e2ecac6fb75a2121e29e
set path=.,,**,C:\programs\IAR\\\ System\EWB_V850_V360\common\bin
"set makeprg=cmake\ --build\ .
+set makeprg=msbuild
" Visual studio 2013
-"set errorformat=\ %#%f(%l):\ %m
+set errorformat=\ %#%f(%l):\ %m
" Visual studio 2008
"set errorformat=%.%#>\ %#%f(%l)\ :\ %m
"
" IAR compiler
-if executable('vim-iarbuild.cmd')
- set makeprg=vim-iarbuild.cmd
- set errorformat=%f(%l)\ :\ %m
-endif
+"if executable('vim-iarbuild.cmd')
+" set makeprg=vim-iarbuild.cmd
+" set errorformat=%f(%l)\ :\ %m
+"endif
if executable('ag')
set grepprg=ag\ --vimgrep\ --skip-vcs-ignores\ --path-to-ignore\ ~/.ignore\ --cpp\ --cc
map <c-_> :cstag <c-r>=expand("<cword>")<cr><cr>
endif
+" Ctrl-P
+let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
+let g:ctrlp_map = '<c-p>'
+let g:ctrlp_cmd = 'CtrlP'
+
" Maps Ctrl-[h,j,k,l,+,-] to windows split navigations and resizing
nnoremap <C-H> <C-W><C-H>
nnoremap <C-J> <C-W><C-J>