dot

packages and services management
Log | Files | Refs | README

commit 1e8bbb6be371931daca928b9f1f6db1ff283468f
parent 8db9d927a881333139d376dd9423d31cb5a05c28
Author: josuah <mail@josuah.net>
Date:   Tue, 11 Oct 2016 11:26:23 -0400

Added margin to fzf for vim <leader>e binding

Diffstat:
DBUILD/bin | 0
Mshell/.profile | 12++++++++++--
Mvim/.vim/vimrc | 6++++--
3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/BUILD/bin b/BUILD/bin diff --git a/shell/.profile b/shell/.profile @@ -50,6 +50,14 @@ gruvbox \ P0282828 P1cc241d P298971a P3d79921 P4458588 P5b16286 P6689d6a P7d5c4a1 \ P8928374 P9fb4934 PAb8bb26 PBfabd2f PC83a598 PDd2869b PE8ec07c PFffffff \ +bioelectric \ +P0001100 P1bb3300 P200aa55 P3bbbb33 P4339988 P5bb5566 P6339977 P7b4b4b4 \ +P8335544 P9ff5522 PA44ff88 PBeeff77 PC66ddcc PDec93d3 PE77ddbb PFffffff \ + +matrix \ +P0000000 P1883300 P200aa55 P355aa33 P4339977 P5668877 P6119977 P777dd77 \ +P8338833 P9aa7733 PA00ff88 PB88ee66 PC33dd88 PD77bb99 PE66ddbb PFddffdd \ + zenburn \ P0191d1b P19C6363 P260b48a P3dfaf8f P4506070 P5dc8cc3 P68cd0d3 P7dcdccc \ P8709080 P9dca3a3 PAbfebbf PBf0dfaf PC94bff3 PDec93d3 PE93e0e3 PFffffff \ @@ -94,10 +102,10 @@ alias lines='find . -name "*.[ch]" | xargs wc -l' # STARTUP #------------------------------------------------------------------------------- -[ "$TERM" = 'linux' ] && theme gruvbox +[ "$TERM" = 'linux' ] && theme matrix # Attach to tmux right away -command -v tmux &> /dev/null && if [ -z "$TMUX" ] +if [ -z "$TMUX" ] && command -v tmux &> /dev/null then tmux attach &> /dev/null || tmux new fi diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc @@ -53,8 +53,10 @@ nmap <Leader>t :pwd \| echo '' \| tags \| echo ''<CR>:tag nmap <Leader>" : echo '' \| registers <CR> nmap <Leader>' : echo '' \| marks <CR>:' nmap <Leader>m :silent !make clean<CR>:silent make \| redraw! \| clist<CR> -nmap <Leader>e :pwd \| exe 'e' - \ system("find -type f ! -path '*/.git/*' \| fzf-tmux")<CR> +nmap <Leader>e :pwd \| exe 'e' system( + \ "find -type f ! -path '*/.svn/*' ! -path '*/.git/*' \| \ + \ fzf-tmux --margin=1,6" + \ )<CR> " <c>hange <o>ption <...> nmap col :set list ! \| set list ?<CR>