added a (still empty) colors file to nvim config

added keymaps to move a window to tmux
This commit is contained in:
quak
2024-12-30 10:53:10 +01:00
parent 7a22972167
commit 6b39a6a7e1
4 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1 @@

View File

@@ -1,3 +1,3 @@
require("zegonix.keybindings") require("zegonix.keybindings")
require("zegonix.settings") require("zegonix.settings")
require("zegonix.colors")

View File

@@ -68,3 +68,4 @@ vim.opt.shortmess:append("c") -- don't give |ins-completion-menu| messages
vim.opt.iskeyword:append("-") -- hyphenated words recognized by searches vim.opt.iskeyword:append("-") -- hyphenated words recognized by searches
vim.opt.formatoptions:remove({ "c", "r", "o" }) -- don't insert the current comment leader automatically for auto-wrapping comments using 'textwidth', hitting <Enter> in insert mode, or hitting 'o' or 'O' in normal mode. vim.opt.formatoptions:remove({ "c", "r", "o" }) -- don't insert the current comment leader automatically for auto-wrapping comments using 'textwidth', hitting <Enter> in insert mode, or hitting 'o' or 'O' in normal mode.
vim.opt.runtimepath:remove("/usr/share/vim/vimfiles") -- separate vim plugins from neovim in case vim still in use vim.opt.runtimepath:remove("/usr/share/vim/vimfiles") -- separate vim plugins from neovim in case vim still in use

View File

@@ -12,9 +12,13 @@ set-option -g prefix C-Space
# general keybindings # general keybindings
bind r source-file ~/.config/tmux/tmux.conf \; display-message "config reloaded" bind r source-file ~/.config/tmux/tmux.conf \; display-message "config reloaded"
# window navigation
bind -n M-S-Left previous-window bind -n M-S-Left previous-window
bind -n M-S-Right next-window bind -n M-S-Right next-window
bind-key -r > swap-window -t :+1 \; select-window -t +1
bind-key -r < swap-window -t :-1 \; select-window -t -1
# pane navigation
bind -n M-Left select-pane -L bind -n M-Left select-pane -L
bind -n M-Down select-pane -D bind -n M-Down select-pane -D
bind -n M-Up select-pane -U bind -n M-Up select-pane -U