Compare commits
2 commits
4f0bfd4fdd
...
a78805ebcc
| Author | SHA1 | Date | |
|---|---|---|---|
| a78805ebcc | |||
| 79e82f8c6a |
3 changed files with 41 additions and 11 deletions
|
|
@ -8,6 +8,7 @@
|
|||
syntax-theme = Solarized (dark)
|
||||
[diff]
|
||||
colorMoved = default
|
||||
tool = vimdiff
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
[color]
|
||||
|
|
@ -41,6 +42,9 @@
|
|||
[merge]
|
||||
conflictStyle = zdiff3
|
||||
ff = true
|
||||
tool = vimdiff
|
||||
[mergetool "vimdiff"]
|
||||
cmd = nvim -d $LOCAL $BASE $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
|
||||
[push]
|
||||
default = simple
|
||||
[alias]
|
||||
|
|
|
|||
26
home/dot_config/nvim/lua/plugins/conflict-markers.lua
Normal file
26
home/dot_config/nvim/lua/plugins/conflict-markers.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
return {
|
||||
"akinsho/git-conflict.nvim",
|
||||
lazy = false,
|
||||
opts = {
|
||||
default_mappings = {
|
||||
ours = "<leader>ho",
|
||||
theirs = "<leader>ht",
|
||||
none = "<leader>h0",
|
||||
both = "<leader>hb",
|
||||
next = "]x",
|
||||
prev = "[x",
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>gx",
|
||||
"<cmd>GitConflictListQf<cr>",
|
||||
desc = "List Conflicts",
|
||||
},
|
||||
{
|
||||
"<leader>gr",
|
||||
"<cmd>GitConflictRefresh<cr>",
|
||||
desc = "Refresh Conflicts",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -42,9 +42,9 @@ set -g allow-rename off
|
|||
#bind C-y run "tmux save-buffer - | xclip -i"
|
||||
|
||||
#move wayland clipbord into tmux buffer
|
||||
bind C-p run "tmux set-buffer \"$(wm_paste)\""
|
||||
bind C-p run "tmux set-buffer \"$(wl-paste)\""
|
||||
# move tmux copy buffer into wayland clipboard
|
||||
bind C-y run "tmux save-buffer - | wm_copy"
|
||||
bind C-y run "tmux save-buffer - | wl-copy"
|
||||
|
||||
|
||||
# loud or quiet?
|
||||
|
|
@ -54,13 +54,13 @@ set-option -g visual-silence off
|
|||
set-window-option -g monitor-activity off
|
||||
set-option -g bell-action none
|
||||
|
||||
#### COLOUR (Solarized light)
|
||||
#### COLOUR (Solarized dark)
|
||||
|
||||
# default statusbar colors
|
||||
set-option -g status-style fg=yellow,bg=white #yellow and base2
|
||||
set-option -g status-style fg=yellow,bg=black #yellow and base02
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-style fg=brightyellow,bg=default #base0 and default
|
||||
set-window-option -g window-status-style fg=brightblue,bg=default #base0 and default
|
||||
#set-window-option -g window-status-style dim
|
||||
|
||||
# active window title colors
|
||||
|
|
@ -68,21 +68,21 @@ set-window-option -g window-status-current-style fg=brightred,bg=default #orange
|
|||
#set-window-option -g window-status-current-style bright
|
||||
|
||||
# pane border
|
||||
set-option -g pane-border-style fg=white #base2
|
||||
set-option -g pane-active-border-style fg=brightcyan #base1
|
||||
set-option -g pane-border-style fg=black #base02
|
||||
set-option -g pane-active-border-style fg=brightgreen #base01
|
||||
|
||||
# message text
|
||||
set-option -g message-style fg=brightred,bg=white #orange and base2
|
||||
set-option -g message-style fg=brightred,bg=black #orange and base01
|
||||
|
||||
# pane number display
|
||||
set-option -g display-panes-active-colour blue #blue
|
||||
set-option -g display-panes-colour brightred #orange
|
||||
set-option -g display-panes-active-colour brightred #orange
|
||||
set-option -g display-panes-colour blue #blue
|
||||
|
||||
# clock
|
||||
set-window-option -g clock-mode-colour green #green
|
||||
|
||||
# bell
|
||||
set-window-option -g window-status-bell-style fg=white,bg=red #base2, red
|
||||
set-window-option -g window-status-bell-style fg=black,bg=red #base02, red
|
||||
|
||||
# Set hyperlink support
|
||||
set -ga terminal-features "*:hyperlinks"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue