Updates local machine settings
This commit is contained in:
parent
337ba2e247
commit
63b2827093
4 changed files with 26 additions and 3 deletions
|
@ -1,7 +1,17 @@
|
|||
set -g default-terminal "screen-256color"
|
||||
set -g mouse on
|
||||
|
||||
bind-key -r -T prefix k select-pane -U
|
||||
bind-key -r -T prefix j select-pane -D
|
||||
bind-key -r -T prefix h select-pane -L
|
||||
bind-key -r -T prefix l select-pane -R
|
||||
|
||||
bind-key -r -T prefix C-k resize-p -U 2
|
||||
bind-key -r -T prefix C-j resize-p -D 2
|
||||
bind-key -r -T prefix C-h resize-p -L 2
|
||||
bind-key -r -T prefix C-l resize-p -R 2
|
||||
|
||||
bind % split-window -c "#{pane_current_path}"
|
||||
bind '"' split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:/usr/local/go/bin:$PATH
|
||||
export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:/usr/local/go/bin:/usr/local/sbin:$PATH
|
||||
|
||||
# make vim the default editor for commit messages etc
|
||||
export EDITOR=$(which vim)
|
||||
|
||||
echo "Welcome back, $USER"
|
||||
|
||||
# display the space available on each mounted Volume
|
||||
df -hl
|
||||
|
||||
# use vi bindings for terminal input
|
||||
set -o vi
|
||||
|
||||
|
@ -14,7 +17,6 @@ source $HOME/pc_settings/aliases.sh
|
|||
# functions
|
||||
source $HOME/pc_settings/functions/index.sh
|
||||
|
||||
|
||||
# setup keybindings for history functions
|
||||
source $HOME/pc_settings/scripts/setup_keybindings.sh
|
||||
|
||||
|
|
|
@ -21,7 +21,8 @@ function vfzopen() {
|
|||
|
||||
|
||||
if [ ! -z "$filename" ]; then
|
||||
vim "$filename"
|
||||
echo "$filename"
|
||||
vim +/"$search_query" "$filename"
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
|
|
|
@ -23,6 +23,7 @@ Plugin 'scrooloose/syntastic'
|
|||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'mileszs/ack.vim'
|
||||
Plugin 'sjl/clam.vim'
|
||||
Plugin 'kien/ctrlp.vim'
|
||||
|
||||
call vundle#end() " required
|
||||
filetype plugin indent on " required
|
||||
|
@ -40,6 +41,15 @@ filetype plugin indent on " required
|
|||
" -- END: Vundle config --
|
||||
|
||||
|
||||
" backspace settings
|
||||
set backspace=2
|
||||
set backspace=indent,eol,start
|
||||
|
||||
|
||||
" keyword completion
|
||||
inoremap ;; <C-n>
|
||||
|
||||
|
||||
" -- Syntastic Settings --
|
||||
set statusline+=%#warningmsg#
|
||||
set statusline+=%{SyntasticStatuslineFlag()}
|
||||
|
|
Loading…
Reference in a new issue