aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/nvim/lua/plugins.lua12
-rw-r--r--config/sc-im/scimrc42
-rw-r--r--config/tmux/tmux.conf53
3 files changed, 56 insertions, 51 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index a65802e..71498e9 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -199,9 +199,21 @@ return require('packer').startup(function()
use {
'chipsenkbeil/distant.nvim',
config = function()
+ -- local on_attach = function(client, bufnr)
+ -- local opts = { noremap = true, silent = true }
+ -- local map = function(...) vim.api.nvim_buf_set_keymap(bufnr, ...) end
+ -- map('n', '<leader>[', '<cmd>lua vim.lsp.buf.declaration()<CR>', opts)
+ -- map('n', '<leader>]', '<cmd>lua vim.lsp.buf.definition()<CR>', opts)
+ -- map('n', 'K', '<cmd>lua vim.lsp.buf.hover()<CR>', opts)
+ -- map('n', '[d', '<cmd>lua vim.diagnostic.goto_prev()<CR>', opts)
+ -- map('n', ']d', '<cmd>lua vim.diagnostic.goto_next()<CR>', opts)
+ -- map('n', '<leader>q', '<cmd>Telescope lsp_workspace_diagnostics<CR>', opts)
+ -- map('n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
+ -- end
require('distant').setup {
['*'] = require('distant.settings').chip_default()
}
+ -- TODO: extend with job_distant_config.lua
end,
run = ':DistantInstall'
}
diff --git a/config/sc-im/scimrc b/config/sc-im/scimrc
new file mode 100644
index 0000000..12fd258
--- /dev/null
+++ b/config/sc-im/scimrc
@@ -0,0 +1,42 @@
+DEFINE_COLOR "red" 251 73 52
+DEFINE_COLOR "orange" 254 128 25
+DEFINE_COLOR "green" 184 187 38
+DEFINE_COLOR "yellow" 250 189 47
+DEFINE_COLOR "cyan" 142 192 124
+
+DEFINE_COLOR "white" 235 219 178
+DEFINE_COLOR "white2" 213 196 161
+DEFINE_COLOR "white3" 189 174 147
+DEFINE_COLOR "white4" 168 153 132
+
+DEFINE_COLOR "black" 40 40 40
+DEFINE_COLOR "black1" 60 56 54
+DEFINE_COLOR "black2" 80 73 69
+DEFINE_COLOR "black3" 102 92 84
+DEFINE_COLOR "black4" 124 111 100
+
+color "type=DEFAULT fg=white bg=black"
+color "type=HEADINGS fg=white bg=black1"
+color "type=HEADINGS_ODD fg=white bg=black2"
+color "type=MODE fg=black3 bg=black"
+
+color "type=CELL_SELECTION bold=1 fg=black bg=white2"
+color "type=CELL_SELECTION_SC fg=black bg=white"
+
+color "type=CELL_ID fg=white bg=black"
+color "type=CELL_FORMAT italic=1 fg=white4 bg=black"
+color "type=CELL_CONTENT fg=white3 bg=black"
+
+color "type=NUMB bold=1 fg=green bg=black"
+color "type=CELL_NEGATIVE bold=1 fg=cyan bg=black"
+color "type=STRG bold=0 fg=white bg=black"
+color "type=DATEF bold=1 italic=1 fg=yellow bg=black"
+color "type=EXPRESSION bold=1 fg=orange bg=black"
+
+color "type=WELCOME fg=white bg=black"
+color "type=INPUT fg=white bg=black"
+color "type=INFO_MSG italic=1 bold=1 fg=orange bg=black"
+color "type=ERROR_MSG bold=1 fg=red bg=black"
+color "type=HELP_HIGHLIGHT bold=1 fg=white bg=black1"
+
+set input_bar_bottom
diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf
index 418d51e..c514718 100644
--- a/config/tmux/tmux.conf
+++ b/config/tmux/tmux.conf
@@ -7,6 +7,7 @@ set -g mouse on
setw -g mode-keys vi
set -sg escape-time 0 # otherwise <ESC> in vim has a small delay
+set-option -g history-limit 5000
bind '"' split-window -c "#{pane_current_path}"
bind '%' split-window -c "#{pane_current_path}" -h
@@ -17,56 +18,6 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'egel/tmux-gruvbox'
set -g @tmux-gruvbox 'dark'
-set -g @plugin 'tomhey/tmux-remote-sessions'
+# set -g @plugin 'tomhey/tmux-remote-sessions'
run "$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm"
-
-# from: https://github.com/egel/tmux-gruvbox
-## COLORSCHEME: gruvbox dark (medium)
-# set-option -g status "on"
-#
-# # default statusbar color
-# set-option -g status-style bg=colour237,fg=colour223 # bg=bg1, fg=fg1
-#
-# # default window title colors
-# set-window-option -g window-status-style bg=colour214,fg=colour237 # bg=yellow, fg=bg1
-#
-# # default window with an activity alert
-# set-window-option -g window-status-activity-style bg=colour237,fg=colour248 # bg=bg1, fg=fg3
-#
-# # active window title colors
-# set-window-option -g window-status-current-style bg=red,fg=colour237 # fg=bg1
-#
-# # pane border
-# set-option -g pane-active-border-style fg=colour250 #fg2
-# set-option -g pane-border-style fg=colour237 #bg1
-#
-# # message infos
-# set-option -g message-style bg=colour239,fg=colour223 # bg=bg2, fg=fg1
-#
-# # writing commands inactive
-# set-option -g message-command-style bg=colour239,fg=colour223 # bg=fg3, fg=bg1
-#
-# # pane number display
-# set-option -g display-panes-active-colour colour250 #fg2
-# set-option -g display-panes-colour colour237 #bg1
-#
-# # clock
-# set-window-option -g clock-mode-colour colour109 #blue
-#
-# # bell
-# set-window-option -g window-status-bell-style bg=colour167,fg=colour235 # bg=red, fg=bg
-#
-# ## Theme settings mixed with colors (unfortunately, but there is no cleaner way)
-# set-option -g status-justify "left"
-# set-option -g status-left-style none
-# set-option -g status-left-length "80"
-# set-option -g status-right-style none
-# set-option -g status-right-length "80"
-# set-window-option -g window-status-separator ""
-#
-# set-option -g status-left "#[bg=colour241,fg=colour248] #S #[bg=colour237,fg=colour241,nobold,noitalics,nounderscore]"
-# set-option -g status-right "#[bg=colour237,fg=colour239 nobold, nounderscore, noitalics]#[bg=colour239,fg=colour246] %Y-%m-%d  %H:%M #[bg=colour239,fg=colour248,nobold,noitalics,nounderscore]#[bg=colour248,fg=colour237] #h "
-#
-# set-window-option -g window-status-current-format "#[bg=colour214,fg=colour237,nobold,noitalics,nounderscore]#[bg=colour214,fg=colour239] #I #[bg=colour214,fg=colour239,bold] #W#{?window_zoomed_flag,*Z,} #[bg=colour237,fg=colour214,nobold,noitalics,nounderscore]"
-# set-window-option -g window-status-format "#[bg=colour239,fg=colour237,noitalics]#[bg=colour239,fg=colour223] #I #[bg=colour239,fg=colour223] #W #[bg=colour237,fg=colour239,noitalics]"