fix: moditfy tmux git, nvim

This commit is contained in:
2021-03-21 10:51:54 +08:00
parent 1c8c8fad3d
commit f6b76fe898
4 changed files with 5 additions and 7 deletions
+1
View File
@@ -1,2 +1,3 @@
.SpaceVim.d/.netrwhist
.SpaceVim.d/init.vim
.DS_Store
+3 -3
View File
@@ -1,8 +1,8 @@
setw -g mode-keys vi
#unbind ^b
unbind ^b
#set -g prefix 'C-a'
#set -g prefix `
#bind-key ` send-prefix
set -g prefix `
bind-key ` send-prefix
bind r source-file ~/.tmux.conf \; display-message "Config reloaded"
# 切分面板
-4
View File
@@ -1,6 +1,5 @@
[user]
name = Laily
email = i@laily.net
[core]
autocrlf = input
quotepath = false
@@ -17,13 +16,10 @@
bg = "!f() { git branch | grep $1; }; f"
delbr = "!f(){ git branch -D `git branch | grep \"\b$1\"`; };f"
cin = commit --amend --no-edit
[push]
default = current
[merge]
tool = vimdiff
[init]
templatedir = $HOME/.dotfile/git/gittemplates
+1
View File
@@ -71,6 +71,7 @@ vim.g.nvim_tree_bindings = {
["<Tab>"] = get_lua_cb("preview"),
["I"] = get_lua_cb("toggle_ignored"),
["H"] = get_lua_cb("toggle_dotfiles"),
["."] = get_lua_cb("toggle_dotfiles"),
["R"] = get_lua_cb("refresh"),
["n"] = get_lua_cb("create"),
["d"] = get_lua_cb("remove"),