From 8a8a438aec6b05aebeddc8130344dde84c73eaa4 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Fri, 31 Jul 2020 16:55:41 +0500 Subject: Updates. --- files/.gitconfig | 4 ++++ files/.tmux.conf | 2 +- files/.tmux/plugins/tpm | 2 +- files/.vimrc | 5 ++++- files/bin | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) (limited to 'files') diff --git a/files/.gitconfig b/files/.gitconfig index a883cda..462e97c 100644 --- a/files/.gitconfig +++ b/files/.gitconfig @@ -51,6 +51,8 @@ wc = whatchanged -p --abbrev-commit --pretty=medium undo = reset --soft HEAD~ whoami = config user.email + fugitive = mergetool --tool fugitive + clean-branches = !sh -c 'git branch --merged | grep -v '^*' | fzf -m | xargs -rp git branch -d' [advice] statusHints = false detachedHead = false @@ -93,3 +95,5 @@ clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process +[mergetool "fugitive"] + cmd = vim -c \"Gdiff\" \"$MERGED\" diff --git a/files/.tmux.conf b/files/.tmux.conf index ee9533a..32efa71 100644 --- a/files/.tmux.conf +++ b/files/.tmux.conf @@ -33,7 +33,7 @@ setw -g mouse on #bind \ split-window -h -c '#{pane_current_path}' # toggle last 2 windows -bind C-a last-window +bind-key Tab last-window ## pane movement #bind h select-pane -L diff --git a/files/.tmux/plugins/tpm b/files/.tmux/plugins/tpm index 26d9ace..59f7885 160000 --- a/files/.tmux/plugins/tpm +++ b/files/.tmux/plugins/tpm @@ -1 +1 @@ -Subproject commit 26d9ace1b47f4591b2afdf333442a498311b6ace +Subproject commit 59f78857f656afd462d7bc99b31cc8cc36c1872c diff --git a/files/.vimrc b/files/.vimrc index 28887e6..0449fa7 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -105,8 +105,9 @@ endif set keymap=russian-jcukenwin set spelllang=ru,en set spell +set spellcapcheck= set iminsert=0 -set imsearch=0 +"set imsearch=0 " }}} @@ -169,6 +170,7 @@ set cursorline set ttyfast set mouse=a set shortmess+=Ic +set nrformats-=octal set autoindent set smartindent @@ -591,6 +593,7 @@ let g:ctrlp_user_caching = 0 augroup ft_ledger au! au FileType ledger inoremap e :call ledger#entry() + au FileType ledger noremap x :call ledger#transaction_state_toggle(line('.'), '* ') au FileType ledger noremap = :LedgerAlign au FileType ledger iabbrev alfa Assets:Bank:AlfaBank:Card au FileType ledger iabbrev soyuz Assets:Bank:Soyuz:Savings:Deposit:2019-04-15 diff --git a/files/bin b/files/bin index 2797502..d449097 160000 --- a/files/bin +++ b/files/bin @@ -1 +1 @@ -Subproject commit 279750251f0d6e864d3d80855b7fd3164387e3c6 +Subproject commit d449097301953bbd626433814cab5aa0680e3aca -- cgit v1.2.3