Small changes from here and there
This commit is contained in:
@@ -51,7 +51,7 @@ default-root-container-orientation = 'vertical' # opts: horizontal vertical auto
|
|||||||
cmd-7 = 'workspace 7'
|
cmd-7 = 'workspace 7'
|
||||||
cmd-8 = 'workspace 8'
|
cmd-8 = 'workspace 8'
|
||||||
cmd-9 = 'workspace 9'
|
cmd-9 = 'workspace 9'
|
||||||
cmd-0 = 'workspace 0'
|
cmd-0 = 'workspace 10'
|
||||||
cmd-shift-1 = 'move-node-to-workspace 1'
|
cmd-shift-1 = 'move-node-to-workspace 1'
|
||||||
cmd-shift-2 = 'move-node-to-workspace 2'
|
cmd-shift-2 = 'move-node-to-workspace 2'
|
||||||
cmd-shift-3 = 'move-node-to-workspace 3'
|
cmd-shift-3 = 'move-node-to-workspace 3'
|
||||||
@@ -61,7 +61,7 @@ default-root-container-orientation = 'vertical' # opts: horizontal vertical auto
|
|||||||
cmd-shift-7 = 'move-node-to-workspace 7'
|
cmd-shift-7 = 'move-node-to-workspace 7'
|
||||||
cmd-shift-8 = 'move-node-to-workspace 8'
|
cmd-shift-8 = 'move-node-to-workspace 8'
|
||||||
cmd-shift-9 = 'move-node-to-workspace 9'
|
cmd-shift-9 = 'move-node-to-workspace 9'
|
||||||
cmd-shift-0 = 'move-node-to-workspace 0'
|
cmd-shift-0 = 'move-node-to-workspace 10'
|
||||||
|
|
||||||
cmd-shift-semicolon = 'mode service'
|
cmd-shift-semicolon = 'mode service'
|
||||||
|
|
||||||
|
|||||||
@@ -14,12 +14,14 @@ return {
|
|||||||
},
|
},
|
||||||
sync_install = false, -- install `ensure_installed` parsers synchronously
|
sync_install = false, -- install `ensure_installed` parsers synchronously
|
||||||
auto_install = true, -- install missing on BufEnter, requires tree-sitter CLI
|
auto_install = true, -- install missing on BufEnter, requires tree-sitter CLI
|
||||||
ignore_install = {},
|
ignore_install = {
|
||||||
|
"csv",
|
||||||
|
},
|
||||||
-- indent = { enable = true }, -- TODO: do i want this?
|
-- indent = { enable = true }, -- TODO: do i want this?
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true, -- `false` will disable the whole extension
|
enable = true, -- `false` will disable the whole extension
|
||||||
disable = function(lang, buf)
|
disable = function(lang, buf)
|
||||||
for i, v in ipairs({ "html", }) do
|
for i, v in ipairs({ "html", "csv", }) do
|
||||||
if lang == v then
|
if lang == v then
|
||||||
print("treesitter disabled for this language")
|
print("treesitter disabled for this language")
|
||||||
return true
|
return true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"markdown:toggle-preview": [
|
"markdown:toggle-preview": [
|
||||||
{ "modifiers": [ "Ctrl", "Shift" ], "key": "R" }
|
{ "modifiers": [ "Ctrl", "Shift" ], "key": "E" }
|
||||||
],
|
],
|
||||||
"switcher:open": [
|
"switcher:open": [
|
||||||
{ "modifiers": [ "Ctrl" ], "key": "F" }
|
{ "modifiers": [ "Ctrl" ], "key": "F" }
|
||||||
@@ -11,6 +11,9 @@
|
|||||||
"app:toggle-right-sidebar": [
|
"app:toggle-right-sidebar": [
|
||||||
{ "modifiers": [ "Ctrl", "Shift" ], "key": "F" }
|
{ "modifiers": [ "Ctrl", "Shift" ], "key": "F" }
|
||||||
],
|
],
|
||||||
|
"editor:toggle-readable-line-length": [
|
||||||
|
{ "modifiers": [ "Ctrl", "Shift" ], "key": "R" }
|
||||||
|
],
|
||||||
"file-explorer:reveal-active-file": [
|
"file-explorer:reveal-active-file": [
|
||||||
{ "modifiers": [ "Ctrl", "Shift" ], "key": "N" }
|
{ "modifiers": [ "Ctrl", "Shift" ], "key": "N" }
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ unbind-key f; unbind-key C-f; unbind-key s; unbind-key C-s
|
|||||||
unbind-key c; unbind-key n; unbind-key p
|
unbind-key c; unbind-key n; unbind-key p
|
||||||
unbind-key q; unbind-key w
|
unbind-key q; unbind-key w
|
||||||
unbind-key C-o; unbind-key C-n; unbind-key C-p; unbind-key C-l; unbind-key C-h
|
unbind-key C-o; unbind-key C-n; unbind-key C-p; unbind-key C-l; unbind-key C-h
|
||||||
|
unbind-key 0
|
||||||
|
|
||||||
# vim-like movement stuff
|
# vim-like movement stuff
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
@@ -41,4 +42,5 @@ bind-key -r C-l switch-client -l
|
|||||||
bind-key -r C-o last-window
|
bind-key -r C-o last-window
|
||||||
bind-key -r C-n next-window
|
bind-key -r C-n next-window
|
||||||
bind-key -r C-p previous-window
|
bind-key -r C-p previous-window
|
||||||
|
bind-key 0 select-window -t 10
|
||||||
|
|
||||||
|
|||||||
@@ -36,8 +36,6 @@ theme_update_neovim() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
##########################################################################################
|
|
||||||
|
|
||||||
[[ ! -z $1 ]] && raw_target="$1" ||
|
[[ ! -z $1 ]] && raw_target="$1" ||
|
||||||
raw_target=$(
|
raw_target=$(
|
||||||
find $DIR_THEME_SETTINGS -mindepth 1 -maxdepth 1 -type d -exec basename -- {} \; |
|
find $DIR_THEME_SETTINGS -mindepth 1 -maxdepth 1 -type d -exec basename -- {} \; |
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ sym_link $DIR_THEME_SETTINGS/$default_theme $DIR_THEME_SETTINGS/.current-theme
|
|||||||
sym_link $DIR_THEME_SETTINGS/.current-theme/kitty.conf $XDG_CONFIG_HOME/kitty/theme.conf
|
sym_link $DIR_THEME_SETTINGS/.current-theme/kitty.conf $XDG_CONFIG_HOME/kitty/theme.conf
|
||||||
sym_link $DIR_THEME_SETTINGS/.current-theme/tmux.conf $XDG_CONFIG_HOME/tmux/theme.conf
|
sym_link $DIR_THEME_SETTINGS/.current-theme/tmux.conf $XDG_CONFIG_HOME/tmux/theme.conf
|
||||||
sym_link $DIR_THEME_SETTINGS/.current-theme/neovim.lua $XDG_CONFIG_HOME/nvim/current-theme
|
sym_link $DIR_THEME_SETTINGS/.current-theme/neovim.lua $XDG_CONFIG_HOME/nvim/current-theme
|
||||||
# TODO: finish theme work, set needed links per theme-set script
|
# TODO: set additional links per theme-set script
|
||||||
|
|
||||||
echo "setting the default theme: $default_theme"
|
echo "setting the default theme: $default_theme"
|
||||||
$DIR_SCRIPTS/theme-set $default_theme
|
$DIR_SCRIPTS/theme-set $default_theme
|
||||||
|
|||||||
Reference in New Issue
Block a user