Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
angusjfw committed Oct 30, 2021
1 parent 45109fc commit 84d6eb3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tmux/.tmux.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
set-option -g default-terminal "screen-256color"

# use C-a, since it's on the home row and easier to hit than C-b
set -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
set -g base-index 1

# set history scrollback lines
set -g history-limit 10000
set -g history-limit 100000

# vi is good
setw -g mode-keys vi
Expand Down
4 changes: 3 additions & 1 deletion vim/.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Plug 'JamshedVesuna/vim-markdown-preview'
Plug 'othree/html5.vim'
Plug 'Quramy/tsuquyomi'
Plug 'leafgarland/typescript-vim'
Plug 'tpope/vim-fugitive'
Plug 'APZelos/blamer.nvim'
call plug#end()

" Keybinds
Expand All @@ -28,7 +30,7 @@ map <C-f> :FZF<CR>
map <C-g> :Goyo<CR>
map <C-p> :%!python -m json.tool<CR>
if executable('ag')
let g:ackprg = 'ag --vimgrep'
let g:ackprg = 'ag --hidden --vimgrep'
endif
map <C-s> :Ack!<Space>
map <C-y> r<C-v>u2713
Expand Down
3 changes: 2 additions & 1 deletion zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export PATH=$PATH:$HOME/.local/bin/:$HOME/bin/:$HOME/bin/$(hostname)/:$HOME/scri
set bell-style none

# pure prompt
fpath+=('/home/angus/.npm-global/lib/node_modules/pure-prompt/functions')
autoload -U promptinit && promptinit
prompt pure

Expand Down Expand Up @@ -52,7 +53,7 @@ PS=1"$PS1"'$([ -n "$TMUX" ] && tmux setenv TMUXPWD_$(tmux display -p "#D" | tr -

# fzf
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export FZF_DEFAULT_COMMAND='ag -g ""'
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'
export FZF_DEFAULT_OPTS='--color fg+:5,hl+:6'

# ssh keys
Expand Down

0 comments on commit 84d6eb3

Please sign in to comment.