Merged coc-settings
This commit is contained in:
parent
35e1aae000
commit
d8be2b09ac
@ -4,6 +4,14 @@
|
|||||||
name = changeme
|
name = changeme
|
||||||
email = changeme
|
email = changeme
|
||||||
signingkey = changeme
|
signingkey = changeme
|
||||||
|
[user "private"]
|
||||||
|
name = Michael Mandl
|
||||||
|
email = mandlm@molez.net
|
||||||
|
signingkey = 4AA25D647AA54CC7
|
||||||
|
[user "swp"]
|
||||||
|
name = Michael Mandl
|
||||||
|
email = mandl@vi-bim.de
|
||||||
|
signingkey = 4E60F44227F611B4
|
||||||
[alias]
|
[alias]
|
||||||
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config user.signingkey \"$(git config user.$1.signingkey)\"; :"
|
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config user.signingkey \"$(git config user.$1.signingkey)\"; :"
|
||||||
[commit]
|
[commit]
|
||||||
@ -17,6 +25,7 @@
|
|||||||
pager = less -S -x1,5
|
pager = less -S -x1,5
|
||||||
whitespace = cr-at-eol
|
whitespace = cr-at-eol
|
||||||
excludesfile = ~/.gitignore
|
excludesfile = ~/.gitignore
|
||||||
|
hookspath = /mnt/d/SWP/devtools/userhooks
|
||||||
[rebase]
|
[rebase]
|
||||||
autostash = true
|
autostash = true
|
||||||
[color "diff"]
|
[color "diff"]
|
||||||
@ -32,6 +41,8 @@
|
|||||||
tool = vimdiff
|
tool = vimdiff
|
||||||
[difftool "vimdiff"]
|
[difftool "vimdiff"]
|
||||||
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
|
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
|
||||||
|
[mergetool "vimdiff"]
|
||||||
|
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
|
||||||
[difftool]
|
[difftool]
|
||||||
prompt = false
|
prompt = false
|
||||||
[gitflow]
|
[gitflow]
|
||||||
@ -50,8 +61,12 @@
|
|||||||
date = relative
|
date = relative
|
||||||
[format]
|
[format]
|
||||||
pretty = format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s
|
pretty = format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s
|
||||||
|
[merge]
|
||||||
|
tool = bc
|
||||||
[mergetool "nvim"]
|
[mergetool "nvim"]
|
||||||
cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\"
|
cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\"
|
||||||
|
[mergetool "bc"]
|
||||||
|
path = /mnt/c/Program Files/Beyond Compare 4/BComp.exe
|
||||||
[rerere]
|
[rerere]
|
||||||
enabled = true
|
enabled = true
|
||||||
[fetch]
|
[fetch]
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
{
|
{
|
||||||
"coc.preferences.formatOnSaveFiletypes": ["cpp", "javascript", "typescript", "typescriptreact", "json", "markdown", "python", "rust", "toml", "yaml"]
|
"coc.preferences.formatOnSaveFiletypes": [
|
||||||
|
"cpp",
|
||||||
|
"javascript",
|
||||||
|
"typescript",
|
||||||
|
"typescriptreact",
|
||||||
|
"json",
|
||||||
|
"markdown",
|
||||||
|
"python",
|
||||||
|
"rust",
|
||||||
|
"toml",
|
||||||
|
"yaml"
|
||||||
|
],
|
||||||
|
"clangd.path": "/home/mandlm/.config/coc/extensions/coc-clangd-data/install/11.0.0/clangd_11.0.0/bin/clangd"
|
||||||
}
|
}
|
||||||
|
@ -15,12 +15,12 @@ bind-key -n C-h run "($is_vim && tmux send-keys C-h) || tmux select-pane -L"
|
|||||||
bind-key -n C-j run "($is_vim && tmux send-keys C-j) || ($is_fzf && tmux send-keys C-j) || tmux select-pane -D"
|
bind-key -n C-j run "($is_vim && tmux send-keys C-j) || ($is_fzf && tmux send-keys C-j) || tmux select-pane -D"
|
||||||
bind-key -n C-k run "($is_vim && tmux send-keys C-k) || ($is_fzf && tmux send-keys C-k) || tmux select-pane -U"
|
bind-key -n C-k run "($is_vim && tmux send-keys C-k) || ($is_fzf && tmux send-keys C-k) || tmux select-pane -U"
|
||||||
bind-key -n C-l run "($is_vim && tmux send-keys C-l) || tmux select-pane -R"
|
bind-key -n C-l run "($is_vim && tmux send-keys C-l) || tmux select-pane -R"
|
||||||
bind-key -n C-\\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||||
bind-key -T copy-mode-vi C-h select-pane -L
|
bind-key -T copy-mode-vi C-h select-pane -L
|
||||||
bind-key -T copy-mode-vi C-j select-pane -D
|
bind-key -T copy-mode-vi C-j select-pane -D
|
||||||
bind-key -T copy-mode-vi C-k select-pane -U
|
bind-key -T copy-mode-vi C-k select-pane -U
|
||||||
bind-key -T copy-mode-vi C-l select-pane -R
|
bind-key -T copy-mode-vi C-l select-pane -R
|
||||||
bind-key -T copy-mode-vi C-\\ select-pane -l
|
bind-key -T copy-mode-vi C-\ select-pane -l
|
||||||
|
|
||||||
# List of plugins
|
# List of plugins
|
||||||
# Install TPM with
|
# Install TPM with
|
||||||
|
@ -118,3 +118,5 @@ export EDITOR='nvim'
|
|||||||
[ -f ~/.dotfiles/fzf/git-completion.zsh ] && source ~/.dotfiles/fzf/git-completion.zsh
|
[ -f ~/.dotfiles/fzf/git-completion.zsh ] && source ~/.dotfiles/fzf/git-completion.zsh
|
||||||
|
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
|
export BROWSER=wsl-open.sh
|
||||||
|
[ -f ~/.dircolors-solarized/dircolors.256dark ] && eval `dircolors ~/.dircolors-solarized/dircolors.256dark`
|
||||||
|
Reference in New Issue
Block a user